Access any Treasury dataset
Generic access to any Treasury Fiscal Data dataset. Use /catalog for available datasets.
Path parameters
Treasury Fiscal Data dataset key (e.g. debt_to_penny).
Treasury Fiscal Data dataset key (e.g. debt_to_penny).
Query parameters
Comma-separated field names
Comma-separated field names
Filter (e.g. record_date:gte:2024-01-01)
Filter (e.g. record_date:gte:2024-01-01)
Sort field (- prefix for desc)
Sort field (- prefix for desc)
Records per page.
Records per page.
Page number (1-indexed).
Page number (1-indexed).
Response
Dataset records.
Example response
{
"meta": {
"endpoint": "/api/v1/fred/us/cpi",
"data_time": "2026-04-16T14:30:00Z",
"response_time": "2026-04-16T14:30:12Z",
"provider": "Sugra API v1.0.1",
"source": "sugra_crypto",
"attribution": "Short interest and Reg SHO daily short volume data is owned by and sourced from FINRA (Financial Industry Regulatory Authority).",
"fallback_chain": [
"sugra_crypto",
"sugra_finance"
]
}
}Changes
Changed in 2 of the 21 revisions of this API.15
- ○
added the optional property
data/recordsto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/total_countto the response with the200statusresponse-optional-property-added
- ○
added the optional property
data/total_pagesto the response with the200statusresponse-optional-property-added
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the optional property
codeto the response with the401statusresponse-optional-property-added
- ○
added the optional property
codeto the response with the429statusresponse-optional-property-added
- ○
added the optional property
codeto the response with the503statusresponse-optional-property-added
- ○
added the optional property
hintto the response with the401statusresponse-optional-property-added
- ○
added the optional property
hintto the response with the429statusresponse-optional-property-added
- ○
added the optional property
hintto the response with the503statusresponse-optional-property-added
- ○
added the optional property
planto the response with the401statusresponse-optional-property-added
- ○
added the optional property
planto the response with the429statusresponse-optional-property-added
- ○
added the optional property
planto the response with the503statusresponse-optional-property-added
- ○
added the optional property
reasonto the response with the401statusresponse-optional-property-added
- ○
added the optional property
reasonto the response with the429statusresponse-optional-property-added
- ○
added the optional property
reasonto the response with the503statusresponse-optional-property-added
- ○