Skip to content
GET /v1/search

Search compounds by name

Try it live

10 free calls per day — no sign-up, no API key. Goes through the oanor gateway.

Custom headers (optional)
api.oanor.com/chembl-api

It works. Grab an API key and use it in your project.

Get an API key

Code snippets

curl "https://api.oanor.com/chembl-api/v1/search" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/chembl-api/v1/search", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/chembl-api/v1/search");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/chembl-api/v1/search",
    headers={"x-oanor-key": "oanor_test_..."}
)

Example response

A real response from this endpoint, captured by the latest health check.

{
    "data": {
        "count": 20,
        "query": "aspirin",
        "results": [
            {
                "id": "CHEMBL25",
                "mw": "180.16",
                "name": "ASPIRIN",
                "type": "Small molecule",
                "formula": "C9H8O4",
                "max_phase": "4.0"
            },
            {
                "id": "CHEMBL5314595",
                "mw": "279.34",
                "name": "ASPIRIN TRELAMINE",
                "type": "Small molecule",
                "formula": "C15H21NO4",
                "max_phase": "2.0"
            },
            {
                "id": "CHEMBL5282669",
                "mw": "178.19",
                "name": null,
                "type": null,
                "formula": "C10H10O3",
                "max_phase": null
            },
            {
                "id": "CHEMBL1697753",
                "mw": "326.35",
                "name": "ASPIRIN DL-LYSINE",
                "type": "Small molecule",
                "formula": "C15H22N2O6",
                "max_phase": "3.0"
            },
            {
                "id": "CHEMBL2260549",
                "mw": "326.35",
                "name": "ASPIRIN EUGENOL ESTER",
                "type": "Small molecule",
                "formula": "C19H18O5",
                "max_phase": null
            },
            {
                "id": "CHEMBL5314596",
                "mw": "315.80",
                "name": "ASPIRIN TRELAMINE HYDROCHLORIDE",
                "type": "Small molecule",
                "formula": "C15H22ClNO4",
                "max_phase": "2.0"
            },
            {
                "id": "CHEMBL2105097",
                "mw": "286.28",
                "name": "GUACETISAL",
                "type": "Small molecule",
                "formula": "C16H14O5",
                "max_phase": "2.0"
            },
            {
                "id": "CHEMBL2296002",
                "mw": "326.35",
                "name": null,
                "type": "Small molecule",
                "formula": "C15H22N2O6",
                "max_phase": null
            },
            {
                "id": "CHEMBL458500",
                "mw": "308.29",
                "name": null,
                "type": "Small molecule",
                "formula": "C15H16O7",
                "max_phase": null
            },
            {
                "id": "CHEMBL4168118",
                "mw": "292.31",
                "name": null,
                "type": "Small molecule",
                "formula": "C15H18NO5",
                "max_phase": null
            },
            {
                "id": "CHEMBL457234",
                "mw": "308.29",
                "name": null,
                "type": "Small molecule",
                "formula": "C15H16O7",
                "max_phase": null
            },
            {
                "id": "CHEMBL457443",
                "mw": "428.39",
                "name": null,
                "type
…