Wayfinder test endpoints

FREE
By waynaut
Updated 10 months ago
Travel
-/10
Popularity
-
Latency
-
Success Rate

Wayfinder test endpoints API Documentation

Test Endpoints for Waynaut's Wayfinder new APIs!!! Preview of new features

View API Details
GETlocations
GETtransporttypes
POSTtravels
GET/travels/{searchid}
GETtravelsolution
GETtrips
POSTtravels

Create a search request task. The request contains details of the departure and arrival location, departure date, travelers type and, optionally, a subset of transport types to be used. Latitude and longitude are expressed in decimal degree notation (e.g.: 45.45217560).

A successful response has no content. The URL to poll the search result details is specified in the Location header of the response.

After starting a new task, please allow al least 10 seconds before polling the search result endpoint.

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
latsNUMBER
REQUIREDLatitude of departing location
lonsNUMBER
REQUIREDLongitude of departing location
latdNUMBER
REQUIREDLatitude of destination location
londNUMBER
REQUIREDLongitude of destination location
departuredateSTRING
REQUIREDDeparture date (format: yyyy-MM-dd)
Optional Parameters
adultsNUMBER
OPTIONALNumber of Adult travellers
seniorsNUMBER
OPTIONALNumber of Senior travellers
childrenNUMBER
OPTIONALNumber of Children travellers
infantsNUMBER
OPTIONALNumber of Infant travellers
transporttypeSTRING
OPTIONALTransport type selection, array of desired transport types; in the current implementation you should pass comma separated values, e.g.: transporttype=BUS,TRAIN,.. Possible values are: FLIGHT, TRAIN, BUS, CARPOOLING, FERRY
returndateSTRING
OPTIONALReturn date in yyyy-MM-dd format, if not present a one-way trip is returned
Code Snippet
Install SDK
Response ExampleSchema

Install SDK for (Node.js)Unirest

OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication