UP17 Communication Pvt Ltd
NDC · REST/JSON · Developer-First

Duffel API

The modern, developer-first flight booking API — one simple REST interface to book flights across 300+ airlines using NDC (New Distribution Capability). No GDS contracts, no XML, no complexity.

HeadquartersLondon, UK
Airlines300+ via NDC
API FormatREST / JSON
AuthBearer Token
Free TierTest Environment
Founded2017

What is Duffel?

Duffel is a London-based travel technology company that has built a unified REST API connecting travel businesses directly to airlines through NDC (New Distribution Capability) — the IATA standard for direct airline-to-agency data exchange that bypasses traditional GDS intermediaries.

The traditional approach to flight booking requires travel agencies to access inventory through GDS systems (Amadeus, Sabre, Travelport), which add cost, complexity, and latency to every transaction. Duffel replaces this with a clean, modern REST API that speaks directly to airlines, delivering richer content (like seat maps, ancillaries, and branded fares) that GDS systems often lack.

Duffel is backed by Benchmark, Index Ventures, and other leading VCs, and has grown rapidly among developer-led travel startups. Major airlines accessible via Duffel include British Airways, Lufthansa, American Airlines, Air France, Emirates, Qantas, and more. Indian carriers are expanding their NDC participation, making Duffel increasingly relevant for India-based travel portals.

Core API Capabilities

Offer Requests

Search for available flights with live pricing from airlines' own systems. Returns "offers" with full fare breakdowns, conditions, and ancillary options.

Seat Maps

Retrieve a visual seat map for any flight offer showing available seats, seat types (standard, extra legroom, exit row) and pricing per seat.

Ancillary Services

Add extra baggage, meals, seat selection and travel insurance at the time of booking — delivered directly by the airline, not via workarounds.

Order Creation & Management

Create bookings (orders), retrieve e-tickets, manage cancellations and refunds — all through a single, consistent REST interface.

Duffel Payments

Optional integrated payment processing — charge customer cards through Duffel's payment infrastructure without needing a separate payment gateway for airline bookings.

Duffel Links (No-Code)

A hosted booking widget that requires zero backend code — embed a working flight search and booking interface in minutes using a simple JavaScript snippet.

Quick Start

  1. 1
    Sign up at duffel.com — instant account creation, no waiting for approval. You get sandbox access immediately.
  2. 2
    Get your API token — from the Duffel dashboard, generate a test token (prefixed duffel_test_) for sandbox use.
  3. 3
    Make your first search — send a POST to /air/offer_requests with origin, destination, date and passenger count.
  4. 4
    Retrieve offers — GET /air/offers?offer_request_id=XXX to receive live flight options with pricing.
  5. 5
    Create an order — POST to /air/orders with the selected offer ID and passenger details to book the flight.
  6. 6
    Go live — swap your test token for a live token (duffel_live_) after completing the Duffel go-live checklist.

Sample API Request

json
// Step 1: Create an offer request
POST https://api.duffel.com/air/offer_requests
Authorization: Bearer duffel_test_XXXXXXXXXX
Content-Type: application/json

{
  "data": {
    "slices": [{
      "origin": "DEL",
      "destination": "LHR",
      "departure_date": "2025-12-20"
    }],
    "passengers": [{"type": "adult"}],
    "cabin_class": "economy"
  }
}

// Response
{
  "data": {
    "id": "orq_0000A8fNGXWxFXBIVlnMqQ",
    "slices": [...],
    "passengers": [...],
    "offers": [
      {
        "id": "off_0000A8fNH2XNXBIVlnMrZ",
        "total_amount": "42350.00",
        "total_currency": "INR",
        "base_amount": "38200.00",
        "tax_amount": "4150.00",
        "expires_at": "2025-11-01T10:00:00Z"
      }
    ]
  }
}

Pricing

Duffel charges a small fee per booking — typically $0.50 to $1.50 per order depending on volume and airline. There are no monthly fees or minimum commitments. For high-volume partners, custom pricing is available. The test environment is completely free with no booking charges.

Pros & Cons

Pros

  • Fastest integration in the market (hours, not weeks)
  • Clean REST/JSON — no GDS XML complexity
  • Rich NDC content: seats, ancillaries, branded fares
  • No upfront contracts or minimum volumes
  • Excellent documentation and SDKs (JS, Python, Ruby)
  • Duffel Links enables no-code embedding

Cons

  • Airline coverage still growing — not all carriers available
  • Less suitable for high-volume enterprise (Amadeus/Sabre better)
  • Per-booking fee can add up at scale
  • Primarily strong in European/US carriers
  • Limited multi-city routing support on some airlines
Best For Developer-led travel startups, SaaS tools with embedded travel booking, corporate expense management platforms, and any team that wants fast time-to-market without GDS contracts or XML parsers.

Build a Modern Flight Booking Portal with Duffel

UP17 Communication integrates Duffel API into web portals and mobile apps — handling search, seat selection, booking, payments and post-booking management.

Start Your Project
Chat on WhatsApp