API Documentation
Resolve a partial or full disease name to canonical disease entries carrying an ontology CURIE (efo_id, e.g. EFO:0003767). Returns up to 10 name/efo_id matches. Use this to convert a disease name into the exact CURIE expected by the disease_id / efo_id filters on trial search, regulatory approvals and Medicare drug spending, instead of guessing an ontology id.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| q | string | Yes | Partial or full disease name to autocomplete (e.g. 'breast cancer', 'sickle cell disease'). |
Example request
curl -H "x-api-key: YOUR_API_KEY" \ "https://app.caelrith.com/api/v1/diseases/autocomplete?q=your_q"