Introduction

Ignav is a REST API that gives you flight prices and booking links. Search one-way and round-trip fares across thousands of routes, then generate direct booking URLs for the itineraries your users choose.

Base URL

All API requests are made to https://ignav.com/api. Fare and booking endpoints use POST with a JSON body; airport search uses GET query parameters.

Quick start

Search for one-way flights from San Francisco to New York with a single request:

curl -X POST "https://ignav.com/api/fares/one-way" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"origin":"SFO","destination":"JFK","departure_date":"2026-05-17"}'
Response
{
  "origin": "SFO",
  "destination": "JFK",
  "departure_date": "2026-05-17",
  "itineraries": [
    {
      "price": {
        "amount": 299,
        "currency": "USD"
      },
      "outbound": {
        "carrier": "American Airlines",
        "duration_minutes": 330,
        "segments": [
          {
            "marketing_carrier_code": "AA",
            "flight_number": "100",
            "operating_carrier_name": "American Airlines",
            "departure_airport": "SFO",
            "departure_time_local": "2026-05-17T08:00:00",
            "departure_timezone": "America/Los_Angeles",
            "departure_time_utc": "2026-05-17T15:00:00Z",
            "arrival_airport": "JFK",
            "arrival_time_local": "2026-05-17T16:30:00",
            "arrival_timezone": "America/New_York",
            "arrival_time_utc": "2026-05-17T20:30:00Z",
            "duration_minutes": 330,
            "aircraft": "Boeing 777"
          }
        ]
      },
      "cabin_class": "economy",
      "ignav_id": "5e4fcd2f1dc340649eb19f6ee2afb57a"
    }
  ]
}

Nonstop business class

Add cabin_class and max_stops to narrow results:

curl -X POST "https://ignav.com/api/fares/one-way" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"origin":"LAX","destination":"LHR","departure_date":"2026-05-17","cabin_class":"business","max_stops":0}'

Core concepts

Fare search returns a list of itineraries with price, an outbound leg, an optional inbound leg, and an ignav_id. Use that ID to fetch booking links for any itinerary.

Markets control the currency and locale of results. Set market to a 2-letter country code like US, GB, or JP.

Segments represent individual flight legs within an itinerary. A nonstop flight has one segment; a connecting itinerary has multiple.

OpenAPI is available at /api/openapi.json. It covers the public customer endpoints.

Ready to get started?

Create a free account to get your API key, or try the playground — no signup required.