Statistics Poland (GUS) 3 Slowniki API

The _3Slowniki API from Statistics Poland (GUS) — 3 operation(s) for _3slowniki.

GitHub OpenAPI

Operations 3

GET /api/1.0.0/teryt-dictionary Get the Territorial Inventory Dictionary #
GET /api/1.0.0/data-dictionary Get a dictionary of dates #
GET /api/1.0.0/flag-dictionary Get the flag dictionary #

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-gov-pl:stat-gov-pl-3slowniki-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-gov-pl-3slowniki-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Stat Gov Pl 3 Slowniki API
  version: en
  x-refined-note:
  - x-source differs across the merged source definitions and was not carried
  description: 'Operations tagged _3Slowniki across 2 of this provider''s published API definitions: stat-gov-pl-smup-openapi.json, stat-gov-pl-smup-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.smup.gov.pl
tags:
- name: _3Slowniki
paths:
  /api/1.0.0/teryt-dictionary:
    get:
      tags:
      - _3Slowniki
      summary: Get the Territorial Inventory Dictionary
      description: ''
      parameters:
      - name: filters
        in: query
        description: Search filters, a description and a list of available filters is at the top of the page.
        schema:
          type: string
      - name: sorts
        in: query
        description: Data sorting, description of the operation is at the top of the page.
        schema:
          type: string
      - name: page
        in: query
        description: Data page number.
        schema:
          type: integer
          format: int32
          default: 1
      - name: page-size
        in: query
        description: Data page size, maximum value 5000.
        schema:
          type: integer
          format: int32
          default: 100
      - name: lang
        in: query
        description: Language selection, available values "pl" and "en".
        schema:
          maxLength: 2
          type: string
          default: pl
      responses:
        '200':
          description: Data found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/jednostki-terytorialne-page'
            text/csv:
              schema:
                $ref: '#/components/schemas/jednostki-terytorialne-page'
        '400':
          description: The server was unable to process the request.
        '401':
          description: Invalid API key or key has expired.
        '404':
          description: The requested resource was not found.
      security:
      - ApiKeyAuth: []
      operationId: getApi100TerytDictionary
      x-operation-id-source: derived
  /api/1.0.0/data-dictionary:
    get:
      tags:
      - _3Slowniki
      summary: Get a dictionary of dates
      description: ''
      parameters:
      - name: filters
        in: query
        description: Search filters, a description and a list of available filters is at the top of the page.
        schema:
          type: string
      - name: sorts
        in: query
        description: Data sorting, description of the operation is at the top of the page.
        schema:
          type: string
      - name: page
        in: query
        description: Data page number.
        schema:
          type: integer
          format: int32
          default: 1
      - name: page-size
        in: query
        description: Data page size, maximum value 5000.
        schema:
          type: integer
          format: int32
          default: 100
      - name: lang
        in: query
        description: Language selection, available values "pl" and "en".
        schema:
          maxLength: 2
          type: string
          default: pl
      responses:
        '200':
          description: Data found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/data-page'
            text/csv:
              schema:
                $ref: '#/components/schemas/data-page'
        '400':
          description: The server was unable to process the request.
        '401':
          description: Invalid API key or key has expired.
        '404':
          description: The requested resource was not found.
      security:
      - ApiKeyAuth: []
      operationId: getApi100DataDictionary
      x-operation-id-source: derived
  /api/1.0.0/flag-dictionary:
    get:
      tags:
      - _3Slowniki
      summary: Get the flag dictionary
      description: ''
      parameters:
      - name: filters
        in: query
        description: Search filters, a description and a list of available filters is at the top of the page.
        schema:
          type: string
      - name: sorts
        in: query
        description: Data sorting, description of the operation is at the top of the page.
        schema:
          type: string
      - name: page
        in: query
        description: Data page number.
        schema:
          type: integer
          format: int32
          default: 1
      - name: page-size
        in: query
        description: Data page size, maximum value 5000.
        schema:
          type: integer
          format: int32
          default: 100
      - name: lang
        in: query
        description: Language selection, available values "pl" and "en".
        schema:
          maxLength: 2
          type: string
          default: pl
      responses:
        '200':
          description: Data found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/flaga-page'
            text/csv:
              schema:
                $ref: '#/components/schemas/flaga-page'
        '400':
          description: The server was unable to process the request.
        '401':
          description: Invalid API key or key has expired.
        '404':
          description: The requested resource was not found.
      security:
      - ApiKeyAuth: []
      operationId: getApi100FlagDictionary
      x-operation-id-source: derived
components:
  schemas:
    data-page:
      type: object
      properties:
        page-number:
          type:
          - integer
          - 'null'
          description: page_Number
          format: int32
          example: 1
        page-size:
          type:
          - integer
          - 'null'
          description: page_Size
          format: int32
          example: 1
        page-count:
          type:
          - integer
          - 'null'
          description: page_Count
          format: int32
          example: 50
        data:
          type: array
          items:
            $ref: '#/components/schemas/data'
      additionalProperties: false
    data:
      type: object
      properties:
        id-daty:
          type: integer
          format: int32
        rok:
          type: integer
          format: int32
      additionalProperties: false
    flaga:
      type: object
      properties:
        id-flaga:
          type: integer
          format: int32
        kod:
          maxLength: 3
          type:
          - string
          - 'null'
        nazwa:
          maxLength: 150
          type:
          - string
          - 'null'
      additionalProperties: false
    jednostki-terytorialne-page:
      type: object
      properties:
        page-number:
          type:
          - integer
          - 'null'
          description: page_Number
          format: int32
          example: 1
        page-size:
          type:
          - integer
          - 'null'
          description: page_Size
          format: int32
          example: 1
        page-count:
          type:
          - integer
          - 'null'
          description: page_Count
          format: int32
          example: 50
        data:
          type: array
          items:
            $ref: '#/components/schemas/jednostka-terytorialna'
      additionalProperties: false
    flaga-page:
      type: object
      properties:
        page-number:
          type:
          - integer
          - 'null'
          description: page_Number
          format: int32
          example: 1
        page-size:
          type:
          - integer
          - 'null'
          description: page_Size
          format: int32
          example: 1
        page-count:
          type:
          - integer
          - 'null'
          description: page_Count
          format: int32
          example: 50
        data:
          type: array
          items:
            $ref: '#/components/schemas/flaga'
      additionalProperties: false
    jednostka-terytorialna:
      type: object
      properties:
        id-teryt:
          type: integer
          format: int32
        kts-symbol:
          maxLength: 14
          type:
          - string
          - 'null'
        kraj:
          maxLength: 2
          type:
          - string
          - 'null'
        makreg:
          maxLength: 2
          type:
          - string
          - 'null'
        woj:
          maxLength: 2
          type:
          - string
          - 'null'
        reg:
          maxLength: 1
          type:
          - string
          - 'null'
        podreg:
          maxLength: 2
          type:
          - string
          - 'null'
        pow:
          maxLength: 2
          type:
          - string
          - 'null'
        gmn:
          maxLength: 2
          type:
          - string
          - 'null'
        rodz:
          maxLength: 1
          type:
          - string
          - 'null'
        mpozn-kod:
          maxLength: 1
          type:
          - string
          - 'null'
        nazwa:
          maxLength: 150
          type:
          - string
          - 'null'
        nazwa-dod:
          maxLength: 150
          type:
          - string
          - 'null'
        data-od:
          type: string
          format: date-time
        data-do:
          type: string
          format: date-time
      additionalProperties: false
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      name: X-ClientId
      in: header
x-refined-from:
- stat-gov-pl-smup-openapi.json
- stat-gov-pl-smup-openapi.yml