Statistics Poland (GUS) Area DBW API

The AreaDBW API from Statistics Poland (GUS) — 2 operation(s) for areadbw.

GitHub OpenAPI

Operations 2

GET /api/area/area-area Get a list of DBW domaines (as a structure) #
GET /api/area/area-variable Get a list of variables from the indicated of DBW domain #

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-areadbw-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-areadbw-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Stat Gov Pl Area DBW API
  version: en
  x-refined-note:
  - x-source differs across the merged source definitions and was not carried
  description: 'Operations tagged AreaDBW across 2 of this provider''s published API definitions: stat-gov-pl-dbw-openapi.json, stat-gov-pl-dbw-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api-dbw.stat.gov.pl
tags:
- name: AreaDBW
paths:
  /api/area/area-area:
    get:
      tags:
      - AreaDBW
      summary: Get a list of DBW domaines (as a structure)
      description: ''
      parameters:
      - name: lang
        in: query
        description: Language selection, available values "pl" and "en".
        schema:
          type: string
          default: pl
      responses:
        '200':
          description: Data found.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/obszar-1-1-0'
            text/csv:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/obszar-1-1-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: getApiAreaAreaArea
      x-operation-id-source: derived
  /api/area/area-variable:
    get:
      tags:
      - AreaDBW
      summary: Get a list of variables from the indicated of DBW domain
      description: ''
      parameters:
      - name: id-obszaru
        in: query
        description: area id
        schema:
          type: integer
          format: int32
          default: 0
        example: 16
      - name: lang
        in: query
        description: Language selection, available values "pl" and "en".
        schema:
          type: string
          default: pl
      responses:
        '200':
          description: Data found.
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/zmienna-obszar'
            text/csv:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/zmienna-obszar'
        '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: getApiAreaAreaVariable
      x-operation-id-source: derived
components:
  schemas:
    obszar-1-1-0:
      type: object
      properties:
        id:
          type: integer
          description: id obszaru
          format: int64
          example: 7
        nazwa:
          type: string
          description: Nazwa obszaru
          example: Wskaźniki cen podstawowych kategorii makroekonomicznych
        id-nadrzedny-element:
          type: integer
          description: id nadrzednego obszaru
          format: int64
          example: 1
        id-poziom:
          type: integer
          description: id poziomu obszaru
          format: int64
          example: 1
        nazwa-poziom:
          type: string
          description: nazwa poziomu
          example: '1'
        czy-zmienne:
          type: boolean
          description: wartość bit czy zmienna
          example: 1
      additionalProperties: false
    zmienna-obszar:
      type: object
      properties:
        id:
          type: integer
          description: id
          format: int64
          example: 16
        nazwa:
          type: string
          description: nazwa
          example: Urodzenia i zgony
        id-zmienna:
          type: integer
          description: id_zmienna
          format: int32
          example: 571
        nazwa-zmienna:
          type: string
          description: nazwa_zmienna
          example: "<p>\n\tUrodzenia żywe</p>\n"
      additionalProperties: false
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      name: X-ClientId
      in: header
x-refined-from:
- stat-gov-pl-dbw-openapi.json
- stat-gov-pl-dbw-openapi.yml