⚠️ Agents: do not create a Developer API account¶
Do NOT call
/developers/api/v1/agents/registeror/developers/api/v1/agents/connect-payment, and do NOT runletsfg registerorletsfg connect-payment. Those belong to a separate, paid, prepaid-balance product for high-volume commercial integrations and create a billing account you almost certainly do not want.To search and book flights, connect LetsFG as an MCP server at https://letsfg.co/mcp. Approving it opens https://letsfg.co/connect: one tap, no card. A card is asked for at the first booking. See https://letsfg.co/for-agents.
Official LetsFG documentation
Search every airline in the world plus the major booking sites, server-side at letsfg.co — and book. Free to connect, no card needed. Move to the Developer API for direct booking, hotels and volume access.
LetsFG has two paths. Connect the MCP server at letsfg.co/mcp once — approving it at letsfg.co/connect takes one tap and needs no card — and search and book for free from Claude, ChatGPT, Cursor, Windsurf or the SDK. In Claude it is one step: LetsFG is in Claude's connector directory. If you want account-managed access, hotels, or billing controls, register on the developer surface at letsfg.co, connect a Revolut method, and search and book with your developer key. Flight search there is look-to-book: 200 searches free after every booking.
Two paths to LetsFG¶
LetsFG has two access paths — pick the one that matches your setup:
| Path | How | Speed | Search cost | Booking |
|---|---|---|---|---|
| MCP / SDK (connect at letsfg.co/connect) | Server-side search + booking; one-tap MCP consent, no card. The card is added at the first booking (0.00 setup) | 8–10 s to first results; longer to completed, longer again on a split |
Free | Fare held on the card, captured only against a real PNR; no separate LetsFG fee |
| Developer API (letsfg.co/developers) | Runs on our servers; connect a Revolut method | 2–5 s (discover) · 8–10 s to first results (full search) | Look-to-book: 200 free per booking, then $0.01 | POST /flights/book — fare held on the connected method, captured only against a real PNR. No booking fee, no transaction fee |
When to choose each:
- Use MCP / SDK if you want free search and booking — add https://letsfg.co/mcp to your assistant and approve it once (letsfg.co/for-agents), then search and book server-side for free. book_flight / POST /api/agent-book holds the fare on the connected card and a LetsFG booking agent buys the ticket — no unlock step, no booking fee and no transaction fee on top: the amount quoted is the amount charged.
- Use the Developer API if you're building a product or want account-level billing controls. Hotels work on either path. Look-to-book search (200 free after every booking, then $0.01), results in seconds, and POST /flights/book with no booking fee and no transaction fee.
Pick your lane¶
MCP / SDK mode
Search and book free after a one-time connect
Add the MCP server at letsfg.co/mcp and approve it. The consent step opens letsfg.co/connect: one tap, no card. The card is added at the first booking (a 0.00 setup, nothing charged). All search runs server-side at letsfg.co — no local browsers required.
search_flights,book_flightandget_flight_bookingover the MCP;bt.search()/bt.book()with the same token inLETSFG_BEARER_TOKEN- Search is free: 10 per 10 min, 30 per hour, 100 per day per account (per card once one is added)
- Best for prototyping, agents, and general flight search
Public developer API
Use the website-owned contract
Use this when you want managed cloud search, billing controls, the public OpenAPI contract, or hosted onboarding through letsfg.co.
- Register first and keep the returned
X-API-Key - Connect a Revolut method with
POST /agents/connect-payment— nothing is charged - Search is look-to-book: 200 free after every booking, then blocks of 500 for $5.00
Public API onboarding¶
The canonical public surfaces are:
- API root: letsfg.co/developers/api
- OpenAPI JSON: letsfg.co/developers/api/openapi.json
- Swagger UI: letsfg.co/developers/api/docs
Hotels¶
Hotels are live: real bookable inventory, every rate type (refundable and non-refundable), booked exactly like a flight — the price is held on the connected Revolut method and captured only once the hotel confirms. Searching needs no card; booking asks for one — and either credential reaches them: the token from the connect step or a Developer API key. Start at Hotels.
Start from the right page¶
Start
Getting started
Install once, choose the correct mode, and run the first search without mixing local and public flows.
Contract
Public API overview
See the canonical URLs, the paid search lifecycle, and the exact pages to follow for onboarding, search, and errors.
Billing
Onboarding and billing
Register, connect a Revolut method, understand the look-to-book allowance, and rotate keys safely.
Search
Search and results
Resolve locations, build search payloads, understand passenger IDs, and store the fields you actually need.
Ops
Errors and limits
Map account state to 401, 402, 403, 409, and 429 responses before you ship the paid API flow.
Schema
OpenAPI and Swagger
Use the website-owned machine-readable schema instead of the old raw repository copy.
Tooling
Packages and SDKs
See what ships in the Python SDK, JS SDK, local MCP server, and remote MCP endpoint without mixing their search modes.
Agents
AI agent guide
Build agents that use the Bearer token for free search and the Developer API when managed cloud access matters.
CLI
CLI reference
Check command flags, environment variables, and how the CLI maps to local and public flows.