Get Disease
get_diseaseRetrieve detailed rare disease records from Orphanet by ORPHAcode, name, or external identifier to obtain definition, synonyms, cross-references, classification, age of onset, inheritance, and disorder type.
Instructions
Return an Orphanet disease record: definition, synonyms, grouped cross-references, classification parents/children, age of onset, inheritance, and disorder type. The term accepts an ORPHAcode, a label/synonym, or an external xref CURIE (resolved first). Pass fields=['xrefs.OMIM', ...] for a sparse projection. Signature: get_disease(term, response_mode=, fields=).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| term | Yes | An ORPHAcode (ORPHA:166024 or 166024), a disease label/synonym, or an external xref CURIE that resolves to a single Orphanet term. | |
| response_mode | No | Verbosity: minimal|compact|standard|full (default compact). | compact |
| fields | No | Sparse fieldset: return ONLY these top-level keys (dot into a grouped object, e.g. 'xrefs.OMIM'). Identity anchors (orpha_code, name, orphanet_version) are always included. Omit for the full payload. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | No | ||
| _meta | No | ||
| error_code | No | ||
| message | No | ||
| retryable | No | ||
| recovery_action | No | ||
| field | No | ||
| allowed_values | No | ||
| hint | No | ||
| candidates | No | ||
| orpha_code | No | ||
| name | No | ||
| definition | No | ||
| synonyms | No | ||
| xrefs | No | ||
| parents | No | ||
| children | No | ||
| top_groupings | No | ||
| subsets | No | ||
| obsolete | No | ||
| match_type | No | ||
| orphanet_version | No |