NX Jets Partner APIv1

Private jet search, on your own site

Your client enters a route and sees price ranges from the engine behind the NX Jets calculator. When they ask for a quote, the request reaches our brokers under your name.

  1. GET /airports
  2. POST /estimates
  3. POST /requests
Paris LBG → Nice NCE20 Dec 2026 · one way · 4 passengers · 375 NM
TurbopropBest price
Pilatus PC-12 · King Air 350 · 8 seats · 1 h 47
€9,300 – €13,500indicative
Very Light
Citation Mustang · Citation M2 · Phenom 100 · 5 seats · 1 h 30
€9,900 – €14,100indicative
Light
Citation CJ2 · CJ3 · CJ4 · Hawker 400 · 7 seats · 1 h 20
€10,300 – €14,700indicative
Year-end holidays: prices adjusted by +14%

What you can display with one call to POST /estimates. The figures are the real output of the pricing engine for this route and date.

What the API covers

Use all of it or only one call. Each block works on its own.

BlockWhat it does
AirportsSearch business aviation airports and cities by name or code, with typo tolerance.
EstimatesPrice range per aircraft category for a one-way or round-trip flight, seasonality included.
RequestsSend a flight request to NX Jets brokers, under your name.
Empty legsList the empty legs currently open and request a booking.
SeasonalityMonth-by-month price level of a route, to show the cheapest and busiest periods.

Request tracking and empty leg alerts are planned after v1. They are described here so you can see where the API is going.

What the API never returns

  • Operator names and aircraft registrations.
  • Requests or clients of another partner.
  • A firm booking or a payment. A broker confirms every flight.

Quickstart

Three calls take a visitor from a city name to a request in our brokers' queue. Use your test key: requests created with it are flagged as tests and never reach the team.

1. Find the airports

Routes are expressed with ICAO codes. Search by city, airport name, ICAO or IATA code.

Request

curl "https://api.nx-jets.com/v1/airports?q=paris" \
  -H "Authorization: Bearer $NXJETS_API_KEY"

2. Get the price ranges

Send the route, and the date and passenger count when you have them.

Request

curl -X POST "https://api.nx-jets.com/v1/estimates" \
  -H "Authorization: Bearer $NXJETS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "legs": [
    {
      "from": "LFPB",
      "to": "LFMN",
      "date": "2026-12-20"
    }
  ],
  "passengers": 4,
  "locale": "en"
}'

3. Send the request

Pass the same route with whatever your form collected. The response carries the id of the request. Mention it when you talk to our brokers.

Request

curl -X POST "https://api.nx-jets.com/v1/requests" \
  -H "Authorization: Bearer $NXJETS_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: 6f1c2a9e-4b7d-4c1a-9e0f-2d3b5a7c8e91" \
  -d '{
  "legs": [
    {
      "from": "LFPB",
      "to": "LFMN",
      "date": "2026-12-20",
      "time": "10:00"
    }
  ],
  "passengers": 4,
  "category": "light",
  "priceLow": 10300,
  "priceHigh": 14700,
  "client": {
    "name": "Alex Morgan",
    "phone": "+44 20 7946 0321",
    "email": "alex.morgan@example.com"
  },
  "reference": "TRIP-2291",
  "notes": "Client prefers a morning departure."
}'

Authentication

Every call carries your key in the Authorization header. NX Jets issues one live key and one test key per partner.

KeyPrefixBehaviour
Livenxp_live_Requests reach our brokers.
Testnxp_test_Same responses, same limits. Created requests are flagged as tests: no broker is notified and no operator search is started.
  • Call the API from your server. A key must never be shipped to a browser or a mobile app, and the API sends no CORS headers.
  • A key is shown once when it is created. If it leaks, ask us for a new one and the old key is revoked.
  • A missing, unknown or revoked key returns 401 unauthorized.
  • Keys are issued by your NX Jets contact. Ask them for anything this page does not answer.

Conventions

