duffel
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.
npx skills add borski/travel-hacking-toolkit --skill duffel --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# 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
- Prerequisites
- API Basics
- Search Flights (One-Way)
- Search Flights (Round-Trip)
- Search Flights (Multi-City)
- Nonstop Only
- Multiple Passengers
- Time Preferences
- Query Parameters
- Reading the Response
- Get Offer Details
- Parsing Tips
- Cabin Classes
- Important Notes
curl -s -X POST "https://api.duffel.com/air/offer_requests?return_offers=true&supplier_timeout=15000" \ curl -s "https://api.duffel.com/air/offers/$OFFER_ID" \
What does the duffel skill do?
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.
How do I install it?
Run `npx skills add borski/travel-hacking-toolkit --skill duffel --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From borski/travel-hacking-toolkit, a repository with 611 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.
