Vai al contenuto
GET /v1/mechanism

A drug's mechanisms of action

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/chembl-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

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

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "count": 1,
        "molecule": "CHEMBL25",
        "mechanisms": [
            {
                "comment": null,
                "max_phase": 4,
                "action_type": "INHIBITOR",
                "target_chembl_id": "CHEMBL2094253",
                "direct_interaction": 1,
                "mechanism_of_action": "Cyclooxygenase inhibitor"
            }
        ]
    },
    "meta": {
        "timestamp": "2026-06-01T08:14:04.397Z",
        "request_id": "c5b06413-83e9-4533-8a32-62b19359048f"
    },
    "status": "ok",
    "message": "Mechanisms retrieved",
    "success": true
}