Use the REST API for live partner integrations.
Base URL: https://api.letsfg.co
Auth: send your key in the X-API-Key header.
If you need a dedicated partner key or custom limits, email contact@letsfg.co.
Production REST API first. SDK and MCP as fallback. Search-only can ship now, and unlock or booking can stay off until commercial, privacy, and support flows are agreed.
Base URL: https://api.letsfg.co
Auth: send your key in the X-API-Key header.
If you need a dedicated partner key or custom limits, email contact@letsfg.co.
Interactive docs: Swagger and ReDoc.
Importable spec: openapi.yaml.
JS and Python SDKs live in the public repo, and remote MCP is available at https://api.letsfg.co/mcp.
That makes the hybrid rollout straightforward: production API for live traffic, SDK or MCP for local fallback and prototyping.
/api/v1/flights/resolve-locationResolve city or airport names to stable IATA codes before search.
Ready for search-only integrations
/api/v1/flights/searchProduction search endpoint for price, route, duration, stopovers, and conditions.
Ready for search-only integrations
/api/v1/bookings/unlockConfirms live airline price and reserves the offer for booking.
Documented now; enable later when commercial terms are aligned
/api/v1/bookings/bookCreates the booking after unlock using real passenger details.
Documented now; keep disabled until privacy and support workflow are agreed
const baseUrl = process.env.LETSFG_BASE_URL ?? 'https://api.letsfg.co';
const apiKey = process.env.LETSFG_API_KEY!;
const headers = {
'Content-Type': 'application/json',
'X-API-Key': apiKey,
};
const locations = await fetch(
`${baseUrl}/api/v1/flights/resolve-location?query=London`,
{ headers }
).then((response) => response.json());
const results = await fetch(`${baseUrl}/api/v1/flights/search`, {
method: 'POST',
headers,
body: JSON.stringify({
origin: 'LON',
destination: 'BCN',
date_from: '2026-06-15',
adults: 1,
currency: 'EUR',
}),
}).then((response) => response.json());curl -X POST https://api.letsfg.co/api/v1/agents/register \
-H "Content-Type: application/json" \
-d '{"agent_name":"your-agent","email":"team@example.com"}'That returns an API key for production calls today. If you want a dedicated partner key, contact contact@letsfg.co.
If you are already building around LETSFG_API_KEY and LETSFG_BASE_URL, you can ship location lookup plus search immediately and keep unlock or booking for phase two.