APIs / Trip.com / Trains Stations
Trip.com: Trains Stations
Trains Stations from Trip.com as JSON. 1 credit per successful call.
GET /v1/trip-com/trains-stations
Parameters
Send parameters in the query string.
| Parameter | Type | Required | Allowed values |
|---|---|---|---|
mode | string | Optional | search, recommend |
query | string | Optional | Up to 100 characters |
country | string | Optional | Any |
Example request
curl "https://api.perceptlayer.com/v1/trip-com/trains-stations?query=london&country=GB" \
-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.