"Flight Cheapest Date Search API skill. Use when working with Flight Cheapest Date Search for shopping. Covers 1 endpoint."
Resources
1Install
npx skillscat add lap-platform/claude-marketplace/flight-cheapest-date-search Install via the SkillsCat registry.
SKILL.md
Flight Cheapest Date Search
API version: 1.0.6
Auth
No authentication required.
Base URL
https://test.api.amadeus.com/v1
Setup
- No auth setup needed
- GET /shopping/flight-dates -- verify access
Endpoints
1 endpoints across 1 groups. See references/api-spec.lap for full details.
shopping
| Method | Path | Description |
|---|---|---|
| GET | /shopping/flight-dates | Find the cheapest flight dates from an origin to a destination. |
Enhanced Skill Content
Question Mapping
- "What are the cheapest dates to fly from NYC to London?" -> GET /shopping/flight-dates
- "Find cheap flights from LAX to Tokyo in March" -> GET /shopping/flight-dates
- "What's the cheapest one-way ticket from SFO to CDG?" -> GET /shopping/flight-dates
- "Show me nonstop flight prices from JFK to MIA for next month" -> GET /shopping/flight-dates
- "Find round-trip flights under $500 from ORD to BCN" -> GET /shopping/flight-dates
- "What are the cheapest 7-day trip options from BOS to LIS?" -> GET /shopping/flight-dates
- "Compare flight prices by date from ATL to CUN" -> GET /shopping/flight-dates
- "Show cheapest flights grouped by week from DFW to LHR" -> GET /shopping/flight-dates
- "Are there any nonstop flights under $300 from SEA to HNL?" -> GET /shopping/flight-dates
- "What's the best departure date for a 10-day trip from IAD to FCO?" -> GET /shopping/flight-dates
- "Find the cheapest weekend getaway flights from EWR to MBJ" -> GET /shopping/flight-dates
- "Show me price trends for flights from PHX to NRT departing in June" -> GET /shopping/flight-dates
- "What does a flexible-date search look like for SFO to SYD?" -> GET /shopping/flight-dates
Response Tips
- Shopping results: Response contains
data[]with flight-date objects includingprice.totalanddepartureDate-- always sort client-side if you need a specific order. Checkdictionariesfor currency codes and carrier names. Pagination may usemeta.links.next; follow it until exhausted for full date ranges. - Errors (400): Inspect
errors[].detailfor invalid IATA codes, malformed dates, or conflicting params (e.g.,durationwithoneWay=true). Multiple errors can appear in a single response. - 404: No results found for the origin/destination/date combination -- not necessarily an API failure. Suggest broadening search (remove
nonStop, raisemaxPrice, widen date range). - 500: Amadeus upstream failure. Retry with exponential backoff, max 3 attempts.
Anomaly Flags
- Rate limit headers: Surface
X-RateLimit-Remainingwhen below 20% of limit -- recommend batching or throttling subsequent calls. - Empty results with 200: A successful response with an empty
data[]array likely means no availability, not an error. Flag this distinctly from 404. - Currency mismatch: If
dictionaries.currenciesreturns a currency the user didn't expect, surface it before they compare prices. - Stale pricing: Flight prices are volatile. Flag if results are being cached or reused across sessions -- recommend a fresh call for booking decisions.
- Deprecated fields: Watch for any
warnings[]array in the response; surface these verbatim as they indicate sunset timelines or changed behavior. - Large date ranges: If the user omits
departureDate, the API may return a broad range. Flag when results span more than 60 days so the user can narrow scope.
Playbook
1. Find the Cheapest Travel Dates Between Two Cities
- Call
GET /shopping/flight-dateswithoriginanddestination(IATA codes) - Omit
departureDateto get the broadest date range - Set
viewBy=DATEto see day-by-day pricing - Sort the
data[]array byprice.totalascending - Present the top 5 cheapest dates with prices and currency
2. Budget-Constrained Trip Planning
- Call
GET /shopping/flight-dateswithorigin,destination, andmaxPriceset to the user's budget - Set
durationto desired trip length (e.g.,7for a week) - If results are empty, retry with
maxPriceincreased by 20% ornonStop=false - Present matching date ranges with total round-trip cost
3. Nonstop Flight Price Comparison
- Call
GET /shopping/flight-dateswithorigin,destination,nonStop=true - Call again with
nonStop=false(or omit the param) - Compare the cheapest price from each result set
- Surface the price difference and whether the nonstop premium is worth it
- Flag if no nonstop options exist (empty first result)
4. One-Way vs Round-Trip Price Check
- Call
GET /shopping/flight-dateswithorigin,destination,oneWay=true - Call again with
oneWay=false(default) and a reasonableduration - Compare: if two one-ways cost less than the round-trip, recommend booking separately
- Note that one-way availability may differ from round-trip availability
5. Monthly Price Overview for Flexible Travelers
- Call
GET /shopping/flight-dateswithorigin,destination, anddepartureDateset to the target month (e.g.,2026-06) - Set
viewBy=WEEKfor a summary view orviewBy=DATEfor granular pricing - Identify the cheapest week or date cluster
- If the user is fully flexible, repeat for adjacent months and compare
- Present a simple price calendar or ranked list of cheapest periods
Response Tips
- Check response schemas in references/api-spec.lap for field details
References
- Full spec: See references/api-spec.lap for complete endpoint details, parameter tables, and response schemas
Generated from the official API spec by LAP