Why not just use a flight API?
A flight API works well for a traditional booking app. For an agent, it means writing the integration, mapping the response into tool definitions, and maintaining it as the API changes. You’ll also need separate APIs for hotels and cars if your agent plans whole trips.
With MCP, the agent connects to RouteStack once. The flight tools describe themselves, so the agent knows when to use them and what inputs to send.
What the flight tools return
- Real-time pricing from direct supplier connections
- Schedules, stopovers, and total travel time
- Baggage information
- Multi-city search
- Booking links you can hand straight to the traveler
Results come back in the same JSON schema as RouteStack’s hotel, car, activity, and vacation rental tools, so your agent can combine them into one itinerary.
# Send on every request Authorization: Bearer <token> # 1 Start a session POST /mcp/flight/session → sessionId # 2 Search POST /mcp/flight/search → correlationId, searchFilterObj, sessionId # 3 Hand the traveler a checkout link get-payment-url ← correlationId, searchFilterObj, sessionId, selected flight, search parameters
Looking for a free flight API?
You can build and test with RouteStack at no cost. The sandbox is unlimited, uses real flight inventory from popular routes, and works exactly like production. New accounts also get 1,000 free tokens a month on the Hiker plan. You only pay when your agent goes live.
Earn on every flight booking
When a traveler books a flight through your agent, you earn commission, paid weekly via ACH.
Get started
- Sign up and get a sandbox token.
- Add RouteStack’s MCP endpoint to your agent.
https://evolvemcp.routestack.ai/mcp - Ask your agent to find a flight and check the results.
- Swap in your production token to go live.
FAQ
Is RouteStack a flight API?
RouteStack is an MCP server. Your agent connects to it through the Model Context Protocol instead of custom API code. Under the hood, the data comes from direct supplier connections.
Can my agent search multi-city trips?
Yes. Multi-city search is supported.
Does the agent book the flight inside the chat?
The agent gives the traveler a secure booking link to complete the purchase. This checkout link can be white-labeled. Stripe Native ACP integration is also available for addition for in-chat payments.
Start building free.