timetable

Get all routes/lines serving a stop (without time-based queries)

Changed on
get/api/v6/stop

Request

  • Base URL
    https://api.transitous.org
  • URL
    https://api.transitous.org/api/v6/stop
  • Auth
    none declared

Query parameters

stopIdstring

stop ID as returned by /api/v1/geocode or /api/v1/map/stops

centerstring

latitude,longitude pair used as center for a radius search (used when stopId is not provided; required together with radius if stopId is not given)

radiusinteger

Optional. Radius in meters.

Default is that only routes of the parent of the stop itself and all stops with the same name (+ their child stops) are returned.

If set, all stops at parent stations and their child stops in the specified radius are returned. Required if stopId is not given.

exactRadiusboolean

Optional. Default is false.

If set to true, only stations that are physically in the radius are considered. If set to false, additionally to the stations in the radius, equivalences with the same name and children are considered.

languagestring[]

language tags as used in OpenStreetMap / GTFS (usually BCP-47 / ISO 639-1, or ISO 639-2 if there's no ISO 639-1)

Response

stop information including routes/lines serving the stop(s)

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • warning

      added the new HGV enum value to the // response property for the response status

    • warning

      added the new HGV enum value to the // response property for the response status