Get Diseases (batch)
get_disease_batchRetrieve up to 50 rare disease records in one batch request using ORPHAcodes, labels, or cross-references, with options for sparse projections and verbosity levels.
Instructions
Fetch many disease records in one call (partial success per item: each row is the record or its own ok=false/error_code/message). Each term accepts an ORPHAcode, label, or xref CURIE; pass fields=[...] for a sparse projection. Max 50 items; compact per item. Signature: get_disease_batch(terms, response_mode=, fields=).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| terms | Yes | 1..50 ids/labels/xrefs. | |
| 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 | ||
| count | No | ||
| results | No |