Returns the ancestor and descendant branches of a disease in the disease hierarchy, up to the requested depth, along with counts and whether the root key resolved. Call it to explore parent/child relationships around a disease. Returns 400 for invalid query parameters, 503 when the disease hierarchy is unavailable on this deployment, and 500 on internal failure.
Rate limit: disease-family-tree · Free plan: 10/day
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| depth | integer | No | Range 1-8; default 3 (range 1-8; default 3) Range: 1 to 8 |
| key(path) | string | Yes |
Example request
curl -H "x-api-key: YOUR_API_KEY" \
"https://app.caelrith.com/api/v1/diseases/{key}/family-tree"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.
Rate limit: diseaseAutocompleteApiCallsPerDay · Free plan: 10/day
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"