Flight Booking APIs for AI Agents

Pay-per-request access to flight offers, hotel availability, activity search, airport transfers, and real-time flight tracking. No API keys, no subscriptions.

1API
74endpoints
$0.0010–$0.40per call
1mo agoupdated
Pay per callNo API keysUSDC · Base
Get started with AgentCash →
npx agentcash try https://stabletravel.dev
StableTravel
stabletravel.dev

How It Works

Send a GET or POST request to search flights, hotels, activities, or transfers. Receive structured JSON responses with pricing, availability, and booking details. Every request is paid individually — no authentication keys or monthly commitments required.

The API wraps Amadeus for flights, hotels, activities, and transfers, plus FlightAware AeroAPI for real-time flight tracking, position data, and airport information. You get access to both through a single unified interface.

Flight Search, Pricing, and Booking

Search flight offers by origin, destination, and date using the GET or POST search endpoints. Narrow results with advanced criteria like cabin class, number of stops, or airline preference.

Confirm pricing on selected offers, view seatmaps, check upsell options, and complete the booking — all through sequential API calls. Retrieve or cancel existing orders by ID. Check-in links and flight status endpoints round out the workflow.

Hotel Discovery and Booking

List hotels by city code or geographic coordinates. Autocomplete hotel names for search UIs. Search offers by hotel IDs or for a specific property, then retrieve detailed offer information before booking.

Hotel sentiment ratings and reviews are available at no cost, helping you surface quality signals alongside pricing data.

Activities, Transfers, and Reference Data

Search tours and activities near a location or within a geographic bounding box. Get detailed descriptions and pricing for individual activities.

Search, book, and cancel ground transfers between airports and hotels. Reference endpoints provide airline routes, airport routes, nearby airports, city lookups, and destination recommendations.

Real-Time Flight Tracking

Query live flight positions, filed routes, and flight maps using FlightAware AeroAPI endpoints. Look up flights by designator, registration number, or FlightAware flight ID.

Get canonical identifiers for airports and flights, set flight intents for push notifications, and retrieve PNG map images of flight tracks — all at per-request pricing starting at $0.001.

Use cases

AI agent trip planner

Build an autonomous agent that searches flights and hotels, compares prices, and books itineraries on behalf of users — paying only for the API calls it makes.

Flight status monitoring dashboard

Poll real-time flight positions and status data to power a live dashboard showing delays, gate changes, and estimated arrival times for tracked flights.

Hotel price comparison engine

Search hotel offers across cities or coordinates, aggregate pricing from multiple properties, and surface the best rates to end users in a comparison UI.

Airport transfer booking flow

Search available ground transfers between airports and hotels, present options to travelers, and complete bookings programmatically through the transfers endpoints.

Destination recommendation service

Combine the recommendations endpoint with activity search to suggest destinations and surface local tours and experiences tailored to user preferences.

Airline route network analysis

Use airline-routes and airport-routes reference endpoints to map carrier networks, identify underserved routes, and analyze connectivity between airports.

Endpoints

GET
/api/hotels/search/by-hotel
Search hotel offers for a specific hotel
$0.032400 USD
GET
/api/flightaware/flights/id
Get flight information by ident (designator, registration, or fa_flight_id)
$0.010000 USD
GET
/api/flights/search
Search flight offers by query parameters
$0.054000 USD
POST
/api/flights/search
Search flight offers with advanced criteria
$0.054000 USD
GET
/api/hotels/autocomplete
Autocomplete hotel names
$0.005400 USD
GET
/api/flightaware/airports/id/canonical
Get the canonical airport code for a given airport identifier
$0.002000 USD
POST
/api/flights/availability
Search flight availabilities
$0.032400 USD
POST
/api/flights/book
Create a flight booking order
$0.086400 USD
GET
/api/flights/checkin-links
Get airline check-in page links
$0.005400 USD
GET
/api/flights/orders
Retrieve a flight order by ID
$0.005400 USD
POST
/api/flights/orders/cancel
Cancel a flight order by ID
$0.005400 USD
POST
/api/flights/price
Get confirmed pricing for flight offers
$0.032400 USD
GET
/api/flights/seatmap
Get seatmaps for a flight order
$0.032400 USD
POST
/api/flights/seatmap
Get seatmaps for flight offers
$0.032400 USD
GET
/api/flights/status
Get flight schedule and status information
$0.005400 USD

Frequently asked questions

What authentication is required?

No API keys or account signups are needed. Requests are authenticated via x402 micropayments through your AgentCash wallet. You pay per request at the time of the call.

How much do API calls cost?

Pricing varies by endpoint. Flight searches cost $0.054 per request, hotel searches $0.0324, flight tracking lookups start at $0.002, and transfer searches are $0.00324. Full per-endpoint pricing is listed in the API specification.

What data format do responses use?

All endpoints return structured JSON. Flight tracking map endpoints return PNG images. Request and response schemas follow Amadeus and FlightAware AeroAPI conventions.

Can I complete end-to-end bookings through the API?

Yes. The API supports the full booking lifecycle for flights, hotels, and transfers — from search through pricing confirmation, booking creation, order retrieval, and cancellation.

What protocols does this API support?

The API supports the x402 and MPP (Machine Payment Protocol) standards, making it directly accessible to AI agents and automated systems that use AgentCash for payment.

Are there rate limits?

Rate limits are not explicitly documented. Since each request requires a micropayment, usage is naturally governed by your wallet balance. Check the provider documentation for any additional constraints.

This page is compiled from live OpenAPI specs published by each API provider. Content last reviewed Apr 7, 2026 by the AgentCash team. How we build these pages.