Api Documentation

Substance View

/substances/view/{identifier}

This Api allows you to retrieve information on a particular substance. The endpoint is /substances/view/{identifier} where
{identifier} is either the substance ID, substance name, substance CAS, substance Inchi or substance formula. The api will
return the first substance that matches the provided identifier. If you are unsure of the identifier you can use the search
API.
You can specify the type of return by either appending /json for json, /xml for xml, or /jsonld for jsonld. You can also
append ?format=json, ?format=jsonld, and ?format=xml to acheive the same result. Finally accept headers are read and will
return json, jsonld, or xml depending on the accept headers. /json takes precendence over accept headers and ?format=.

Substance Search

/substances/search/{searchTerm}

This API allows you to search the substances in this SRD at /substances/search/{searchTerm} where {searchTerm} is either a CAS
number, inchi key or string, substance name, substance formula, or substance id. An array of substances that match the searchTerm
will be returned. Included will be all relevent information on this substance as well as a url to get a more direct page on the
substance.
You can specify the type of return by either appending /json for json, /xml for xml, or /jsonld for jsonld. You can also
append ?format=json, ?format=jsonld, and ?format=xml to acheive the same result. Finally accept headers are read and will
return json, jsonld, or xml depending on the accept headers. /json takes precendence over accept headers and ?format=.

System View

/systems/view/{identifier}

This Api allows you to retrieve information on a particular system. The endpoint is /systems/view/{identifier} where
{identifier} is either a system ID, substance name, substance CAS, substance Inchi or substance formula. The api will
return the first system that matches the provided identifier. If you are unsure of the identifier you can use the search
API.
You can specify the type of return by either appending /json for json, /xml for xml, or /jsonld for jsonld. You can also
append ?format=json, ?format=jsonld, and ?format=xml to acheive the same result. Finally accept headers are read and will
return json, jsonld, or xml depending on the accept headers. /json takes precendence over accept headers and ?format=.

System Search

/systems/search/{searchTerm}


This API allows you to search the systems in this SRD at /system/search/{searchTerm} where {searchTerm} is either a CAS
number, inchi key or string, substance name, substance formula, or system id. An array of systems that contain substances that
match the searchTerm will be returned. Included will be all relevent information on this substance as well as a url to get a
more direct page on the substance.
You can specify the type of return by either appending /json for json, /xml for xml, or /jsonld for jsonld. You can also
append ?format=json, ?format=jsonld, and ?format=xml to acheive the same result. Finally accept headers are read and will
return json, jsonld, or xml depending on the accept headers. /json takes precendence over accept headers and ?format=.