Get Reference Data
get_reference_dataPaid x402 tool. Get governed public reference data and controlled vocabulary values such as country, currency, unit of measure, industry, status, category, or code mappings. Returns codes, labels, definitions, validity dates, mappings, provenance, and version. Price ID: price.reference.v1.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| codes | No | Exact codes wanted. Set membership, never a substring match; omit it to narrow nothing. | |
| limit | No | Page size, applied after query, codes, and validity have narrowed the list. | |
| query | No | Optional code or label search: a case-insensitive substring match against a value's code OR its label. Omit it to match every value. | |
| cursor | No | Opaque continuation cursor from a prior identical request. Bound to the operation, the normalized request, and the data_version it paged. | |
| domain | Yes | Reference-data domain identifier, as get_master_data_schema names it. | |
| locale | No | Language tag echoed on every served value and in the answer. Labels are served exactly as the snapshot stores them; there is no translation layer. | en |
| valid_at | No | The instant to evaluate each value's validity interval at. Defaults to the request clock. A value whose source DECLARES its interval is active when valid_from <= valid_at < valid_to, an absent or null bound open on its side. A value whose source states no interval at all is neither: it is served active: null and carries the reference_value_validity_unknown warning. | |
| include_inactive | No | Whether values not KNOWN to be active at valid_at are served. False excludes them; true serves them flagged - active: false for a value declared inactive, beside the reference_value_inactive warning, and active: null for one whose source states no validity interval, beside reference_value_validity_unknown - so an intentionally excluded value is distinguishable from an accidental match. Either warning is carried when such a value is WITHHELD too, so the omission is never silent. |