Statistical Agencies
Generic Statistics Estonia table query
Changed onFetch any Statistics Estonia PxWeb table as tidy rows. Supply path for the parent folder (e.g. majandus/hinnad) and table_id (with or without .px / .PX extension). Sugra builds a minimal PxWeb query that selects the last last_n periods on whichever dimension carries time and aggregates over the remaining eliminable dimensions. For complex filters use the convenience endpoints or browse raw upstream.
get/api/v1/statistical-agencies/stat-estonia/data/{table_id}
Request
- Base URL: https://sugra.ai
- URL: https://sugra.ai/api/v1/statistical-agencies/stat-estonia/data/{table_id}
- Auth: API key in header x-api-key
Path parameters
table_idstring required
Statistics Estonia table id (with or without .px / .PX extension).
Query parameters
pathstring required
Slash-separated parent path for the table.
last_ninteger
Number of most-recent time periods to return.
Response
Tidy observation rows for the requested table with Sugra-normalised time.
Example response
{
"data": {
"table_id": "IA002.px",
"path": "majandus/hinnad/IA002.px",
"observations": [
{
"period": "2026M03",
"time": "2026-03-01T00:00:00Z",
"value": 321.1,
"value_raw": "321.10"
}
],
"metadata": {
"updated": "2026-04-06T16:36:44Z",
"label": "IA002: CONSUMER PRICE INDEX, 1997 = 100 by Year, Commodity group and Month",
"source": "Statistics Estonia"
}
},
"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"
],
"stale_since": "2026-09-08T12:00:00Z",
"period": "2026-Q1",
"notes": "the UKMTO report behind these counts is dated 2026-08-21 and is 11 days old"
}
}Changes
- info
added the non-success response with the status
- info
- info
added the optional property
/to the response with the status
- info