/v1/drug
A drug & its mechanisms of action
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/opentargets-api/v1/drug" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/opentargets-api/v1/drug", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/opentargets-api/v1/drug");
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/opentargets-api/v1/drug",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"drug": {
"id": "CHEMBL1201583",
"name": "BEVACIZUMAB",
"type": "Antibody",
"synonyms": [
"12-IGG1",
"AVA-1",
"Abp-215",
"Alymsys",
"Avzivi",
"BAT-1706",
"BEVZ-92",
"BEVZ92",
"BI 695502",
"BI695502"
],
"description": "Antibody drug with a maximum clinical stage of Approval (across all indications), with 20 approved and 146 investigational indications.",
"trade_names": [
"Abevmy",
"Alymsys",
"Avastin",
"Avzivi",
"Aybintio",
"Equidacent",
"Lextemy",
"Mvasi",
"Onbevzi",
"Oyavas"
],
"indication_count": 166,
"max_clinical_stage": "APPROVAL",
"mechanisms_of_action": [
{
"target": "Vascular endothelial growth factor A, long form",
"mechanism": "Vascular endothelial growth factor A inhibitor",
"action_type": "INHIBITOR"
}
]
}
},
"meta": {
"timestamp": "2026-06-01T08:13:36.398Z",
"request_id": "3e673637-cd2f-4201-a841-6a917e469e9e"
},
"status": "ok",
"message": "Drug retrieved",
"success": true
}