Statistics Finland Databases API

The Databases API from Statistics Finland — 1 operation(s) for databases.

GitHub OpenAPI

Operations 3

GET /meta/databases Retrieves a list of available databases. #
HEAD /meta/databases HEAD endpoint for the database collection. #
OPTIONS /meta/databases Returns allowed HTTP methods for the databases resource in the Allow response… #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/stat-fi:stat-fi-databases-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

stat-fi-databases-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Stat Fi Databases API
  version: v1
  contact:
    name: Statistics Finland
    url: https://stat.fi
    email: tietokannat@stat.fi
  license:
    name: CC BY 4.0
    url: https://creativecommons.org/licenses/by/4.0/deed
  description: 'Operations tagged Databases across 2 of this provider''s published API definitions: stat-fi-pxapi-beta-openapi.json, stat-fi-pxapi-beta-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.stat.fi/px/beta
  description: Primary API server
tags:
- name: Databases
paths:
  /meta/databases:
    get:
      tags:
      - Databases
      summary: Retrieves a list of available databases.
      operationId: listDatabases
      parameters:
      - name: lang
        in: query
        description: Optional language code used to resolve name and description (defaults to fi when omitted).
        schema:
          type: string
      responses:
        '200':
          description: Successful retrieval of database listing.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DataBaseListingItem'
              examples:
                default:
                  value:
                  - id: StatFin
                    name: StatFin
                    description: null
                    tableCount: 1526
                    availableLanguages:
                    - fi
                    - sv
                    - en
                    links:
                    - href: https://api.stat.fi/px/beta/meta/databases/StatFin/tables?lang=fi
                      rel: describedby
                      method: GET
        '400':
          description: Requested language not supported.
          content:
            application/json:
              schema:
                type: string
        '500':
          description: Unexpected server error.
          content:
            application/json:
              schema:
                type: string
        '499':
          description: Client closed the request before the server could respond.
    head:
      tags:
      - Databases
      summary: HEAD endpoint for the database collection.
      operationId: headDatabases
      responses:
        '200':
          description: Resource exists.
        '500':
          description: Unexpected server error.
    options:
      tags:
      - Databases
      summary: Returns allowed HTTP methods for the databases resource in the Allow response…
      operationId: optionsDatabases
      responses:
        '200':
          description: Allowed methods returned.
        '500':
          description: Unexpected server error.
          content:
            application/json:
              schema:
                type: string
    servers:
    - url: https://api.stat.fi/px/beta
      description: Primary API server
components:
  schemas:
    Link:
      required:
      - href
      - method
      - rel
      type: object
      properties:
        href:
          minLength: 1
          type: string
          description: Absolute or relative URI of the target resource.
        rel:
          minLength: 1
          type: string
          description: Relation type describing how the target resource relates to the current resource (e.g., self, data, metadata).
        method:
          minLength: 1
          type: string
          description: HTTP method to use when following the link (e.g., GET, POST).
      additionalProperties: false
      description: Represents a link to a related resource (HATEOAS).
    DataBaseListingItem:
      required:
      - availableLanguages
      - id
      - links
      - name
      - tableCount
      type: object
      properties:
        id:
          minLength: 1
          type: string
          description: Unique identifier of the database.
        name:
          minLength: 1
          type: string
          description: Localized database name resolved for the requested language.
        description:
          type:
          - string
          - 'null'
          description: Localized database description resolved for the requested language; null if not available.
        tableCount:
          type: integer
          description: Number of tables available in the database.
          format: int32
        availableLanguages:
          type: array
          items:
            type: string
          description: Languages available for this database (intersection of translated name languages and globally supported languages).
        links:
          type: array
          items:
            $ref: '#/components/schemas/Link'
          description: HATEOAS links related to the database (e.g., tables listing endpoint).
      additionalProperties: false
      description: Represents a database entry in the database listing endpoint.
x-refined-from:
- stat-fi-pxapi-beta-openapi.json
- stat-fi-pxapi-beta-openapi.yml