TopicRule
Base URLhttps://api.nx-jets.com/v1
FormatJSON in UTF-8, field names in camelCase. Send Content-Type: application/json with every body. A body is 16 KB at most.
AirportsICAO code, four characters: LFPB. Upper or lower case is accepted. Get codes from GET /airports.
DatesYYYY-MM-DD. A date before today, judged in UTC, is refused.
TimesHH:MM, local time of the departure airport.
TimestampsISO 8601 in UTC, with milliseconds: 2026-11-24T09:42:11.412Z.
PathsNo trailing slash. A method an endpoint does not support answers 405 with an empty body.
Languagelocale: en (default), fr, es, de, in lower case. It sets the language of city, country and event names. Any other value is refused.
CurrencyEstimates are in EUR. An empty leg keeps the currency of its published price.
AmountsWhole units of the currency, never cents: 9300 is €9,300.
Unknown fieldsIgnored in requests. Ignore the ones you do not know in responses.
VersioningFields may be added to /v1 at any time. No field changes meaning or disappears within /v1.

Flight shapes

A flight is always written as a list of legs. The same structure covers the three shapes.

ShapeHow to write itEstimateRequest
One wayOne leg.YesYes
Round tripOne leg and returnDate. Optional returnTime and returnPassengers.YesYes
Multi-legTwo to six legs. Two legs that mirror each other are stored as a round trip.NoYes

A multi-leg trip is not priced automatically: with two legs or more, POST /estimates answers 422 multi_leg_not_estimated. Send it with POST /requests and a broker prices it.

returnDate belongs to the single-leg form: on POST /requests, with two legs or more it answers 400 invalid_request. POST /estimates answers 422 multi_leg_not_estimated to any body with two legs or more, whatever else it contains. For a round trip to estimate, send one leg and returnDate. returnTime and returnPassengers need returnDate.

In a multi-leg trip, legs go in the order they are flown: a leg dated before the previous one answers 400 invalid_date.

A leg

FieldTypeDescription
fromrequiredstringICAO code of the departure airport.
torequiredstringICAO code of the arrival airport.
datestringDeparture date, today or later. Optional: a request without a date is still handled by a broker, and an estimate without one carries no seasonal adjustment. returnDate needs it.
timestringPreferred departure time. Used by requests, ignored by estimates.
passengersintegerPassengers on this leg, when it differs from the top-level passengers.

Showing prices

Estimates are ranges computed by the NX Jets pricing engine, the one behind the calculator on flynxjets.com. The same input always gives the same output.

  • Present them as an estimate, never as an offer. The firm price comes from the broker's quote.
  • priceLow and priceHigh are rounded to the nearest hundred and already include the seasonal adjustment and the passenger tax.
  • The passenger count changes the price: per-passenger taxes apply beyond two passengers. Send the real count as soon as you have it.
  • Without a date, no seasonal adjustment is applied. seasonality.events names what drives the adjustment, so you can explain it to your client.
  • Seasonal periods repeat every year. Event dates follow the current calendar and are indicative for later years.
  • label and examples are always in English.
  • quotes is sorted from the cheapest to the most expensive. best marks the cheapest category that covers the distance and the seats.
  • A category is left out when one of the two airports has no runway long enough for it. On a short airfield the list can come down to the turboprop alone. This is a floor based on runway length, not a clearance: the broker confirms what can actually operate.
  • An empty quotes carries a reason. range_exceeded: no aircraft large enough flies the route non-stop, so send a request and a broker plans the fuel stop. airfield_limit: the runways are too short for the aircraft that could fly it, so send a request and a broker proposes a nearby airport.

Which categories to show

best marks the cheapest category able to fly the route. It is rarely the aircraft a client ends up booking: most clients choose a larger or faster category than the cheapest one, and pay well above its lowest figure.

  • Do not headline a single "from" price taken from the cheapest category. It sets an expectation the final quote will not meet.
  • Send passengers as soon as you know it, then show every category returned, or at least the two or three smallest ones that fit the party, each with its full range.
  • Show priceLow and priceHigh together. The price a client pays usually sits inside the range of the category they pick, a little below its middle.
  • Ranges are widest in relative terms on very short flights, and least reliable for the two largest categories, where few flights are sold. Say "indicative" next to every figure.

Errors

An error answers with an HTTP status and a body of this shape. code is stable and safe to branch on. field is the path of the field at fault, present when the error points at one. message is written for a developer and may change.

Every response of an endpoint, success or error, carries a Request-Id header. Give it to us when you report a problem. The only responses without it are the 405 of an unsupported method and the redirect of a path with a trailing slash.

Error body

