Free Public APIs

A collection of 470 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

Transport

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

URL Parameters

ParameterValue

Last 30 Days

100 % Reliability

Avg. Response Time

Not enough Data

0 % Error Rate

CORS

Disabled

Endpoint Checked

2 hours ago

Endpoint Added

2 years 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

388 ms

0 % Error Rate

CORS

Enabled

Endpoint Checked

a day ago

Endpoint Added

a year ago

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

365 ms

0 % Error Rate

CORS

Enabled

Endpoint Checked

a day ago

Endpoint Added

a year ago

Comments

Currently, there are no Comments for this API.