Skip to content

Air API (v2)

Download OpenAPI description
Languages
Servers
Sandbox URL
https://api-ext-sboxmeta.partners.spotnana.com/
Spotnana mock server
https://developer.spotnana.com/_mock/openapi/airapi/

Air

APIs to perform search, checkout and book an air pnr

Operations

Credits

Manage airline credits including company credit pools, credit transfers, and credit redemptions.

Operations

Autocomplete

Operations

airAutocomplete

Request

Security
Bearer
Query
querystringrequired

Query to get autocomplete response

Example: query=LHR
curl -i -X GET \
  'https://api-ext-sboxmeta.partners.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

airports[].​groupInfoobject(AirportGroupInfo)

Grouping criteria for the airports in same group

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

Loyalty Programs

Operations