{
  "error": {
    "code": "unknown_airport",
    "field": "legs[0].from",
    "message": "No airport with ICAO code LFXX."
  }
}
StatusCodeMeaning
400invalid_requestThe body or a parameter is malformed or out of bounds. error.field names it.
400unknown_airportNo airport with this ICAO code.
400same_airportDeparture and arrival are the same airport.
400invalid_passengersPassenger count outside 1 to 30.
400invalid_dateA date is not YYYY-MM-DD, is before today (UTC), the return is before the departure, the legs are not in the order they are flown, or dateTo is before dateFrom.
401unauthorizedMissing, unknown or revoked key.
404not_foundThe resource does not exist or belongs to another partner.
409offer_unavailableThe empty leg is taken or expired.
409idempotency_conflictThis Idempotency-Key was already used with a different body.
422multi_leg_not_estimatedEstimates cover one-way and round-trip flights only.
422not_enough_seatsThe empty leg has fewer seats than the passengers requested.
429rate_limitedToo many calls. Wait for the number of seconds in Retry-After.
503service_unavailableTemporary failure on our side. Retry with the same Idempotency-Key.

Limits and retries

LimitValue
All calls600 per 10 minutes, per key.
Created requests and bookings60 per hour, per key.

Every response to a valid key carries RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset for the general limit. RateLimit-Reset is the number of seconds before the window resets. Beyond either limit the API answers 429 rate_limited with a Retry-After header in seconds.

Safe retries

Send an Idempotency-Key header with any call that creates something. Generate one value per action, such as a UUID, store it, and send the same value on every retry of that action: a new value on each attempt protects nothing. The key is 255 characters at most. It is scoped to your account, to one mode and to one endpoint: the same value used with your test key and with your live key, or on requests and on bookings, names different actions.

If the same key is sent again within 24 hours with the same body, the API returns the first response, with its original status, and creates nothing new. This makes a retry after a timeout safe. The same key with a different body answers 409 idempotency_conflict. A call refused for its content does not use up the key. While a first call with a key is still being processed, a second one answers 503 with a Retry-After header: wait that many seconds and send it again.

Only calls that actually create something count towards the creation limit. A replay, a refusal or a failure does not.

Changing or cancelling

A request cannot be changed or cancelled through the API. Tell your broker, with the id of the request.

Check a key

GET /me

Returns the partner a key belongs to and its mode. Call it once to verify a key before going live.

Response fields

FieldTypeDescription
partnerstringYour name as registered with NX Jets.
modestringlive or test.
rateLimitobjectThe general limit: number of calls allowed per window, and the length of the window in seconds.

Request

curl "https://api.nx-jets.com/v1/me" \
  -H "Authorization: Bearer $NXJETS_API_KEY"

Response 200

{
  "partner": "Example Travel Ltd",
  "mode": "test",
  "rateLimit": {
    "limit": 600,
    "windowSeconds": 600
  }
}

List aircraft categories

GET /categories

The nine aircraft categories used by estimates and empty legs. Use key to match a category across calls.

Response fields

FieldTypeDescription
keystringStable identifier of the category.
labelstringDisplay name.
examplesstringTypical aircraft of the category.
seatsintegerMaximum passengers.
rangeNmintegerPublished range of the aircraft, in nautical miles. Estimates keep a safety reserve, so a category can be absent from a route shorter than this. A category is also left out when a runway of the route is too short for it.

Request

curl "https://api.nx-jets.com/v1/categories" \
  -H "Authorization: Bearer $NXJETS_API_KEY"

Response 200

{
  "categories": [
    { "key": "turboprop", "label": "Turboprop", "examples": "Pilatus PC-12 · King Air 350", "seats": 8, "rangeNm": 1800 },
    { "key": "very-light", "label": "Very Light", "examples": "Citation Mustang · Citation M2 · Phenom 100", "seats": 5, "rangeNm": 1150 },
    { "key": "light", "label": "Light", "examples": "Citation CJ2 · CJ3 · CJ4 · Hawker 400", "seats": 7, "rangeNm": 1600 },
    { "key": "super-light", "label": "Super Light", "examples": "Phenom 300 · Pilatus PC-24 · Citation XLS+", "seats": 8, "rangeNm": 2000 },
    { "key": "midsize", "label": "Midsize", "examples": "Hawker 800 · Hawker 900 · Learjet 75", "seats": 9, "rangeNm": 2040 },
    { "key": "super-midsize", "label": "Super Midsize", "examples": "Challenger 350 · Praetor 600", "seats": 10, "rangeNm": 3200 },
    { "key": "heavy", "label": "Heavy", "examples": "Falcon 900LX · Gulfstream G450", "seats": 14, "rangeNm": 4000 },
    { "key": "ultra-long", "label": "Ultra Long Range", "examples": "Gulfstream G650 · G700 · Global 7500", "seats": 16, "rangeNm": 7000 },
    { "key": "vip-airliner", "label": "VIP Airliner", "examples": "ERJ 145 VIP · Lineage 1000 · BBJ", "seats": 30, "rangeNm": 6000 }
  ]
}

