"Flight Inspiration Search API skill. Use when working with Flight Inspiration Search for shopping. Covers 1 endpoint."
Resources
1Install
npx skillscat add lap-platform/claude-marketplace/flight-inspiration-search Install via the SkillsCat registry.
SKILL.md
Flight Inspiration 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-destinations -- verify access
Endpoints
1 endpoints across 1 groups. See references/api-spec.lap for full details.
shopping
| Method | Path | Description |
|---|---|---|
| GET | /shopping/flight-destinations | Find the cheapest destinations where you can fly to. |
Enhanced Skill Content
Question Mapping
- "Where can I fly from London?" -> GET /shopping/flight-destinations
- "What are the cheapest destinations from JFK?" -> GET /shopping/flight-destinations
- "Find nonstop flights from LAX under $500" -> GET /shopping/flight-destinations
- "Where can I go from Paris for a week in August?" -> GET /shopping/flight-destinations
- "Show me one-way flight deals from SFO" -> GET /shopping/flight-destinations
- "What round-trip destinations are available from CDG for 3-5 days?" -> GET /shopping/flight-destinations
- "Find flight inspiration from MIA departing next month" -> GET /shopping/flight-destinations
- "What destinations can I reach from ORD grouped by destination?" -> GET /shopping/flight-destinations
- "Show the cheapest weekend getaways from BOS" -> GET /shopping/flight-destinations
- "Are there any nonstop deals from ATL under 200 euros?" -> GET /shopping/flight-destinations
- "Where can I fly from DFW on December 15th?" -> GET /shopping/flight-destinations
- "Find destinations from FCO viewed by date" -> GET /shopping/flight-destinations
- "What are the best deals from NRT with flexible dates?" -> GET /shopping/flight-destinations
Response Tips
- Flight destinations: Results return as a
dataarray of destination objects containingdestination,departureDate,returnDate, andpricefields. Checkmetafor result count. Thedictionariesobject maps IATA codes to location details. A 404 means no deals found for the given origin/filters, not an invalid request. Prices reflect the cheapest available fare and may change rapidly.
Anomaly Flags
- 404 with valid origin: No deals exist for the given criteria -- suggest relaxing filters (remove
maxPrice,nonStop, or broadenduration) - 400 errors: Likely malformed IATA code for
origin, invalid date format, ordurationoutside accepted range -- surface the specific error detail from the response body - Empty results array: The origin is valid but current inventory has no matching deals -- flag this distinctly from a 404
- Price currency mismatch: Prices may return in different currencies depending on the origin market -- surface the currency field so users don't compare across currencies unknowingly
- 500 errors: Amadeus upstream issue -- recommend retry after a short delay; if persistent, flag as a service degradation
- Rate limiting: Amadeus test environment has strict rate limits -- surface 429 responses immediately and advise waiting before retrying
- Stale departure dates: If
departureDateis in the past relative to today, the API may still accept it but return no results -- proactively warn before sending the request
Playbook
1. Find the Cheapest Getaway from a City
- Call
GET /shopping/flight-destinationswithoriginset to the IATA code (e.g.,JFK) - Omit all optional parameters to get the broadest results
- Sort the returned
dataarray byprice.totalascending - Present the top 3-5 destinations with price, dates, and destination code
- Use the
dictionariesobject to resolve IATA codes to city/country names
2. Search for Weekend Trips with Constraints
- Call
GET /shopping/flight-destinationswithorigin,duration=2(or1,3if ranges are supported), andnonStop=true - Optionally set
maxPriceto cap the budget - Filter results for Friday/Saturday departures client-side if the API doesn't support day-of-week filtering
- Present results grouped by destination with departure/return dates and price
3. Explore Destinations by Date Flexibility
- Call
GET /shopping/flight-destinationswithoriginandviewBy=DATE - Review results organized by departure date rather than destination
- Identify the cheapest travel dates across all destinations
- If a specific destination stands out, follow up with
viewBy=DESTINATIONanddepartureDateset to the cheapest date range
4. Compare One-Way vs Round-Trip Deals
- Call
GET /shopping/flight-destinationswithoriginandoneWay=false(default round-trip) - Note the prices and destinations returned
- Call the same endpoint with
oneWay=true - Compare prices for overlapping destinations to determine if separate one-way bookings offer savings
- Flag any destinations that appear only in one-way results as potential positioning-flight deals
5. Narrow Down Results When Too Many Options Return
- Start with a broad call:
GET /shopping/flight-destinations?origin=LHR - If results are overwhelming, add
maxPriceto cap budget - Add
nonStop=trueto reduce to direct flights only - Set
durationto match available vacation days - Finally, set
departureDateto a specific month or date to finalize options
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