Ir al contenido
GET /v1/ontology

One ontology's metadata

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/ontology-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

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

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "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
}