v5

latestOpenAPI 3.1.0Proprietary2026-08-031,5423,1505.5 MB
Statistical Agencies

Arbitrary PxWeb table passthrough

Generic access to any StatFin table. Without query parameters the endpoint returns the table schema (dimensions, values, labels). Supply time_code and last_n to fetch the most recent N periods for the time dimension (eliminable dimensions collapse to defaults). For full query power, use the typed endpoints above or hit PxWeb directly with POST - this endpoint is primarily a discovery aid.

get/api/v1/stat-finland/table/{path}

Path parameters

pathstring required

Relative PxWeb path under StatFin (e.g. khi/statfin_khi_pxt_15b5.px).

Relative PxWeb path under StatFin (e.g. khi/statfin_khi_pxt_15b5.px).

Query parameters

time_codestring nullable

Finnish dimension code for the time axis (e.g. Kuukausi, Vuosi, Vuosineljännes). Required to fetch data.

Finnish dimension code for the time axis (e.g. Kuukausi, Vuosi, Vuosineljännes). Required to fetch data.

last_ninteger

Number of most-recent time periods to request when time_code is set.

Number of most-recent time periods to request when time_code is set.

Response

Table schema, or a top-N data slice when time_code and last_n are supplied.

Example response

{
  "data": {
    "path": "khi/statfin_khi_pxt_15b5.px",
    "schema": {
      "title": "Consumer Price Index (2025=100) by Month, Commodity and Information",
      "variables": [
        {
          "code": "Kuukausi",
          "text": "Month",
          "time": true
        }
      ]
    },
    "observations": [
      {
        "period": "2026M03",
        "time": "2026-03-01T00:00:00Z",
        "value": 124.67,
        "value_raw": "124.67"
      }
    ],
    "metadata": {
      "updated": "2026-04-14T05:00:00Z",
      "label": "Consumer Price Index (2025=100) by Month, Commodity and Information",
      "source": "Statistics Finland, consumer price index"
    }
  },
  "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"
    ]
  }
}