Search airports

GET /airports

Business aviation airports and cities matching a search string. The search tolerates typos and understands city names in the four supported languages.

Query parameters

FieldTypeDescription
qstringCity, airport name, ICAO or IATA code, up to 64 characters. Several words narrow the search: `Paris Le Bourget`, `New York Teterboro`, `Nice airport`. Empty: suggested airports and popular cities.
localestringen, fr, es or de, in lower case.

Response fields

FieldTypeDescription
airportsarrayUp to 8 matching airports, most relevant first. iata may be empty on small airfields.
citiesarrayUp to 3 cities grouping several airports. primaryIcao is the main business aviation airport of the city: use it when your client picks the city rather than an airport. codes lists the IATA codes of its airports, for display. id is an opaque identifier.

Errors

invalid_request. See Errors.

Request

curl "https://api.nx-jets.com/v1/airports?q=paris" \
  -H "Authorization: Bearer $NXJETS_API_KEY"

Response 200

{
  "airports": [
    {
      "icao": "LFPB",
      "iata": "LBG",
      "name": "Paris-Le Bourget International Airport",
      "city": "Paris",
      "country": "France",
      "lat": 48.9623,
      "lon": 2.4365
    }
  ],
  "cities": [
    {
      "id": "paris",
      "name": "Paris",
      "country": "France",
      "primaryIcao": "LFPB",
      "codes": ["LBG", "ORY"]
    }
  ]
}

Estimate a flight

POST /estimates

Price range per aircraft category for a one-way or round-trip flight. Nothing is stored and no broker is notified.

Body

FieldTypeDescription
legsrequiredarrayExactly one leg, with from, to and optionally date, today or later. See Flight shapes.
returnDatestringMakes the estimate a round trip. Needs a departure date. On the same day as the departure, the aircraft waits and the return is priced at half.
passengersinteger1 to 30. Omitted: every category able to fly the route. Given: only categories with enough seats. Estimates read this top-level count only.
localestringen, fr, es or de, in lower case.

Seasonal periods repeat every year: the adjustment depends on the day and month of the departure.

Response fields

FieldTypeDescription
from, toobjectThe two airports: icao, iata, name, city, country.
distanceNmintegerGreat-circle distance in nautical miles.
roundTripbooleanTrue when returnDate was sent.
currencystringAlways EUR.
seasonality.pctintegerAdjustment applied for the date, in percent. 0 without a date.
seasonality.eventsarrayNames of the events or periods behind the adjustment.
quotes[].categorystringCategory key, see categories.
quotes[].label, examplesstringDisplay name of the category and typical aircraft, in English.
quotes[].seatsintegerMaximum passengers of the category.
quotes[].flightTimeobjectFlight time of one leg.
quotes[].priceLow, priceHighintegerRange for the whole trip, in EUR, rounded to the nearest hundred.
quotes[].passengerTaxintegerPart of the range due to per-passenger taxes. Already included. It depends on the aircraft category and on the countries of the route.
quotes[].bestbooleanThe cheapest category that fits the distance and the seats.
reasonstringPresent with an empty quotes: range_exceeded (no aircraft large enough flies the route non-stop) or airfield_limit (the runways of the route are too short for the aircraft that could).
routeUrlstring or nullPage of this route on flynxjets.com, when one exists.

Errors

invalid_request unknown_airport same_airport invalid_passengers invalid_date multi_leg_not_estimated. See Errors.

Request

curl -X POST "https://api.nx-jets.com/v1/estimates" \
  -H "Authorization: Bearer $NXJETS_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "legs": [
    {
      "from": "LFPB",
      "to": "LFMN",
      "date": "2026-12-20"
    }
  ],
  "passengers": 4,
  "locale": "en"
}'

