Connect an AI agent to FlightLabs - Real-Time Flight Tracker & Status API. Live data for flights, airports, schedules, timetables, IATA codes, and more.

Connect an AI agent to FlightLabs

OAuth lets an agent call the FlightLabs API without pasting your API key. Subscription (trial / paid plan) still happens on your FlightLabs account — OAuth only grants access to that account.

1. Create or use a FlightLabs account

Register and start a free trial (or use an existing subscription): https://goflightlabs.com/register

This step creates billing/quota. The agent cannot invent a paid subscription by itself. Free accounts without trial/paid do not get an API key and cannot complete OAuth — they can only try endpoints in the dashboard.

2. Choose how the agent authenticates

3. OAuth endpoints (for platforms)

Pre-registered public clients (production)

Platform Client ID Redirect
ChatGPT 15 https://chatgpt.com/connector_platform_oauth_redirect
Claude 16 https://claude.ai/api/mcp/auth_callback
Claude Code 16 http://localhost/callback, http://127.0.0.1/callback (any port)
Cursor 17 https://www.cursor.com/agents/mcp/oauth/callback, http://localhost:8787/callback

Public clients (no secret). Requires a free trial or paid FlightLabs account.

Ops details: docs/oauth-agent-clients.md in the repo.

4. Call the API

GET https://goflightlabs.com/flights?flightIata=AA217
Authorization: Bearer ACCESS_TOKEN_OR_API_KEY

Full agent auth notes: /auth.md · MCP setup: /mcp

START FREE TRIAL API docs