latestOpenAPI 3.1.0Proprietary2026-08-211,5563,2126.5 MB

a83e6a561bf2

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/15b5.px; pre-June-2026 long ids are rewritten automatically).

Relative PxWeb path under StatFin (e.g. khi/15b5.px; pre-June-2026 long ids are rewritten automatically).

Query parameters

time_codestring nullable

Time-axis variable code (e.g. timeperiod_m, timeperiod_y, timeperiod_q since the June 2026 restructure). Required to fetch data.

Time-axis variable code (e.g. timeperiod_m, timeperiod_y, timeperiod_q since the June 2026 restructure). 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/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"
    ]
  }
}