Response 200

{
  "from": {
    "icao": "LFPB",
    "iata": "LBG",
    "name": "Paris-Le Bourget International Airport",
    "city": "Paris",
    "country": "France"
  },
  "to": {
    "icao": "LFMN",
    "iata": "NCE",
    "name": "Nice-Côte d'Azur Airport",
    "city": "Nice",
    "country": "France"
  },
  "distanceNm": 375,
  "roundTrip": false,
  "currency": "EUR",
  "seasonality": {
    "pct": 14,
    "events": ["Year-end holidays"]
  },
  "quotes": [
    {
      "category": "turboprop",
      "label": "Turboprop",
      "examples": "Pilatus PC-12 · King Air 350",
      "seats": 8,
      "flightTime": {
        "hours": 1,
        "minutes": 47
      },
      "priceLow": 9300,
      "priceHigh": 13500,
      "passengerTax": 420,
      "best": true
    },
    {
      "category": "very-light",
      "label": "Very Light",
      "examples": "Citation Mustang · Citation M2 · Phenom 100",
      "seats": 5,
      "flightTime": {
        "hours": 1,
        "minutes": 30
      },
      "priceLow": 9900,
      "priceHigh": 14100,
      "passengerTax": 840,
      "best": false
    },
    {
      "category": "light",
      "label": "Light",
      "examples": "Citation CJ2 · CJ3 · CJ4 · Hawker 400",
      "seats": 7,
      "flightTime": {
        "hours": 1,
        "minutes": 20
      },
      "priceLow": 10300,
      "priceHigh": 14700,
      "passengerTax": 840,
      "best": false
    }
  ],
  "routeUrl": "https://flynxjets.com/en/private-jet/paris-to-nice"
}

The example shows the first three of nine categories returned for this route.

Get the seasonality of a route

GET /routes/{from}/{to}/seasonality

Price level of a route for each month of the year, with the events that drive it. Useful to show your client the cheapest and busiest periods.

Path and query parameters

FieldTypeDescription
fromrequiredstringICAO code of the departure airport.
torequiredstringICAO code of the arrival airport.
localestringen, fr, es or de, in lower case.

Response fields

FieldTypeDescription
months[].levelstringlow, mid, high or peak.
months[].pctintegerTypical adjustment of the month, in percent.
months[].eventsarrayNames of the events or periods of the month, in the language of locale.
months[].monthinteger1 for January to 12 for December.
cheapestMonths, peakMonthsarrayMonth numbers with the lowest and the highest adjustment of the year. Several months can share the peak level without being the highest.

Errors

invalid_request unknown_airport same_airport. See Errors.

Request

curl "https://api.nx-jets.com/v1/routes/LFPB/LFMN/seasonality" \
  -H "Authorization: Bearer $NXJETS_API_KEY"

Response 200

{
  "months": [
    { "month": 1, "level": "low", "pct": -4, "events": ["New Year"] },
    { "month": 2, "level": "mid", "pct": -2, "events": [] },
    { "month": 3, "level": "mid", "pct": 0, "events": ["MIPIM in Cannes"] },
    { "month": 4, "level": "mid", "pct": 2, "events": [] },
    { "month": 5, "level": "peak", "pct": 7, "events": ["Cannes Film Festival"] },
    { "month": 6, "level": "peak", "pct": 10, "events": ["Monaco Grand Prix", "Cannes Lions"] },
    { "month": 7, "level": "peak", "pct": 14, "events": [] },
    { "month": 8, "level": "peak", "pct": 14, "events": [] },
    { "month": 9, "level": "peak", "pct": 9, "events": ["Monaco Yacht Show"] },
    { "month": 10, "level": "mid", "pct": 2, "events": [] },
    { "month": 11, "level": "low", "pct": -4, "events": [] },
    { "month": 12, "level": "high", "pct": 4, "events": ["Year-end holidays"] }
  ],
  "cheapestMonths": [1, 11],
  "peakMonths": [7, 8]
}

Send a flight request

POST /requests

Puts a flight request in the NX Jets brokers' queue, under your name. This is the call behind the "Request a quote" button of your form.

Body

