/v1/chemcomp
A chemical component / ligand
Provalo dal vivo
10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.
Funziona. Prendi una chiave API e usala nel tuo progetto.
Ottieni una chiave APIFrammenti di codice
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_..."}
)
Risposta di esempio
Una risposta reale di questo endpoint, acquisita dall'ultimo 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
}