Spotnana Air API

APIs to perform search, checkout and book an air pnr

GitHub OpenAPI

Operations 18

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /v2/air/search-flights Search flights for a trip · Get air itineraries #
Ask an LLM
“What flights are available from London to New York next month?”
“Can I filter air search results by price or departure time?”
Tell an agent
Search flights for {travelers} on {legs}.
Find flights for {travelers} on {legs} filtered by {filters}.
POST /v2/air/flight-attributes Get flight amenities and fare rules · Get flight attributes #
Ask an LLM
“What amenities and fare rules apply to the flights in a search?”
“Can I see the full air search response with attributes?”
Tell an agent
Get flight attributes for search {searchId}.
Show amenities and fare rules for air search {searchId}.
POST /v2/air/selected-itinerary Get the itinerary a traveler selected · Get selected itinerary #
Ask an LLM
“Which itinerary did the traveler pick from the air search results?”
“Can I fetch the selected itinerary for a search?”
Tell an agent
Get selected itinerary {itineraryId} from search {searchId}.
Show the traveler's chosen flight {itineraryId} in air search {searchId}.
GET /v2/air/airlines-info List airlines with active and inactive status · Get Airlines Information (Air) #
Ask an LLM
“Which airlines are active in Spotnana, including inactive ones?”
“Can I get airline information for all airlines marked active?”
Tell an agent
List airlines with includeInactive set to {includeInactive}.
Show all airlines, active and inactive, for includeInactive {includeInactive}.
POST /v2/air/flight-checkout Get checkout details for a selected itinerary · Get flight checkout details #
Ask an LLM
“What does the checkout look like for the itinerary I selected?”
“Can I see the flight checkout details before paying?”
Tell an agent
Get flight checkout details for itinerary {itineraryId} in search {searchId}.
Show the checkout for air search {searchId} itinerary {itineraryId}.
POST /v2/air/seat-map Get the seat map for an itinerary · Get flight seat map #
Ask an LLM
“Which seats are still available on the flights in my itinerary?”
“Can I see the seat map for a specific traveler on an itinerary?”
Tell an agent
Get the seat map for itinerary {itinerary} for travelers {travelerInfos}.
Show available seats on itinerary {itinerary} for {travelerInfos}.
POST /v2/air/initiate-booking Start an air booking · Initiate booking #
Ask an LLM
“How do I start a booking for a trip I found?”
“Can I initiate a booking with existing travelers and charges?”
Tell an agent
Initiate a booking for travelers {travelers}.
Start a new air booking with travelers {travelers} and charges {bookingCharges}.
POST /v2/air/revalidate-itinerary Validate an air itinerary · Validate air itinerary #
Ask an LLM
“Can I check availability and pricing on an air itinerary with a promotion code?”
“What does validating a flight itinerary return?”
Tell an agent
Validate air itinerary {tripId} for availability and pricing.
Validate itinerary {tripId} with {promotionCode}.
POST /v2/air/intermediate-revalidate-itinerary Check fare details mid-booking · Validate air itinerary (interim) #
Ask an LLM
“Can I see the latest fare details before I check out?”
“Is there a way to validate an itinerary at an interim stage?”
Tell an agent
Validate itinerary {itineraryId} in air search {searchId} at an interim stage.
Get the latest fare details for air search {searchId} itinerary {itineraryId}.
POST /v2/air/create-pnr Create a PNR from a revalidated itinerary · Create air pnr #
Ask an LLM
“How do I turn a revalidated itinerary into a PNR?”
“Can I create a booking with pre-authorization approval?”
Tell an agent
Create a PNR for booking {bookingId} from itinerary {itineraryId}.
Create a PNR for booking {bookingId} with pre-authorization approval {isPreAuthApprovalRequired}.
POST /v2/air/cancel-pnr Cancel a PNR and issue refunds · Cancel Air Pnr #
Ask an LLM
“Can I cancel a booked flight and get a refund?”
“Which cancellation option do I choose when cancelling a PNR?”
Tell an agent destructive · confirm first
Cancel PNR {pnrId} with option {optionId}.
Cancel booking {pnrId} using cancellation option {optionId} and override {cancellationOverride}.
GET /v2/air/pnrs/{pnrId}/exchange-details Get exchange details for a PNR · Get PNR exchange details #
Ask an LLM
“What can I exchange on the tickets in my PNR?”
“Can I see the exchange details for a booked flight?”
Tell an agent
Get exchange details for PNR {pnrId}.
Show what I can exchange on the tickets in booking {pnrId}.
POST /v2/air/modify-search Search flights for exchanging a PNR · Modify Search #
Ask an LLM
“What flights are available to replace the legs in my booked PNR?”
“Can I modify a PNR by adding or removing legs?”
Tell an agent
Search flights for exchanging PNR {pnrId} with legs {legs}.
Modify PNR {pnrId} by replacing its legs with {legs}.
POST /v2/air/modify-book Book new legs into an existing PNR · Modify Book #
Ask an LLM
“How do I add a new flight leg to a PNR I already booked?”
“Can I book existing legs into an existing PNR?”
Tell an agent
Book new legs into PNR {bookingId} with trip data {tripData}.
Add existing legs to booking {bookingId} using trip data {tripData}.
POST /v2/air/pnrs/{pnrId}/update Edit a PNR's traveler details · Edit PNR #
Ask an LLM
“Can I change a traveler's name or seat on a PNR?”
“How do I update Special Service Requests on an existing booking?”
Tell an agent
Edit PNR {pnrId} for traveler {travelerInfo}.
Update PNR {pnrId} with traveler info {travelerInfo} and seat map {seatMapResponseId}.
GET /v2/air/special-service-requests List all Special Service Requests · Get Special Service Requests (SSR) #
Ask an LLM
“What Special Service Requests can I add to a booking?”
“Which SSRs does Spotnana support?”
Tell an agent
List all Special Service Requests.
Show every SSR supported by Spotnana.
GET /v2/air/special-service-requests/categories List Special Service Requests for a category · Get Special Service Requests (SSR) for a Category #
Ask an LLM
“What meal options can I request for a flight?”
“Can I see the SSRs in one category, like meals?”
Tell an agent
List Special Service Requests for category {category}.
Show the {category} SSRs.
POST /v2/air/fare-rules/fetch Get raw fare rules for a segment or PNR · Returns the Air Raw Fare Rules for a Segment or Pnr #
Ask an LLM
“What are the fare rules for a segment in my search?”
“Can I fetch raw fare rules for a PNR?”
Tell an agent
Fetch raw fare rules for search {searchId} rate option {rateOptionId}.
Get the fare rules for PNR {pnrId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/spotnana:spotnana-air-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

spotnana-air-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Air API
  version: v2
  description: APIs to perform search, checkout and book an air pnr
servers:
- url: https://api-ext-sboxmeta.partners.spotnana.com
  description: Sandbox URL
security:
- Bearer: []
tags:


# --- truncated at 32 KB (271 KB total) ---
# Full source: https://artifacts.apis.io/spotnana/openapi/spotnana-air-api-openapi.yml