API – stops

Information about public transport stops.

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

Data structure

{
  "data": [
    {
      "id": 1,
      "number": "10111",
      "name": "Turzyn Dworzec",
      "latitude": 53.428413,
      "longitude": 14.527252,
      "request_stop": false,
      "park_and_ride": false,
      "railway_station_name": null,
      "updated_at": "2023-05-28T11:45:34.000000Z"
    },

    ...

  ]
}
  • int id – the stop’s unique identifier (immutable)
  • string number – the stop number (may change)
  • string name – the stop name
  • float latitude – geographic coordinate of the stop (latitude)
  • float longitude – geographic coordinate of the stop (longitude)
  • bool request_stoptrue if the default status of the stop is request stop
  • bool park_and_ridetrue if there is a public Park & Ride facility adjacent to the stop
  • Added string|null railway_station_name – name of the railway station adjacent to the stop
  • 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.