travelpayouts_cheap_prices
Pack: travelpayouts · Endpoint: https://gateway.pipeworx.io/travelpayouts/mcp
Get the cheapest cached flight tickets for a route (one per destination, cheapest first).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
origin | string | yes | Departure IATA city/airport code, e.g. “MOW”, “LON”, “JFK” |
destination | string | no | Arrival IATA city/airport code, e.g. “BCN”, “HKT”. Optional — omit for cheapest from origin to anywhere. |
depart_date | string | no | Departure date, format YYYY-MM or YYYY-MM-DD (optional) |
return_date | string | no | Return date, format YYYY-MM or YYYY-MM-DD (optional, for round trips) |
currency | string | no | Price currency code, e.g. “usd”, “eur”, “rub” (default rub) |
_apiKey | string | yes | Travelpayouts key as “token:marker” (marker optional) |
Example call
Arguments
{
"origin": "MOW",
"destination": "BCN",
"currency": "usd",
"_apiKey": "token:your-travelpayouts-api-key"
}
curl
curl -X POST https://gateway.pipeworx.io/travelpayouts/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"travelpayouts_cheap_prices","arguments":{"origin":"MOW","destination":"BCN","currency":"usd","_apiKey":"token:your-travelpayouts-api-key"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('travelpayouts_cheap_prices', {
"origin": "MOW",
"destination": "BCN",
"currency": "usd",
"_apiKey": "token:your-travelpayouts-api-key"
});
More examples
{
"origin": "JFK",
"depart_date": "2026-08-15",
"return_date": "2026-08-22",
"currency": "usd",
"_apiKey": "token:your-travelpayouts-api-key"
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"travelpayouts": {
"url": "https://gateway.pipeworx.io/travelpayouts/mcp"
}
}
}
See Getting Started for client-specific install steps.