Duffel

API

Search live airline flight offers and create paid flight bookings

Price
Order, content and excess-search fees
Access
Test or live access token

About

Duffel supplies flight offers and airline orders through an API with separate test and live tokens. Search itineraries, refresh an offer and book with passenger details and payment. Offers expire; order, content and excess-search fees apply to production usage.

What you can do with it

  • Search flight offers for dates, airports and passengers in a travel app
  • Book a selected flight offer and retrieve its airline booking reference
  • Retrieve an order and manage flight changes or cancellations through the API

Get started

  1. Create a Duffel account and start with a test token
  2. Search offers and refresh the selected offer before booking
  3. Supply passenger details and payment when creating a live order

Example

curl "https://api.duffel.com/air/offers/$DUFFEL_OFFER_ID" \
  -H "Accept: application/json" \
  -H "Duffel-Version: v2" \
  -H "Authorization: Bearer $DUFFEL_ACCESS_TOKEN"

Details

Hosting
Hosted service
Available in
Worldwide
Official SDKs
JavaScript/TypeScript
MCP server
None

Tasks

Last checked on .