Naar de inhoud
GET /v1/chemcomp

A chemical component / ligand

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "chemcomp": {
            "id": "HEM",
            "name": "PROTOPORPHYRIN IX CONTAINING FE",
            "type": "non-polymer",
            "smiles": null,
            "formula": "C34 H32 Fe N4 O4",
            "inchi_key": null,
            "atom_count": 75,
            "bond_count": 82,
            "formula_weight": 616.487,
            "mon_nstd_parent": null
        }
    },
    "meta": {
        "timestamp": "2026-06-01T08:14:10.531Z",
        "request_id": "9eb2ae14-1a8a-4899-8009-8b638563f7f7"
    },
    "status": "ok",
    "message": "Chemical component retrieved",
    "success": true
}