Skip to content
Eden Engine

GUS BDL Territorial Units: Polish Voivodeships, Counties and Municipalities with IDs (Statistics Poland)

gusbdl/units

Lists the territorial units of Statistics Poland's Local Data Bank (BDL) at one level: Poland, macroregions, voivodeships, regions, subregions, counties or municipalities, each with its 12 digit unit id, name and parent id. Optionally only the units under one parent, paged. Use the ids with GUS BDL Data by Variable. Statistics Poland data under CC BY 4.0, served by Eden Engine; not an official Statistics Poland product.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $5.

Data source

Statistics Poland (GUS)

Source: Statistics Poland (GUS), CC BY 4.0. Served by Eden Engine; not an official Statistics Poland (GUS) product.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

Connect once and your AI can find and run this tool, and any other it needs.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "gusbdl/units" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "gusbdl/units" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "gusbdl/units", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "gusbdl/units", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 21, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "level"
  ],
  "properties": {
    "page": {
      "type": "integer",
      "minimum": 0,
      "description": "Zero-based page index. Leave out for the first page."
    },
    "level": {
      "type": "integer",
      "maximum": 6,
      "minimum": 0,
      "description": "Territorial level: 0 Poland, 1 macroregions, 2 voivodeships, 3 regions, 4 subregions, 5 counties, 6 municipalities."
    },
    "page_size": {
      "type": "integer",
      "default": 10,
      "maximum": 100,
      "minimum": 1,
      "description": "Units per page, 1 to 100. Defaults to 10."
    },
    "parent_id": {
      "type": "string",
      "pattern": "^[0-9]{12}$",
      "description": "Only units under this parent, a 12 digit unit id, for example 011200000000 (the Małopolskie voivodeship) with level 5 for its counties."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "totalRecords",
    "results"
  ],
  "properties": {
    "page": {
      "type": "integer",
      "description": "Zero-based page index of this page."
    },
    "links": {
      "type": "object",
      "description": "first, self, last and (when there is one) next page URLs.",
      "additionalProperties": true
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "required": [
          "id",
          "name",
          "level"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "12 digit unit id."
          },
          "kind": {
            "type": "string",
            "description": "Unit kind code on some units, undecoded."
          },
          "name": {
            "type": "string",
            "description": "Unit name as published."
          },
          "level": {
            "type": "integer",
            "description": "Territorial level, 0 to 6."
          },
          "parentId": {
            "type": "string",
            "description": "Parent unit id; absent for Poland."
          },
          "hasDescription": {
            "type": "boolean"
          }
        },
        "additionalProperties": true
      }
    },
    "pageSize": {
      "type": "integer",
      "description": "Units per page used by the service."
    },
    "totalRecords": {
      "type": "integer",
      "description": "Units across all pages."
    }
  },
  "description": "The BDL envelope: `totalRecords` units in all, `page` and `pageSize`, `links` to other pages, and `results`.",
  "additionalProperties": true
}