FieldTypeDescription
legsrequiredarrayOne to six legs. See Flight shapes.
returnDatestringMakes the request a round trip.
returnTimestringPreferred departure time of the return.
returnPassengersintegerPassengers on the return, when the count differs from the outbound.
passengersinteger1 to 30. Default for legs that carry no count of their own.
categorystringCategory your client picked in the results.
priceLow, priceHighintegerThe range you displayed to your client, in EUR, so the broker knows what they saw.
clientobjectYour client: name (80 characters at most), phone and email, all optional. A malformed phone number or e-mail address is refused.
referencestringYour own file reference, up to 80 characters. Returned unchanged in the response.
notesstringFree text for the broker, up to 1,000 characters.
localestringLanguage of your client, so the broker replies in it: en, fr, es or de.

Send an Idempotency-Key header so a retry never creates a duplicate. See Limits and retries.

The request always carries your name. With client.phone or client.email, the broker can reach your client directly. Without them, the broker contacts you and the client name is kept as a note.

Errors

invalid_request unknown_airport same_airport invalid_passengers invalid_date idempotency_conflict. See Errors.

Request

curl -X POST "https://api.nx-jets.com/v1/requests" \
  -H "Authorization: Bearer $NXJETS_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: 6f1c2a9e-4b7d-4c1a-9e0f-2d3b5a7c8e91" \
  -d '{
  "legs": [
    {
      "from": "LFPB",
      "to": "LFMN",
      "date": "2026-12-20",
      "time": "10:00"
    }
  ],
  "passengers": 4,
  "category": "light",
  "priceLow": 10300,
  "priceHigh": 14700,
  "client": {
    "name": "Alex Morgan",
    "phone": "+44 20 7946 0321",
    "email": "alex.morgan@example.com"
  },
  "reference": "TRIP-2291",
  "notes": "Client prefers a morning departure."
}'

Response 201

{
  "id": "req_8f3k2m9x",
  "type": "charter",
  "status": "received",
  "reference": "TRIP-2291",
  "createdAt": "2026-11-24T09:42:11.889Z"
}

List your requests

GET /requests

Planned after v1. Not part of the first release: today this call answers 404 not_found.

Your requests, most recent first: flight requests and empty leg bookings. Only requests created with your keys are returned.

Query parameters

FieldTypeDescription
statusstringOne of the request statuses.
referencestringYour own reference, exact match.
createdFrom, createdTostringCreation date range.
limitinteger1 to 50. Default 20.
cursorstringValue of nextCursor from the previous page.

Request

curl "https://api.nx-jets.com/v1/requests?status=in_progress&limit=20" \
  -H "Authorization: Bearer $NXJETS_API_KEY"

Response 200

{
  "requests": [
    {
      "id": "req_8f3k2m9x",
      "type": "charter",
      "reference": "TRIP-2291",
      "status": "in_progress",
      "legs": [
        {
          "from": "LFPB",
          "to": "LFMN",
          "date": "2026-12-20",
          "time": "10:00"
        }
      ],
      "returnDate": null,
      "passengers": 4,
      "createdAt": "2026-11-24T09:42:11.889Z",
      "updatedAt": "2026-11-24T10:15:40.667Z"
    }
  ],
  "nextCursor": null
}

Get a request

GET /requests/{id}

Planned after v1. Not part of the first release: today this call answers 404 not_found.

One request and its current status.

Path parameters

FieldTypeDescription
idrequiredstringThe id returned when the request was created.

Response fields

FieldTypeDescription
typestringcharter or empty_leg.
statusstringSee Request statuses.
updatedAtstringLast change of status.

Errors

not_found. See Errors.

Request

curl "https://api.nx-jets.com/v1/requests/req_8f3k2m9x" \
  -H "Authorization: Bearer $NXJETS_API_KEY"

Response 200

{
  "id": "req_8f3k2m9x",
  "type": "charter",
  "reference": "TRIP-2291",
  "status": "in_progress",
  "legs": [
    {
      "from": "LFPB",
      "to": "LFMN",
      "date": "2026-12-20",
      "time": "10:00"
    }
  ],
  "returnDate": null,
  "passengers": 4,
  "createdAt": "2026-11-24T09:42:11.889Z",
  "updatedAt": "2026-11-24T10:15:40.667Z"
}

List empty legs

GET /empty-legs

