Aller au contenu
GET /v1/search

Search terms across ontologies

Essayez-le en direct

10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.

En-têtes personnalisés (facultatif)
api.oanor.com/ontology-api

Ça marche. Récupérez une clé API et utilisez-la dans votre projet.

Obtenez une clé API

Extraits de code

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

Exemple de réponse

Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.

{
    "data": {
        "count": 20,
        "query": "diabetes",
        "total": 257,
        "results": [
            {
                "iri": "http://purl.obolibrary.org/obo/MONDO_0005015",
                "type": "class",
                "label": "diabetes mellitus",
                "obo_id": "MONDO:0005015",
                "ontology": "mondo",
                "definition": "A metabolic disorder characterized by abnormally high blood sugar levels due to diminished production of insulin or insulin resistance/desensitization."
            },
            {
                "iri": "http://purl.obolibrary.org/obo/MONDO_0004782",
                "type": "class",
                "label": "diabetes insipidus",
                "obo_id": "MONDO:0004782",
                "ontology": "mondo",
                "definition": "A disorder characterized by excretion of large amounts of urine, accompanied by excessive thirst. Causes include deficiency of antidiuretic hormone or failure of the kidneys to respond to antidiuretic hormone. It may also be drug-related."
            },
            {
                "iri": "http://purl.obolibrary.org/obo/MONDO_0005406",
                "type": "class",
                "label": "gestational diabetes",
                "obo_id": "MONDO:0005406",
                "ontology": "mondo",
                "definition": "Carbohydrate intolerance first diagnosed during pregnancy."
            },
            {
                "iri": "http://purl.obolibrary.org/obo/MONDO_0005827",
                "type": "class",
                "label": "lipoatrophic diabetes",
                "obo_id": "MONDO:0005827",
                "ontology": "mondo",
                "definition": "A rare syndrome characterized by almost complete absence of body fat, accentuated muscularity, insulin-resistant diabetes, hyperlipidemia, hepatomegaly, and hypermetabolism."
            },
            {
                "iri": "http://purl.obolibrary.org/obo/MONDO_0015967",
                "type": "class",
                "label": "monogenic diabetes",
                "obo_id": "MONDO:0015967",
                "ontology": "mondo",
                "definition": "Diabetes mellitus that is caused by mutations in a single gene."
            },
            {
                "iri": "http://purl.obolibrary.org/obo/MONDO_0007450",
                "type": "class",
                "label": "neurohypophyseal diabetes insipidus",
                "obo_id": "MONDO:0007450",
                "ontology": "mondo",
                "definition": "Hereditary central diabetes insipidus is a rare genetic subtype of central diabetes insipidus (CDI) characterized by polyuria and polydipsia due to a deficiency in vasopressin (AVP) synthesis."
            },
            {
                "iri": "http://purl.obolibrary.org/obo/MONDO_0015790",
                "type": "class",
                "label": "central diabetes insipidus",
                "obo_id": "MONDO:0015790",
                "onto
…