APIs / Trainline / Stations Nearby
Trainline: Stations Nearby
Stations Nearby from Trainline as JSON. 1 credit per successful call.
GET /v1/trainline/stations-nearby
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
station_id | string | Required | Any |
window | string | Optional | 0000-0600, 0600-1200, 1200-1800, 1800-2400 |
locale | string | Optional | Any |
Example request
curl "https://api.perceptlayer.com/v1/trainline/stations-nearby" \
-H "X-API-Key: $API_KEY"Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.