The empty legs currently open, soonest first, in one response without pagination. An empty leg is a repositioning flight sold at a reduced price on a fixed route and date.

Query parameters

FieldTypeDescription
from, tostringICAO codes, to filter on a departure or an arrival.
dateFrom, dateTostringFlight date range.
categorystringCategory key. Offers without a category are left out.

The list is refreshed every minute: an offer taken a moment ago can still appear here. GET /empty-legs/{slug} and a booking are always up to date. A filter never fails on an airport that has no offer: it returns an empty list. Past dates are accepted in dateFrom and dateTo.

Response fields

FieldTypeDescription
checkedAtstring or nullLast time the operators' lists were checked.
updatedAtstring or nullLast time an offer was added or changed.
offers[].slugstringIdentifier of the offer.
offers[].from, toobjectICAO code and display label of the airport.
offers[].seatsinteger or nullPassenger seats of the aircraft.
offers[].statusstringopen, taken or expired. The list returns open offers only.
offers[].aircraftstring or nullAircraft model. Never the registration.
offers[].categorystring or nullCategory key, when the model maps to one.
offers[].datestringFlight date. The departure time is given by the broker.
offers[].yearBuilt, yearRefurbishedinteger or nullOf the exact aircraft, when known.
offers[].photo, cabinPhotostring or nullExterior and cabin of the same model, as absolute image URLs.
offers[].priceobject or nullPublic price of the offer. null when no price is published.
offers[].urlstringPage of the offer on flynxjets.com.

Errors

invalid_request invalid_date. See Errors.

Request

curl "https://api.nx-jets.com/v1/empty-legs?from=LSGG&dateFrom=2026-12-01&dateTo=2026-12-31" \
  -H "Authorization: Bearer $NXJETS_API_KEY"

Response 200

{
  "checkedAt": "2026-11-24T06:00:12.000Z",
  "updatedAt": "2026-11-23T17:31:05.270Z",
  "offers": [
    {
      "slug": "geneva-farnborough-12-dec-k7x2",
      "status": "open",
      "from": {
        "icao": "LSGG",
        "label": "Geneva (LSGG)"
      },
      "to": {
        "icao": "EGLF",
        "label": "Farnborough (EGLF)"
      },
      "date": "2026-12-12",
      "aircraft": "Citation XLS+",
      "seats": 8,
      "category": "super-light",
      "yearBuilt": 2014,
      "yearRefurbished": 2022,
      "photo": "https://admin.nx-jets.com/api/public/aircraft-image/citation-xls-plus-exterior",
      "cabinPhoto": "https://admin.nx-jets.com/api/public/aircraft-image/citation-xls-plus-cabin",
      "price": {
        "amount": 6900,
        "currency": "EUR"
      },
      "url": "https://flynxjets.com/en/empty-legs/geneva-farnborough-12-dec-k7x2"
    }
  ]
}

Get an empty leg

GET /empty-legs/{slug}

One empty leg. Call it before showing a booking form: an offer can be taken at any moment. A known offer that is taken or expired is still returned, with its status.

Path parameters

FieldTypeDescription
slugrequiredstringThe slug of the offer.

Errors

not_found. See Errors.

Request

curl "https://api.nx-jets.com/v1/empty-legs/geneva-farnborough-12-dec-k7x2" \
  -H "Authorization: Bearer $NXJETS_API_KEY"

Response 200

{
  "slug": "geneva-farnborough-12-dec-k7x2",
  "status": "open",
  "from": {
    "icao": "LSGG",
    "label": "Geneva (LSGG)"
  },
  "to": {
    "icao": "EGLF",
    "label": "Farnborough (EGLF)"
  },
  "date": "2026-12-12",
  "aircraft": "Citation XLS+",
  "seats": 8,
  "category": "super-light",
  "yearBuilt": 2014,
  "yearRefurbished": 2022,
  "photo": "https://admin.nx-jets.com/api/public/aircraft-image/citation-xls-plus-exterior",
  "cabinPhoto": "https://admin.nx-jets.com/api/public/aircraft-image/citation-xls-plus-cabin",
  "price": {
    "amount": 6900,
    "currency": "EUR"
  },
  "url": "https://flynxjets.com/en/empty-legs/geneva-farnborough-12-dec-k7x2"
}

Request an empty leg

POST /empty-legs/{slug}/bookings

