Naar de inhoud
GET /v1/ontology

One ontology's metadata

Probeer het live

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

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

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

Verkrijg een API-sleutel

Codefragmenten

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

Voorbeeldrespons

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

{
    "data": {
        "ontology": {
            "id": "mondo",
            "terms": 58940,
            "title": "Mondo Disease Ontology",
            "status": "LOADED",
            "updated": "2026-05-22T00:09:23.011074083",
            "version": "2026-05-05",
            "homepage": "https://monarch-initiative.github.io/mondo",
            "properties": 493,
            "description": "A semi-automatically constructed ontology that merges in multiple disease resources to yield a coherent merged ontology.",
            "individuals": 18,
            "mailing_list": "https://groups.google.com/group/mondo-users"
        }
    },
    "meta": {
        "timestamp": "2026-06-01T08:14:00.676Z",
        "request_id": "66530b43-7bfa-4870-a01a-9e23346d72b2"
    },
    "status": "ok",
    "message": "Ontology retrieved",
    "success": true
}