Zum Inhalt springen
GET /v1/mechanism

A drug's mechanisms of action

Live testen

10 freie Calls pro Tag — keine Anmeldung, kein API-Key. Geht durchs oanor-Gateway.

Eigene Header (optional)
api.oanor.com/chembl-api

Funktioniert. Hol dir einen API-Key und nutze sie in deinem Projekt.

API-Key holen

Code-Snippets

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_..."}
)

Beispiel-Response

Echte Antwort dieses Endpoints, erfasst beim letzten 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
}