Statistics Poland (GUS) Version API

The Version API from Statistics Poland (GUS) — 2 operation(s) for version.

GitHub OpenAPI

Operations 2

GET /version Wersja aplikacji / Application version #
GET /api/version Check the current API version #

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-version-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-version-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Stat Gov Pl Version API
  x-refined-note:
  - x-source differs across the merged source definitions and was not carried
  version: '1.0'
  description: 'Operations tagged Version across 4 of this provider''s published API definitions: stat-gov-pl-bdl-openapi.json, stat-gov-pl-dbw-openapi.json, stat-gov-pl-bdl-openapi.yml, stat-gov-pl-dbw-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: /api/v1
- url: https://bdl.stat.gov.pl/api/v1
- url: https://api-dbw.stat.gov.pl
tags:
- name: Version
paths:
  /version:
    get:
      tags:
      - Version
      summary: Wersja aplikacji / Application version
      parameters:
      - name: lang
        in: query
        description: Oczekiwany język odpowiedzi - opcjonalny (jeśli podano parametr, nagłówek "Accept-Language" jest ignorowany) / Expected response conent language - optional (if parameter specified, request header "Accept-Language" is ignored)
        schema:
          enum:
          - pl
          - en
          type: enum
      - name: format
        in: query
        description: Oczekiwany format odpowiedzi - opcjonalny (jeśli podano parametr, nagłówek "Accept" jest ignorowany) / Expected response content type - optional (if parameter specified, request header "Accept" is ignored)
        schema:
          enum:
          - json
          - xml
          type: enum
      - name: Accept-Language
        in: header
        description: Oczekiwany język odpowiedzi - opcjonalny (jeśli podano parametr "lang", nagłówek "Accept-Language" zostanie ignorowany) / Expected response conent language - optional (if "lang" parameter is specified, the "Accept-Language" header will be ignored)
        schema:
          enum:
          - pl
          - en
          type: enum
      - name: Accept
        in: header
        description: Oczekiwany format odpowiedzi - opcjonalny (jeśli podano parametr "format", nagłówek "Accept" zostanie zignorowany) / Expected response content type - optional (if the "format" parameter is specified, the "Accept" header will be ignored)
        schema:
          enum:
          - application/json
          - application/xml
          type: enum
      - name: If-None-Match
        in: header
        description: Nagłówek warunkowego żadania If-None-Match (entity tag)/Conditional Requests header If-None-Match (entity tag)
        schema:
          type: string
      - name: If-Modified-Since
        in: header
        description: Nagłówek warunkowego żadania If-Modified-Since/Conditional Requests header If-Modified-Since
        schema:
          type: string
      responses:
        '200':
          description: Success
          headers:
            ETag:
              description: Entity tag
              schema:
                type: string
            Date:
              description: Server date and time
              schema:
                type: string
            X-Rate-Limit-Limit:
              description: Rate limit limit
              schema:
                type: string
            X-Rate-Limit-Remaining:
              description: Rate limit remaining
              schema:
                type: string
            X-Rate-Limit-Reset:
              description: Rate limit reset
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Version'
            application/xml:
              schema:
                $ref: '#/components/schemas/Version'
        '429':
          $ref: '#/components/schemas/LimitResponseMessage'
      operationId: getVersion
      x-operation-id-source: derived
    servers:
    - url: /api/v1
  /api/version:
    get:
      tags:
      - Version
      summary: Check the current API version
      description: ''
      responses:
        '200':
          description: Data found.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/version-1-2-0'
            text/csv:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/version-1-2-0'
        '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: getApiVersion
      x-operation-id-source: derived
components:
  schemas:
    Version:
      type: object
      properties:
        id:
          type:
          - string
          - 'null'
          description: Pełny numer wersji / Full version number
        major:
          type: integer
          description: Numer główny wersji / The main version number
          format: int32
        minor:
          type: integer
          description: Numer dodatkowy wersji / The additional version number
          format: int32
        modificationDate:
          type: string
          description: Data ostatniej modyfikacji / Date of the last modification
          format: date-time
        deprecated:
          type:
          - string
          - 'null'
          description: Data wycofania / Date of the deprecation
          format: date-time
      additionalProperties: false
      description: Reprezentacja wersji API BDL / Representation of the API BDL version
    LimitResponseMessage:
      type: object
      properties:
        result:
          type:
          - string
          - 'null'
          description: Opis błędu / Error result
        reason:
          type:
          - string
          - 'null'
          description: Opis przyczyny błędu / Error reason description
      additionalProperties: false
      description: Definicja błędu limitu / Limit error definition
    available-versions:
      type: object
      properties:
        version:
          type:
          - string
          - 'null'
          description: version
          example: 1.1.0
        release-date:
          type:
          - string
          - 'null'
          description: release_date
          example: '2023-01-01'
        deprecation-date:
          type:
          - string
          - 'null'
          description: deprecation_date
          example: '2024-06-01'
      additionalProperties: false
    version-1-2-0:
      type: object
      properties:
        version:
          type:
          - string
          - 'null'
          description: version
          example: 1.2.0
        release-date:
          type:
          - string
          - 'null'
          description: release_date
          example: '2025-01-23'
        available-versions:
          type:
          - array
          - 'null'
          items:
            $ref: '#/components/schemas/available-versions'
      additionalProperties: false
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      name: X-ClientId
      in: header
x-refined-from:
- stat-gov-pl-bdl-openapi.json
- stat-gov-pl-dbw-openapi.json
- stat-gov-pl-bdl-openapi.yml
- stat-gov-pl-dbw-openapi.yml