/v1/term
A term detail
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
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_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"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
}