Travel & Booking APIs 11 min read

Flight Booking API Integration Guide: GDS, NDC and Consolidator APIs Explained

Learn how flight booking engines get their fares — GDS (Amadeus, Sabre, Travelport), airline NDC and consolidator APIs — and the full search, price, book and ticket flow, including PNRs, fare rules and accreditation.

Umer Hasan

Umer Hasan

Co-Founder & CTO at Zapprex

Flight Booking API Integration Guide: GDS, NDC and Consolidator APIs Explained
Table of contents

Three ways to access flight inventory

SourceWhat it isWho it suits
GDSGlobal Distribution Systems such as Amadeus, Sabre and Travelport connecting many airlinesEstablished agencies with accreditation and volume
Airline NDCIATA’s New Distribution Capability: airlines sell richer offers (bundles, seats, bags) directly via APILarger agencies; or via an NDC aggregator
Consolidator / aggregator APIA B2B travel company resells GDS, NDC and low-cost carrier content through one APINew OTAs and agents — fastest way to start

Tip: Most new travel startups start with a consolidator API (in India, B2B travel companies such as TBO and TripJack offer them; globally, NDC aggregators such as Duffel), then add direct GDS access once volumes justify it.

At a glance: Key terms you need to know — PNR, Fare basis and fare rules, Ticketing, IATA accreditation
At a glance: Key terms you need to know

Key terms you need to know

  • PNR: Passenger Name Record — the booking reference holding passengers, itinerary and contacts.
  • Fare basis and fare rules: the conditions of a fare, including baggage, changes and refunds.
  • Ticketing: issuing the e-ticket after booking; a booking can exist without a ticket until the ticketing time limit.
  • IATA accreditation: agencies issuing tickets directly usually need IATA accreditation (or work under a consolidator that has it).
  • LCC: low-cost carriers, which are often distributed differently from full-service airlines.

The booking flow, step by step

The booking flow, step by step: 7 steps
  1. 1

    Search: origin, destination, dates, passengers and cabin; receive priced offers with segments, durations and fares.

  2. 2

    Re-price (verify): before checkout, confirm the selected offer is still available at that price — fares change constantly.

  3. 3

    Fare rules and ancillaries: show baggage, change and refund rules; optionally sell seats, meals and extra bags.

  4. 4

    Collect passenger details: names exactly as on ID, dates of birth, and passport details for international trips.

  5. 5

    Book: create the booking and receive a PNR, plus a ticketing deadline.

  6. 6

    Pay and ticket: take payment, then issue the ticket and send the e-ticket number to the customer.

  7. 7

    Post-booking: handle cancellations, refunds, date changes (reissue) and schedule changes from airlines.

Typical search request shape (varies by provider)json
{
  "slices": [{ "origin": "IDR", "destination": "DXB", "departureDate": "2027-01-15" }],
  "passengers": [{ "type": "adult" }, { "type": "child", "age": 8 }],
  "cabinClass": "economy",
  "maxConnections": 1
}

Engineering challenges

  • Look-to-book ratios: suppliers may charge or limit you if you search far more than you book, so cache results and avoid unnecessary searches.
  • Price changes at booking: show the new price and ask the customer to confirm rather than failing silently.
  • Name rules: typos in names are costly; validate formats and remind customers to match their ID.
  • Asynchronous ticketing: some tickets are issued after a delay — show “booking confirmed, ticket in progress” and notify when ready.
  • Airline schedule changes: process supplier notifications and inform customers of new times or offer alternatives.

Business requirements before you integrate

“Search is the easy part of a flight engine. Re-pricing, ticketing and changes are where the real engineering lives.”

— Umer Hasan, CTO
  1. 1

    Register your business: travel agency registration and GST as applicable.

  2. 2

    Choose a supplier: compare content (which airlines and LCCs), fees, credit terms and support.

  3. 3

    Agree commercials: deposits or credit limits, markups and service fees.

  4. 4

    Get certified: many suppliers require you to complete test bookings before granting production access.

Topics

Flight Booking APIGDSNDCAmadeusTravel Technology
Umer Hasan
Written by

Umer Hasan

Co-Founder & CTO at Zapprex

Leads engineering, cloud infrastructure and AI automation at Zapprex Technologies, with 7+ years of full-stack and mobile experience.

FAQ

Questions readers ask

Not necessarily. Many agencies start under a consolidator that holds accreditation and issues tickets for them. Direct ticketing through a GDS generally requires accreditation or an airline agreement.

Have a project in mind?

Let's build something that moves your business forward.

Share your idea, process or problem — we will come back with a clear plan, timeline and cost range. No technical spec needed.

  • Founder reply within 1 business day
  • NDA on request · 100% code ownership
  • Talk directly to the engineers