tools-convert-post

post

tools-convert-post

Submit an identifier (SMILES, InChI, InChIKey or Mol) as a string called 'input' via POST and return an identifier in another format (SMILES, InChI, InChIKey or Mol). Specify the input format as a string called 'inputFormat', and the output as a string called 'outputFormat'. Allowed conversions: from InChI to InChI Key, from InChI to Mol file, from InChI to SMILES, from InChIKey to InChI, from InChI Key to Mol file, from Mol file to InChI, from Mol file to InChI Key, from SMILES to InChI. If successful, returns a string representing the compound in the requested output format. If not successful, returns an HTTP status other than 200.

Resource URL

https://api.rsc.org/compounds/v1 /tools/convert

Header Parameters


Name Values Description
Content-Type

apikey
(required)

Your personal key

Body Parameters


Name Values Description
body
(required)

Request Body

Payload

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

tools

Working...