GoTravelX Flight Info API

Access real-time flight data programmatically

Getting Started

Upgrade to Paid API Tier

To access the GTX Flight Info API, you need an API key. Contact our team to upgrade your account to the paid tier and receive your unique API secret.

Email: info@gotravelx.com

Include in your request:

  • Your name and organization
  • Expected API usage volume
  • Use case description

Authentication

All API requests require authentication using your API key in the request header:

x-gtx-api-key: YOUR_API_KEY

Base URL

https://flight-info-service-155612744692.us-west3.run.app/api/paid/flights

API Endpoints

Webhook Subscription

Prefer push notifications? Set up a webhook to receive flight updates directly to your server.

🔐 Login required: Log in or create an account to configure webhook subscriptions.

GETSearch by Route

Get all flights from one airport to another (optionally filtered by date).

Endpoint:

https://flight-info-service-155612744692.us-west3.run.app/api/paid/flights/search/route

Parameters:

  • from - Departure airport code (required)
  • to - Arrival airport code (required)
  • date - Flight date (YYYY-MM-DD) (optional)
  • returnSummary - Return summary data (default: true)
  • page - Page number (default: 0)
  • size - Results per page (default: 100)

Example:

curl -X GET "https://flight-info-service-155612744692.us-west3.run.app/api/paid/flights/search/route?from=ORD&to=LAX&date=2026-01-09&returnSummary=true&page=0&size=100" \
  -H "x-gtx-api-key: YOUR_API_KEY"

GETSearch by Flight Number

Get details for a specific flight by carrier, flight number, and date.

Endpoint:

https://flight-info-service-155612744692.us-west3.run.app/api/paid/flights/search

Parameters:

  • carrier - Airline carrier code (e.g., UA, AA, DL)
  • flightNumber - Flight number
  • date - Flight date (YYYY-MM-DD)

Example:

curl -X GET "https://flight-info-service-155612744692.us-west3.run.app/api/paid/flights/search?carrier=UA&flightNumber=1&date=2026-01-09" \
  -H "x-gtx-api-key: YOUR_API_KEY"

GETSearch by Arrival Airport

Get all flights arriving at a specific airport on a given date.

Endpoint:

https://flight-info-service-155612744692.us-west3.run.app/api/paid/flights/search/arrival/{airportCode}

Parameters:

  • airportCode - Airport code (path parameter)
  • date - Flight date (YYYY-MM-DD)
  • page - Page number (default: 0)
  • size - Results per page (default: 100)

Example:

curl -X GET "https://flight-info-service-155612744692.us-west3.run.app/api/paid/flights/search/arrival/LAX?date=2026-01-09&page=0&size=100" \
  -H "x-gtx-api-key: YOUR_API_KEY"

GETSearch by Departure Airport

Get all flights departing from a specific airport on a given date.

Endpoint:

https://flight-info-service-155612744692.us-west3.run.app/api/paid/flights/search/departure/{airportCode}

Parameters:

  • airportCode - Airport code (path parameter)
  • date - Flight date (YYYY-MM-DD)
  • page - Page number (default: 0)
  • size - Results per page (default: 100)

Example:

curl -X GET "https://flight-info-service-155612744692.us-west3.run.app/api/paid/flights/search/departure/ORD?date=2026-01-09&page=0&size=100" \
  -H "x-gtx-api-key: YOUR_API_KEY"

GETGet Flight Status Updates

Get historical status updates for a specific flight.

Endpoint:

https://flight-info-service-155612744692.us-west3.run.app/api/paid/flights/updates

Parameters:

  • carrier - Airline carrier code (e.g., UA, AA, DL)
  • flightNumber - Flight number
  • date - Flight date (YYYY-MM-DD)

Example:

curl -X GET "https://flight-info-service-155612744692.us-west3.run.app/api/paid/flights/updates?carrier=UA&flightNumber=1&date=2026-01-09" \
  -H "x-gtx-api-key: YOUR_API_KEY"

Response Format

All API responses are returned in JSON format.

Successful Response (200 OK):

{
  "data": {
    "content": [
      {
        "carrierCode": "UA",
        "flightNumber": "576",
        "departureAirportCode": "MSP",
        "departureAirportName": "Minneapolis-St Paul Intl",
        "arrivalAirportCode": "ORD",
        "arrivalAirportName": "Chicago O'Hare Intl",
        "scheduledDepartureTime": "2026-01-09T06:00:00",
        "actualDepartureTime": "2026-01-09T06:05:00",
        "scheduledArrivalTime": "2026-01-09T08:30:00",
        "estimatedArrivalTime": "2026-01-09T08:35:00",
        "status": "In Flight"
      }
    ],
    "page": {
      "number": 0,
      "size": 100,
      "totalPages": 1,
      "totalElements": 15
    }
  },
  "quota": {
    "accountKey": "your-api-key",
    "email": "user@example.com",
    "paidQuotaRemaining": 950,
    "freeQuotaRemaining": 100
  }
}

Error Response:

{
  "error": "Unauthorized",
  "message": "Invalid or missing API key",
  "status": 401
}

Pricing

Query Fees Breakdown

A single query can return multiple results, depending on the call type and input. Pricing is based on the number of result sets returned.

Free Tier

FREE
100
Result Sets
  • Perfect for testing and development
  • Access to all API endpoints
  • No credit card required

Paid Tier

PAY AS YOU GO
$0.01
Per Result Set
  • Only pay for what you use
  • No minimum commitment
  • Higher rate limits available

Support

Need help with the API? Our support team is here to assist you.

Technical Support: info@gotravelx.com

Sales Inquiries: sales@gotravelx.com