Free Public APIs

A collection of 459 Free Public APIs for Students and Developers.

Tested every single day.

sponsored by

HSLU – SponsorVoxgig - Sponsor

🚆Transport API

Actions

Description

Swiss public transport API with endpoints for locations, connections, and stationboard

Showcase

Currently, there are no Showcases using this API.

Endpoints

GET

Returns the next connections leaving from a specific location.

http://transport.opendata.ch/v1/stationboard?station=Aarau&limit=10

URL Parameters

ParameterValue

Last 30 Days

100 % Reliability

Avg. Response Time

614 ms

0 % Error Rate

CORS

Enabled

Endpoint Checked

6 hours ago

Endpoint Added

a year ago

GET

Transport

http://transport.opendata.ch/v1/locations?query=Basel

URL Parameters

ParameterValue

Last 30 Days

100 % Reliability

Avg. Response Time

63 ms

0 % Error Rate

CORS

Enabled

Endpoint Checked

9 hours ago

Endpoint Added

a year ago

GET

Returns the next connections from a location to another

http://transport.opendata.ch/v1/connections?from=Lausanne&to=Genève

URL Parameters

ParameterValue

Last 30 Days

100 % Reliability

Avg. Response Time

381 ms

0 % Error Rate

CORS

Enabled

Endpoint Checked

5 hours ago

Endpoint Added

a year ago

Comments

Currently, there are no Comments for this API.