records-batch-post

post

records-batch-post

Call this POST endpoint with an array of up to 100 Record IDs as integers. The Record ID might have been from one of the /results endpoints. You must supply fields as a JSON-formatted array of strings, representing the information you want to return. The available fields are: SMILES, Formula, InChI, InChIKey, StdInChI, StdInChIKey, AverageMass, MolecularWeight, MonoisotopicMass, NominalMass, CommonName, ReferenceCount, DataSourceCount, PubMedCount, RSCCount, Mol2D, Mol3D. If successful, returns a JSON array of results from the query, with the requested fields. If not successful, returns an HTTP status other than 200.

Resource URL

https://api.rsc.org/compounds/v1 /records/batch

Header Parameters


Name Values Description
Content-Type

apikey
(required)

Your personal key

Body Parameters


Name Values Description
body
(required)

Request Body

The Ids of the records

HTTP Basic

OAuth 2.0

API Key

Reset

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Response Error Details

  • HTTP Code
    Error Code
    Description
  • 400
    400

    Bad Request. Check the request you sent and try again.

  • 401
    401

    Unauthorized. Check you have supplied the correct API key and that you have sent it as an HTTP Header called 'apikey'.

  • 404
    404

    Not Found. The requested endpoint URL is not recognized. Change your request and try again.

  • 405
    405

    Method Not Allowed. The verb is incorrect for the endpoint. Change your request and try again.

  • 413
    413

    Payload Too Large. The request you sent was too big to handle. Change your request and try again.

  • 429
    429

    Too Many Requests. Send fewer requests, or use rate-limiting to slow them down, then try again.

  • 500
    500

    Internal Server Error. Wait and try again.

  • 503
    503

    Service Unavailable. Wait and try again.

Resource Summary

Security

Category

records

Working...