API – ticket offices

Information about ticket offices.

  • Endpoint: GET https://www.zditm.szczecin.pl/api/v1/ticket-offices
  • Data type: application/json
  • Update frequency: as required

Data structure

{
  "data": [
    {
      "id": 1,
      "name": "Basen Górniczy",
      "type_symbol": "POK",
      "type_name_pl": "Punkt Obsługi Klientów",
      "type_name_en": "Passenger Service Point",
      "type_name_de": "Kundenberatungsstelle",
      "type_name_uk": "Пункт обслуговування клієнтів",
      "address": "pętla – ul. Gdańska 25",
      "phone": "695690142",
      "notes_pl": null,
      "notes_en": null,
      "notes_de": null,
      "notes_uk": null,
      "latitude": 53.400719,
      "longitude": 14.59911,
      "monday": {
        "opening_hours": "10:00–17:15",
        "notes_pl": null,
        "notes_en": null,
        "notes_de": null,
        "notes_uk": null
      },
      "tuesday": {
        "opening_hours": "10:00–17:15",
        "notes_pl": null,
        "notes_en": null,
        "notes_de": null,
        "notes_uk": null
      },
      "wednesday": {
        "opening_hours": "10:00–17:15",
        "notes_pl": null,
        "notes_en": null,
        "notes_de": null,
        "notes_uk": null
      },
      "thursday": {
        "opening_hours": "10:00–17:15",
        "notes_pl": null,
        "notes_en": null,
        "notes_de": null,
        "notes_uk": null
      },
      "friday": {
        "opening_hours": "10:00–17:15",
        "notes_pl": null,
        "notes_en": null,
        "notes_de": null,
        "notes_uk": null
      },
      "saturday": {
        "opening_hours": null,
        "notes_pl": null,
        "notes_en": null,
        "notes_de": null,
        "notes_uk": null
      },
      "sunday": {
        "opening_hours": null,
        "notes_pl": null,
        "notes_en": null,
        "notes_de": null,
        "notes_uk": null
      },
      "updated_at": "2023-05-19T19:38:57.000000Z"
    },

    ...

  ]
}
  • int id – ticket office identifier
  • string name – name of the ticket office
  • string type_symbol – code for the office type
  • string type_name_pl – office type name in Polish
  • string type_name_en – office type name in English
  • string type_name_de – office type name in German
  • string type_name_uk – office type name in Ukrainian
  • string|null address – office address
  • string|null phone – office phone number
  • string|null notes_pl – additional notes in Polish
  • string|null notes_en – additional notes in English
  • string|null notes_de – additional notes in German
  • string|null notes_uk – additional notes in Ukrainian
  • float latitude – office latitude
  • float longitude – office longitude
  • object monday, tuesday, wednesday, thursday, friday, saturday, sunday – opening-hours objects for each weekday
    • string|null opening_hours – opening hours
    • string|null notes_pl – additional notes in Polish
    • string|null notes_en – additional notes in English
    • string|null notes_de – additional notes in German
    • string|null notes_uk – additional notes in Ukrainian
  • string updated_at – timestamp of the last data update

General information

  1. The data are provided free of charge under the CC0 1.0 licence, for use in any context, with no prior notification required.
  2. Zarząd Dróg i Transportu Miejskiego w Szczecinie (Roads and Public Transport Authority in Szczecin) does not guarantee the accuracy or completeness of the data and accepts no liability for any loss or decisions made on the basis of this information.
  3. In any product using the data (application, website, publication, etc.), please cite the data source as Zarząd Dróg i Transportu Miejskiego w Szczecinie, or in abbreviated form, ZDiTM Szczecin; although not legally required, this is appreciated.
  4. Where possible, please include a link to this page or to the ZDiTM Szczecin homepage in any product using the data; this is also not a legal obligation.
  5. Clients should recognise and honour the HTTP headers Cache-Control and ETag.
  6. API requests are rate‑limited: 100 requests per minute per IP address across all endpoints. The X-RateLimit-Remaining header shows the number of remaining requests. Once the limit is reached, an HTTP 429 response is returned. The X-RateLimit-Reset header then contains a Unix timestamp for when the limit resets, and the Retry-After header shows the number of seconds until reset.
  7. If possible, please include in your User-Agent header information identifying the entity using the data (e.g. the name of your application, website, or its URL).
  8. In the event of excessive server load, ZDiTM Szczecin reserves the right to partially or fully block access to the API.