Duffel

API

Search live airline flight offers and create paid flight bookings

Fiyat
Order, content and excess-search fees
Erişim
Test or live access token

Hakkında

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.

Neler yapabilirsin

  • 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

Başlarken

  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

Örnek kod

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

Ayrıntılar

Barındırma
Hazır hizmet (bulut)
Kullanılabildiği yerler
Tüm dünya
Resmi SDK'lar
JavaScript/TypeScript
MCP sunucusu
Yok

Görevler

Son kontrol: .