Asks to book an empty leg for your client. It is a request: a broker confirms availability with the operator before anything is firm.

Body

FieldTypeDescription
passengersrequiredintegerAt least 1, at most the seats of the offer.
clientobjectYour client: name (80 characters at most), phone and email, all optional. A malformed phone number or e-mail address is refused.
referencestringYour own file reference, up to 80 characters. Returned unchanged in the response.
notesstringFree text for the broker, up to 1,000 characters.

Send an Idempotency-Key header so a retry never creates a duplicate. See Limits and retries.

The request always carries your name. With client.phone or client.email, the broker can reach your client directly. Without them, the broker contacts you and the client name is kept as a note.

Errors

invalid_request not_found offer_unavailable not_enough_seats invalid_passengers idempotency_conflict. See Errors.

Request

curl -X POST "https://api.nx-jets.com/v1/empty-legs/geneva-farnborough-12-dec-k7x2/bookings" \
  -H "Authorization: Bearer $NXJETS_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: 6f1c2a9e-4b7d-4c1a-9e0f-2d3b5a7c8e91" \
  -d '{
  "passengers": 3,
  "client": {
    "name": "Alex Morgan",
    "phone": "+44 20 7946 0321",
    "email": "alex.morgan@example.com"
  },
  "reference": "TRIP-2304"
}'

Response 201

{
  "id": "req_2c7n4q1d",
  "type": "empty_leg",
  "status": "received",
  "offer": "geneva-farnborough-12-dec-k7x2",
  "reference": "TRIP-2304",
  "createdAt": "2026-11-24T11:03:27.778Z"
}

Set an empty leg alert

POST /empty-leg-alerts

Planned after v1. Not part of the first release: today this call answers 404 not_found.

Registers interest in empty legs on a route. When a matching flight comes up, our team contacts your client, or you when no client contact was given.

Body

FieldTypeDescription
fromrequiredstringICAO code of the departure airport.
torequiredstringICAO code of the arrival airport.
clientobjectYour client: name (80 characters at most), phone and email, all optional. A malformed phone number or e-mail address is refused.
referencestringYour own file reference, up to 80 characters. Returned unchanged in the response.

Send an Idempotency-Key header so a retry never creates a duplicate. See Limits and retries.

Errors

invalid_request unknown_airport same_airport idempotency_conflict. See Errors.

Request

curl -X POST "https://api.nx-jets.com/v1/empty-leg-alerts" \
  -H "Authorization: Bearer $NXJETS_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Idempotency-Key: 6f1c2a9e-4b7d-4c1a-9e0f-2d3b5a7c8e91" \
  -d '{
  "from": "LSGG",
  "to": "EGLF",
  "client": {
    "name": "Alex Morgan",
    "phone": "+44 20 7946 0321",
    "email": "alex.morgan@example.com"
  },
  "reference": "TRIP-2310"
}'

Response 201

{
  "id": "alt_5t2w8k1c",
  "from": "LSGG",
  "to": "EGLF",
  "reference": "TRIP-2310",
  "createdAt": "2026-11-24T11:20:02.482Z"
}

Request statuses

Planned after v1. Tracking comes with GET /requests.

A request moves through these statuses.

StatusMeaning
receivedThe request is in the brokers' queue.
in_progressA broker is working on it: operators have been asked or a quote is being prepared.
bookedThe flight is confirmed and being arranged.
flownThe last leg of the trip has departed.
closedThe request ended without a flight.

Tracking carries no price, no operator and no aircraft. The quote itself is sent to you by the broker. New statuses may be added: treat an unknown one as in_progress.

For AI assistants

The documentation is written to be handed to a coding assistant.

  • Copy for LLM on any section copies that section as Markdown.
  • Copy full docs for LLM in the top bar copies the whole documentation as one Markdown text.
  • llms.txt lists every section with its address, and llms-full.txt holds the full text.
  • index.md is this page as Markdown.
  • openapi.json is the OpenAPI 3.1 description of the API.

Changelog

DateChange
2026-11-25v1 released at https://api.nx-jets.com/v1: airports, estimates, seasonality, requests, empty legs. Airport search accepts several words (Paris Le Bourget, New York Teterboro).
2026-11-24Draft of v1 published for review: airports, estimates, seasonality, requests, empty legs. Request tracking and empty leg alerts described as planned.