duffel

Featured

Real-time GDS flight search via Duffel API. Accurate per-fare-class pricing, cabin selection, multi-city, time preferences. Primary cash price source. Does not include Southwest.

AI & Automation 600 stars 56 forks Updated today MIT

Install

View on GitHub

Quality Score: 98/100

Stars 20%
93
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Duffel Flights Search for real-time flight offers across airlines via the [Duffel API](https://duffel.com/docs/api). Returns live pricing, cabin details, baggage info, and booking links. Supports one-way, round-trip, and multi-city searches. **Source:** [duffel.com](https://duffel.com) ## Prerequisites - `DUFFEL_API_KEY_LIVE` environment variable set with a live API token - Token needs `air.offer_requests.create` permission ## API Basics - **Base URL:** `https://api.duffel.com` - **Version header:** `Duffel-Version: v2` (REQUIRED, v1 is deprecated) - **Auth:** `Authorization: Bearer $DUFFEL_API_KEY_LIVE` - **Content-Type:** `application/json` - **Rate limit:** 60 requests per 60 seconds ## Search Flights (One-Way) ```bash curl -s -X POST "https://api.duffel.com/air/offer_requests?return_offers=true&supplier_timeout=15000" \ -H "Accept: application/json" \ -H "Duffel-Version: v2" \ -H "Authorization: Bearer $DUFFEL_API_KEY_LIVE" \ -H "Content-Type: application/json" \ -d '{ "data": { "slices": [{ "origin": "SFO", "destination": "NRT", "departure_date": "2026-08-15" }], "passengers": [{"type": "adult"}], "cabin_class": "economy" } }' ``` ## Search Flights (Round-Trip) Add a second slice with origin/destination reversed: ```bash curl -s -X POST "https://api.duffel.com/air/offer_requests?return_offers=true&supplier_timeout=15000" \ -H "Accept: application/json" \ -H "Duffel-Version: v2" \ -H "A...

Details

Author
borski
Repository
borski/travel-hacking-toolkit
Created
4 months ago
Last Updated
today
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category