APIHub

API Playground

Test verified public APIs in your browser via a security-hardened proxy — only 2,603 allowlisted APIs can be reached. Built for single-endpoint APIs and large surfaces like Plaid or Slack.

🔌
departureboard.io API

Transportation · OpenAPI imported · 6 endpoints

community
6 endpoints
Auth: none
HTTPS

Endpoints

6

GetArrivalsAndDeparturesByCRS

GetArrivalsByCRS

GetDeparturesByCRS

GetFastestDeparturesByCRS

GetNextDeparturesByCRS

GetServiceDetailsByID

Request

proxy validates path

Hostapi.departureboard.io· SSRF-safe proxy
Auth

query · required — The National Rail OpenLDBWS API Key to use for looking up service information. You must register with National Rail to obtain this key and whitelist it with us. See https://api.departureboard.io/docs/registration for more information.

query — The number of arriving and departing services to return. This is a maximum value, less may be returned if there is not a sufficient amount of services arriving to or departing from this station within the time window specified.

query — The time window in minutes to offset the arrival and departure information by. For example, a value of 20 will not show services arriving to or departing from the station within the next 20 minutes.

query — The time window in minutes to offset the arrival and departure information by. For example, a value of 20 will not show services arriving to or departing from the selected station within the next 20 minutes.

query — Should the response contain information on the calling points for each service? If set to false, calling points will not be returned.

query — The CRS (Computer Reservation System) code to filter the results by. When setting this you must also set the filterType parameter. For example, performing a lookup for PAD (London Paddington) and setting filterStation to RED (Reading) and filterType to from, will only show services arriving to London Paddington that stopped at Reading. Setting a filter for getArrivalsAndDeparturesByCRS is similar to performing a getArrivalsByCRS or getDeparturesByCRS lookup, with the appropriate filterStation parameter. However using the getArrivalsAndDeparturesByCRS endpoint shows more details for each of the returned services.

query — Determines if the filterStation parameter should be applied for services arriving to, or leaving from the selected station. Required if filterStation is set.

Response

Send a request to see the real response here — status, timing, and body.

The playground routes through a security-hardened proxy. Only allowlisted hosts are reachable. Try departureboard.io API to start.

Loading...