StatBank data query (generic, any table)
Execute a StatBank data query against any table by passing dimension filters as query parameters. Dimension codes are Danish and case-sensitive (e.g. OMRÅDE, KØN, SÆSON, VAREGR, TRANSAKT, Tid). Pass comma-separated values (Tid=2026M01,2026M02,2026M03) or * for all values. Time input accepts both K-form (2025K4) and Q-form (2025Q4); Sugra converts to K for upstream.
Special parameters:
- lang = en (default) or da.
- last_n = convenience: return the most recent N time periods when Tid is not otherwise supplied. Applies only when the table has a time dimension.
For non-elimination dimensions you MUST supply at least one value. Discover the schema via GET /tableinfo/{table_id}.
Path parameters
Upstream StatBank table identifier (e.g. 'PRIS01', 'FOLK1A', 'NKN1').
Upstream StatBank table identifier (e.g. 'PRIS01', 'FOLK1A', 'NKN1').
Query parameters
Label language: en (default) or da.
Label language: en (default) or da.
Convenience: when Tid is not supplied, restrict the query to the most recent N time periods by resolving the schema first.
Convenience: when Tid is not supplied, restrict the query to the most recent N time periods by resolving the schema first.
Response
Tidy observations for the requested table slice.
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",
"data_age_days": 8.532,
"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"
],
"period": "2026-Q1",
"notes": "the UKMTO report behind these counts is dated 2026-08-21 and is 11 days old"
}
}Changes
Changed in 2 of the 23 revisions of this API.15
- ○
added the optional property
meta/data_age_daysto the response with the200statusresponse-optional-property-added
- ○
added the optional property
meta/notesto the response with the200statusresponse-optional-property-added
- ○
added the optional property
meta/periodto the response with the200statusresponse-optional-property-added
- ○
- ○
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
- ○