Get Diseases (batch)
get_disease_batchFetch up to 50 rare disease records in a single call using ORPHAcodes, labels, or xref CURIEs. Supports sparse field selection and partial success per item.
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 | A LIST of 1..50 ORPHAcodes, disease labels or xref CURIEs to fetch — one entry per item, not a comma-joined string. | |
| 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. | |
| response_mode | No | Verbosity: minimal|compact|standard|full (default compact). | compact |