Diseases API
Base URL https://med.ejiapi.com/api/med/v1. Send your key in the x-api-key header. Medical keys start with med_; one key works for every medical API. Get a free beta key.
Answers
Every answer is JSON: {status, statusCode, message, data, source, asOf, disclaimer}. source names where the data comes from; show it wherever you show the data. asOf is the month the prices are for (e.g. Sep-2026). Errors are application/problem+json with title, status and detail.
Limits: 120 requests a minute and 50,000 a day per key; no monthly cap during the beta. 401 means a missing or wrong key, 429 too many requests, 422 a bad parameter.
To get only some fields, add fields= with comma-separated names, for example fields=name,mrp. In a list, the names apply to each item; a dotted name such as packs.mrp goes deeper. The envelope stays. Names that match nothing come back in unknownFields.
Endpoints
| Endpoint | Parameters | What it returns |
|---|---|---|
GET /api/med/v1/icd11/search | q (words or a code) | ICD-11 MMS codes and titles (WHO, unchanged). |
GET /api/med/v1/icd11/code/{code} | code, e.g. 5A11 | One code with its parents up to the chapter, and its children. |
About the data
ICD-11: the WHO ICD-11 for Mortality and Morbidity Statistics (MMS), from WHO's release file, served unchanged under CC BY-ND 3.0 IGO; every answer names the release. Loaded every quarter.
Codes are for records and software, not a diagnosis or medical advice.
Beta. Reference information only, not medical advice.