LetsFG¶
Flight search & booking for AI agents and developers. 400+ airlines, 200 direct airline connectors, virtual interlining — straight from the terminal.
$ pip install letsfg
Quickstart
Install and search in one command — no API key needed. Or register for full 400+ airline access.
API GuideSearch results, error handling, workflows, unlock mechanics.
AI Agent GuideArchitecture, preference scoring, rate limits, price tracking.
CLI ReferenceCommands, flags, cabin codes — full terminal reference.
Architecture GuideParallel execution, failure isolation, caching, browser concurrency, performance optimization.
TutorialsPython & JS integration patterns, concurrent search, building travel assistants.
Packages & SDKsPython SDK, JavaScript SDK, MCP Server for Claude & Cursor.
OpenAPI ReferenceInteractive Swagger docs — try every endpoint in your browser.
Two ways to use¶
| Local Only (no API key) | With API Key (recommended) | |
|---|---|---|
| Install | pip install letsfg |
pip install letsfg |
| Setup | Nothing | letsfg register --email you@example.com |
| Airlines | 200 via local connectors | 200 local + 400+ via GDS/NDC |
| Price | Free | Free — star GitHub repo for access |
| Coverage | LCCs + major carriers with public APIs | Full global coverage including premium carriers |
How it works¶
Search free
→
Unlock free
→
Book free
- Search — real-time offers with price, airlines, duration, stopovers. Free and unlimited.
- Unlock — confirms the live price with the airline, reserves for 30 min. Free with GitHub star.
- Book — creates real PNR. E-ticket sent to passenger email. Free after unlock.