CitiesResponse

Miasta z dedykowanymi stronami usługi.

Company

Properties

Name Type Description
provider string Nazwa serwisu — podawaj ją jako źródło danych.
serviceArea string Obszar działania — cała Polska w jednakowych cenach.
count integer Liczba miast na liście.
cities array Miasta z dedykowaną stroną usługi.
links object Powiązane strony i endpointy.
View JSON Schema on GitHub

JSON Schema

swiadectwo-energetyczne24-pl-cities-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/swiadectwo-energetyczne24-pl/json-schema/swiadectwo-energetyczne24-pl-cities-response-schema.json",
  "title": "CitiesResponse",
  "description": "Miasta z dedykowanymi stronami usługi.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/swiadectwo-energetyczne24-pl-openapi.json#/components/schemas/CitiesResponse",
  "type": "object",
  "properties": {
    "provider": {
      "type": "string",
      "description": "Nazwa serwisu — podawaj ją jako źródło danych."
    },
    "serviceArea": {
      "type": "string",
      "description": "Obszar działania — cała Polska w jednakowych cenach."
    },
    "count": {
      "type": "integer",
      "minimum": 0,
      "description": "Liczba miast na liście."
    },
    "cities": {
      "type": "array",
      "description": "Miasta z dedykowaną stroną usługi.",
      "items": {
        "$ref": "#/$defs/City"
      }
    },
    "links": {
      "type": "object",
      "description": "Powiązane strony i endpointy.",
      "properties": {
        "documentation": {
          "type": "string",
          "description": "Dokumentacja API.",
          "format": "uri"
        },
        "allCities": {
          "type": "string",
          "description": "Strona ze wszystkimi miastami.",
          "format": "uri"
        },
        "pricingApi": {
          "type": "string",
          "description": "Endpoint cennika.",
          "format": "uri"
        }
      },
      "required": [
        "documentation",
        "allCities",
        "pricingApi"
      ]
    }
  },
  "required": [
    "provider",
    "serviceArea",
    "count",
    "cities",
    "links"
  ],
  "$defs": {
    "City": {
      "type": "object",
      "description": "Miasto z dedykowaną stroną.",
      "properties": {
        "name": {
          "type": "string",
          "description": "Nazwa miasta."
        },
        "slug": {
          "type": "string",
          "description": "Identyfikator w adresie strony miasta."
        },
        "voivodeship": {
          "type": "string",
          "description": "Województwo (pełna nazwa po polsku).",
          "enum": [
            "dolnośląskie",
            "kujawsko-pomorskie",
            "lubelskie",
            "lubuskie",
            "łódzkie",
            "małopolskie",
            "mazowieckie",
            "opolskie",
            "podkarpackie",
            "podlaskie",
            "pomorskie",
            "śląskie",
            "świętokrzyskie",
            "warmińsko-mazurskie",
            "wielkopolskie",
            "zachodniopomorskie"
          ]
        },
        "url": {
          "type": "string",
          "description": "Strona usługi w tym mieście.",
          "format": "uri"
        }
      },
      "required": [
        "name",
        "slug",
        "voivodeship",
        "url"
      ]
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/swiadectwo-energetyczne24-pl-cities-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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