Aller au contenu
GET /v1/meta

Usage notes

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/mesh-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/mesh-api/v1/meta" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/mesh-api/v1/meta", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/mesh-api/v1/meta");
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/mesh-api/v1/meta",
    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": {
        "note": "MeSH (Medical Subject Headings) is the U.S. National Library of Medicine's authoritative controlled vocabulary used to index biomedical literature in PubMed — covering diseases, anatomy, chemicals & drugs, organisms, psychology, techniques and more. /v1/search?q=diabetes = search MeSH descriptors by preferred name (match=contains|exact|startswith), returning each descriptor's stable id (e.g. D003920) and label; /v1/term?q=heart attack = resolve a lay term or synonym to the MeSH descriptor(s) it maps to (so 'heart attack' → Myocardial Infarction); /v1/descriptor?id=D003920 = a descriptor's full record — its preferred name, all entry terms (synonyms), the allowable qualifiers/subheadings (e.g. drug therapy, diagnosis, epidemiology) and see-also references, plus a link to the MeSH browser. Ideal for biomedical NLP and text mining, literature tagging and search, clinical and research tooling, and ontology mapping. Data from NLM MeSH (public domain). For drug-specific nomenclature see the RxNorm API.",
        "source": "MeSH — Medical Subject Headings, U.S. National Library of Medicine (id.nlm.nih.gov/mesh)",
        "endpoints": [
            "/v1/search",
            "/v1/term",
            "/v1/descriptor",
            "/v1/meta"
        ]
    },
    "meta": {
        "timestamp": "2026-06-01T16:23:44.727Z",
        "request_id": "271a84c1-19e3-4685-8498-49f3a281dd66"
    },
    "status": "ok",
    "message": "Meta retrieved",
    "success": true
}