Transport

Swiss public transport API

Statistics

Total calls
5'554'389'102

Average calls per day
1'048'591

Max calls for one day
12'208'780


Loading chart ...

Resources

  • /v1/stationboard 3'292'812'656
  • /v1/connections 2'131'709'684
  • /v1/locations 124'582'914
  • /v1/ 516'170
  • /v1 78'995

Stations 2012–2017

  • Innertkirchen, Grimseltor 103'056'869
  • Bern 80'342'006
  • Lausanne, Fourmi 18'643'486
  • Zürich, Stockerstrasse 14'344'856
  • Lausanne 10'903'331

Errors

  • MethodNotAllowedHttpException 405 225'158'614
  • Exception 500 7'656'393
  • RequestException 500 3'751'756
  • ContextErrorException 500 3'273'275
  • NotFoundHttpException 404 1'293'890

All errors in detail

Who calls

Time window: · change

Kind of client

Client Requests Share

Distinct clients per day

Date Clients Half of the requests from 90 % from

Requests by hour of the day

Average requests per hour, rate-limited ones included, over the hours of the window that were recorded.

What is asked for

Time window: · change

Counted exactly as the clients wrote them. A station can be asked for by its name or by its number, the Swiss stop ID (8507000 is Bern), and the count does not look either up: «Bern», «bern» and «8507000» are three entries for the same station, and a station may therefore rank lower than it is asked for. Rate-limited and failed requests are not counted.

Station boards

StationRequests

Connections

From → toRequests

Calls and errors

Errors are answers the API could not give: search.ch failing or timing out, unknown paths, wrong methods, invalid parameters. Rate-limited requests (HTTP 429) are not errors and not counted here. Errors are counted from 22. November 2015 on.

Each bar is the calls of a year or a day, the red part its errors. Hover a bar for the figures and the error rate. The paler bar is the year or day so far; the rate for 2015 counts from 22. November on, and there is none before.

Errors in detail

Calls

Errors

Error rate

Rate limited (429)

Error Status Meaning Count Share