Naar de inhoud
GET /v1/synonyms

Names & synonyms for a compound

Probeer het live

10 gratis calls per dag — geen registratie, geen API-key. Loopt via de oanor-gateway.

Aangepaste headers (optioneel)
api.oanor.com/chemistry-api

Het werkt. Haal een API-key op en gebruik hem in je project.

Verkrijg een API-sleutel

Codefragmenten

curl "https://api.oanor.com/chemistry-api/v1/synonyms" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/chemistry-api/v1/synonyms", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/chemistry-api/v1/synonyms");
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/chemistry-api/v1/synonyms",
    headers={"x-oanor-key": "oanor_test_..."}
)

Voorbeeldrespons

Een echte respons van dit endpoint, vastgelegd bij de laatste health check.

{
    "data": {
        "cid": 2244,
        "count": 50,
        "input": {
            "name": "aspirin"
        },
        "total": 697,
        "synonyms": [
            "aspirin",
            "ACETYLSALICYLIC ACID",
            "50-78-2",
            "2-Acetoxybenzoic acid",
            "2-(Acetyloxy)benzoic acid",
            "Acylpyrin",
            "O-Acetylsalicylic acid",
            "o-Acetoxybenzoic acid",
            "Acenterine",
            "Acetophen",
            "Ecotrin",
            "Salicylic acid acetate",
            "Aceticyl",
            "Acetosalin",
            "Polopiryna",
            "Aspirdrops",
            "Pharmacin",
            "Premaspin",
            "Salcetogen",
            "Acetonyl",
            "Benaspir",
            "Empirin",
            "Endydol",
            "Measurin",
            "Rhodine",
            "Saletin",
            "Temperal",
            "Adiro",
            "Ecolen",
            "Acetosalic acid",
            "Rheumintabletten",
            "Solprin acid",
            "o-Carboxyphenyl acetate",
            "Acidum acetylsalicylicum",
            "2-acetyloxybenzoic acid",
            "Enterosarine",
            "Acetisal",
            "Acetylsal",
            "Aspirine",
            "Bialpirina",
            "Bialpirinia",
            "Entericin",
            "Enterophen",
            "Globentyl",
            "Salacetin",
            "Solpyron",
            "Acesal",
            "Acisal",
            "Asagran",
            "Asteric"
        ]
    },
    "meta": {
        "timestamp": "2026-05-31T07:34:16.250Z",
        "request_id": "7e23b99c-1fb7-43dc-abeb-d8a34d2c7be8"
    },
    "status": "ok",
    "message": "Synonyms retrieved",
    "success": true
}