Naar de inhoud
GET /v1/term

A term detail

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "term": {
            "iri": "http://purl.obolibrary.org/obo/DOID_9351",
            "url": "https://www.ebi.ac.uk/ols4/ontologies/doid/classes/http%253A%252F%252Fpurl.obolibrary.org%252Fobo%252FDOID_9351",
            "label": "diabetes mellitus",
            "obo_id": "DOID:9351",
            "ontology": "doid",
            "synonyms": [
                "diabetes"
            ],
            "description": "A glucose metabolism disease that is characterized by chronic hyperglycaemia with disturbances of carbohydrate, fat and protein metabolism resulting from defects in insulin secretion, insulin action, or both.",
            "is_obsolete": false
        }
    },
    "meta": {
        "timestamp": "2026-06-01T16:23:33.417Z",
        "request_id": "27d24b6d-1d56-45f5-9cd2-9ddaee78a08d"
    },
    "status": "ok",
    "message": "Term retrieved",
    "success": true
}