FC
Flight Cheapest Date Search
/shopping/flight-dates
Find the cheapest flight dates from an origin to a destination.
Find the cheapest flight dates from an origin to a destination.
liveunknown~3s typical
flight-datesflight
$Set up https://cracked-ai-pearl.vercel.app/SKILL.md, then use Cracked to run oa-amadeus-com-amadeus-flight-cheapest-date-search /shopping/flight-dates for me.
Input
| Field | Type | Description |
|---|---|---|
| origin* | string | IATA code of the city from which the flight will depart [IATA table codes](http://www.iata.org/publications/Pages/code-search.aspx) - e.g. MAD for Madrid default null |
| destination* | string | IATA code of the city to which the flight is going. [IATA table codes](http://www.iata.org/publications/Pages/code-search.aspx) - e.g. MUC for Munich default null |
| departureDate | string | the date, or range of dates, on which the flight will depart from the origin. Dates are specified in the [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) YYYY-MM-DD format, e.g. 2017-12-25. Ranges a default null |
| oneWay | boolean | if this parameter is set to true, only one-way flights are considered. If this parameter is not set or set to false, only round-trip flights are considered default false |
| duration | string | exact duration or range of durations of the travel, in days. This parameter must not be set if oneWay is true. Ranges are specified with a comma and are inclusive, e.g. 2,8 default null |
| nonStop | boolean | if this parameter is set to true, only flights going from the origin to the destination with no stop in-between are considered default false |
| maxPrice | integer | defines the price limit for each offer returned. The value should be a positive number, without decimals default null |
| viewBy | string (DATE | DURATION | WEEK) | view the flight dates by DATE, DURATION, or WEEK. View by DATE (default when oneWay is true) to get the cheapest flight dates for every departure date in the given range. View by DURATION (default whe default null |
Call it
curl
curl https://cracked-ai-pearl.vercel.app/v1/run \
-H "Authorization: Bearer ck_live_..." -H "content-type: application/json" \
-d '{"provider":"oa-amadeus-com-amadeus-flight-cheapest-date-search","endpoint":"/shopping/flight-dates","input":{"origin":"...","destination":"...","departureDate":"...","oneWay":false,"duration":"...","nonStop":false,"maxPrice":1,"viewBy":"DATE"}}'cli
npx cracked-ai run -p oa-amadeus-com-amadeus-flight-cheapest-date-search -e /shopping/flight-dates -i '{"origin":"...","destination":"...","departureDate":"...","oneWay":false,"duration":"...","nonStop":false,"maxPrice":1,"viewBy":"DATE"}'mcp
run_tool({ provider: "oa-amadeus-com-amadeus-flight-cheapest-date-search", endpoint: "/shopping/flight-dates", input: {"origin":"...","destination":"...","departureDate":"...","oneWay":false,"duration":"...","nonStop":false,"maxPrice":1,"viewBy":"DATE"} })Try it
Runs against your signed-in workspace balance. Sign in if you have not.