Air API (v2)

Download OpenAPI description
Languages
Servers
Staging URL
https://apis.spotnana.com/
Spotnana mock server
https://developer.spotnana.com/_mock/openapi/airapi/

Air

APIs to perform search, checkout and book an air pnr

Operations

Autocomplete

Operations

airAutocomplete

Request

Query
querystringrequired

Query to get autocomplete response

Example: query=LHR
curl -i -X GET \
  'https://apis.spotnana.com/v2/air-autocomplete?query=LHR' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'

Responses

OK

Bodyapplication/json
airportsArray of objects(Airport)required

List of Airports matching the query

airports[].​airportCodestringrequired

Unique code for the Airport

Example: "LHR"
airports[].​airportNamestringrequired

Full Name of the Airport

Example: "Heathrow Airport"
airports[].​cityCodestringrequired

City Code for the location

Example: "LON"
airports[].​locationobject(Location)

Location details

Response
application/json
{ "airports": [ {} ] }

Loyalty Programs

Operations