Wayfinder

FREEMIUM
By waynaut
Updated 5 months ago
Location
-/10
Popularity Score
-
Latency
-
Success Rate

Wayfinder API Documentation

Waynaut is a B2B Multimodal Travel platform that enables people worldwide to travel seamlessly, by combining every means of transport.

Waynaut designs innovative technologies for GDS/OTA/Meta/Accomodation Booking to trade-off flights, trains, buses, ferries, transfers and carpooling into optimal and purchasable itineraries.

Waynaut empowers travellers to compare and purchase the smartest, fastest and cheapest routes to their final destinations.

Wayfinder®, our RESTful JSON API, is easily integrated into customer platforms.

Alternatively, Waypack®, a white label product, allows our customers to brand the front-end application. Waypack® has a responsive layout and is mobile ready.

View API Details
Locations
GETLocations
Travel Solutions
POSTtravels
GET/transporttypes
GET/trips
GET/travels/{id}
GET/travelsolution/{id}
GETLocations

Search locations by name

Header Parameters
X-RapidAPI-HostSTRING
REQUIRED
X-RapidAPI-KeySTRING
REQUIRED
Required Parameters
qSTRING
REQUIREDThe search criteria, look for locations with a name similar to the given q
Optional Parameters
prettyBOOLEAN
OPTIONALFormat the JSON so it's easier to read
sizeNUMBER
OPTIONALMax number of hits returned
countrySTRING
OPTIONALCountry code (ISO 3166-1 alpha-2 code) - filters hits only in the requested country
admin1nameSTRING
OPTIONALAdministrative code 1 name
Code Snippet
unirest.get("https://waynaut.p.rapidapi.com/locations?pretty=false&size=5&country=IT&q=Milan")
.header("X-RapidAPI-Host", "waynaut.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
Sample Response
General
Request URL: https://waynaut.p.rapidapi.com/locations
Request Method: GET
Response Headers
Response Body

Install SDK for NodeJS

Installing

To utilize unirest for node.js install the the npm module:

$ npm install unirest

After installing the npm package you can now start simplifying requests like so:

var unirest = require('unirest');

Creating Request

unirest.get("https://waynaut.p.rapidapi.com/locations?pretty=false&size=5&country=IT&q=Milan")
.header("X-RapidAPI-Host", "waynaut.p.rapidapi.com")
.header("X-RapidAPI-Key", "SIGN-UP-FOR-KEY")
.end(function (result) {
  console.log(result.status, result.headers, result.body);
});
OAuth2 Authentication
Client ID
Client Secret
OAuth2 Authentication