# Send travellers to book (/flights/booking-links)

What the booking links in each result open, how long they last, what to tell the traveller, and how to show airline logos.

Every result carries `booking_links`: up to three addresses that open a page where the traveller can book those flights. You show the links; the traveller's browser opens them. The API itself never books, holds a seat or takes payment.

## The three links [#the-three-links]

This is the `booking_links` object of a real ANA result, from a test key. The link tokens are shortened here.

```json title="booking_links"
{
  "supplier": { "url": null, "available": false, "lands_on": null },
  "airline": {
    "url": "https://api.voyagelabs.ai/r/al_Mr3J-vqIKt…",
    "available": true,
    "lands_on": "flights_selected",
    "airline": "NH"
  },
  "google_flights": {
    "url": "https://api.voyagelabs.ai/r/al_2CUD6SgBEd…",
    "available": true,
    "lands_on": "itinerary"
  }
}
```

| Slot | Opens |
| --- | --- |
| `airline` | The airline's own site. `airline` is the code of the airline it opens. |
| `google_flights` | Google Flights, on exactly these flights. |
| `supplier` | Reserved for a checkout where the traveller books and pays. It is not offered yet, so today its `available` is always `false`. |

All three slots are always present. Use a slot only when its `available` is `true`. When it is `false`, its `url` and `lands_on` are `null`.

## Where each link lands [#where-each-link-lands]

`lands_on` says where the traveller arrives. Tell them before they click, so the page they see is the page they expect. It also says how close each link gets to the flights, which helps you choose which link to show first.

| `lands_on` | The traveller arrives at | Say something like |
| --- | --- | --- |
| `cart` | The airline's cart, with the flights and fare chosen | "This opens the airline's site with your flights in the cart." |
| `passenger_details` | The airline's passenger page, with the flights and fare chosen | "This opens the airline's site, ready for your passenger details." |
| `flights_selected` | The airline's results, with these flights already selected | "This opens the airline's site with these flights selected." |
| `search_results` | The airline's results for the route and dates, with nothing selected | "This opens the airline's results for your dates. Pick these flights there." |
| `booking_page` | The airline's own booking page, with nothing filled in | "This opens the airline's booking page. Search for these flights there." |
| `itinerary` | Google Flights, on exactly these flights | "This opens Google Flights on these exact flights, where you can choose who to book with." |

The first five come from the `airline` slot, and `itinerary` from `google_flights`.

## Coverage by airline [#coverage-by-airline]

The closest each airline's own link gets to the chosen flights, and the trips it works for. Every flight also has a Google Flights link to exactly those flights. We checked each airline by hand on 1 December 2026, and Frontier again on 5 December.

| Airline | Its link lands on | Works for | Good to know |
| --- | --- | --- | --- |
| American Airlines (`AA`) | `passenger_details` | Round trip, one-way and connections, on any fare | Adults only. Trips with children or infants open on Google Flights. |
| Air Canada (`AC`) | `cart` | Round trip, one-way and connections, on Standard, Flex and Comfort fares | The fare must carry its brand name. |
| Alaska Airlines (`AS`) | `cart` | Round trip, one-way and connections, on Saver, Main and First fares | Refundable Main opens on Google Flights. |
| Delta Air Lines (`DL`) | `cart` | Round trip, one-way and connections, on Main and Comfort fares | Adults only. Other cabins open on Google Flights. |
| ANA (`NH`) | `flights_selected` | The cheapest fare on a nonstop, round trip or one-way | Opens through a short page on `api.voyagelabs.ai` first. |
| Japan Airlines (`JL`) | `flights_selected` | Economy Special Saver, US to Japan | Opens on Google Flights when JAL's selection page is unavailable. |
| Korean Air (`KE`) | `flights_selected` | Nonstop economy round trips for adults | One-way trips, connections and premium cabins open on Google Flights. |
| Virgin Atlantic (`VS`) | `cart` | Nonstop Economy Light round trips for adults | Other fares open on Google Flights. |
| United Airlines (`UA`) | Google Flights | The exact flights on Google Flights, and United's results page | United's cart can't be opened from a link. |
| JetBlue (`B6`) | Google Flights | The exact flights on Google Flights, and JetBlue's results page | JetBlue's own links need a partner agreement. |
| Lufthansa (`LH`) | Google Flights | The exact flights on Google Flights, and Lufthansa's results page | Lufthansa's own links need a partner agreement. |
| British Airways (`BA`) | Google Flights | The exact flights on Google Flights | Not confirmed: the airline's link didn't finish loading when we checked it. |
| Singapore Airlines (`SQ`) | Google Flights | The exact flights on Google Flights | A link to the airline's cart needs a partner agreement. |
| ZIPAIR (`ZG`) | Google Flights | The exact flights on Google Flights | The airline only accepts links to a search. |
| Air France (`AF`) | Google Flights | The exact flights on Google Flights, and Air France's results page | Google Flights is the main link. |
| Frontier Airlines (`F9`) | Google Flights | The exact flights on Google Flights, and Frontier's results page for adults | Trips with children or lap infants open Frontier's booking page, because its search needs each child's age. |
| Emirates (`EK`) | Google Flights | The exact flights on Google Flights, and Emirates' flight list | The airline's link opens a flight list, not the chosen fare. |

Whatever this table says, each result's own `lands_on` is the answer for that result.

## How a link works [#how-a-link-works]

- **Every `url` is an address on `https://api.voyagelabs.ai/r/`.** Its token is encrypted: nothing in the address says where it leads, who you are or what the trip is.
- **The traveller's browser opens it, with no key.** The address answers with a redirect to the airline or Google Flights. Some airline links first pass through a short page on the same host that opens the airline's site with the flights selected.
- **Give it to the traveller exactly as it is.** Never build, edit, shorten or re-encode one. A link with a changed token answers `403` with `forbidden`.
- **Each answer carries new addresses**, even for the same search read twice. Any of them works until it expires.
- **Some airlines ask who sent the traveller.** Set a link label of 1 to 16 capital letters or digits in **Settings** in the [console](https://developer.voyagelabs.ai/console/settings), and it is sent with those airlines' links.
- **A link can be opened again.** Every open is sent on. Opens of one link from the same network address within the same fixed half-hour in UTC (from :00 to :30, or from :30 to the hour) count as one click. Opens from another address, such as a server that fetches link previews, count as clicks of their own.

## How long a link lasts [#how-long-a-link-lasts]

A link stops working 24 hours after the answer that carried it, unless your account is set up otherwise. An expired link answers `410` with the error code `gone`. For an older conversation, search the trip again and use the new link of the result with the same `id`.

<Callout type="warn" title="Prices age faster than links">
A link lasts a day, but a supplier's fares run out about five minutes after a search. When a result's `pricing.age_s` is over 240, search the trip again before you show its price or its link.
</Callout>

## What to tell the traveller [#what-to-tell-the-traveller]

- **Where the link lands**, from the table above.
- **That the airline shows the final price.** The price on the airline's page is the airline's own, and it can differ from the price in the answer. Say so rather than promise a price.
- **Nothing is booked yet.** The traveller books on the page the link opens.

If an AI agent shows the links, hand it each `url` as data and tell it never to change one. [Build with AI agents](/agents) covers the rest.

## Show airline logos [#show-airline-logos]

Each airline has a logo at `https://api.voyagelabs.ai/logos/{code}.png`, where `{code}` is its 2-character code in capitals, such as `NH`. The address needs no key, so a page can use it straight in an image:

```html
<img src="https://api.voyagelabs.ai/logos/NH.png" alt="ANA" width="32" height="32">
```

- **With `detail=full`, the addresses are in the answer.** Each entry of `data.airlines` and of a result's `airlines` has a `logo`, and each flight segment has a `marketing_logo` and an `operating_logo`. A `logo` of `null` means there is none.
- **Keep the image for a day.** It is small, and its `Cache-Control` header is `public, max-age=86400`. Its `Content-Type` says whether it is a PNG, JPEG, WebP or GIF.
- **A code with no logo answers `404` with `not_found`.** So does a code that is not two capitals or digits. Show the airline's name instead.
- **If the image cannot be fetched just now**, the answer is `502` with `supplier_error`. Try again later.

See the [airline logo reference](/api-reference/flights/airline-logo) for the full contract.

<Cards>
<Card title="Search flights" href="/flights/search" description="Name a trip, shape the answer, and read what comes back." />

<Card title="Read a search" href="/flights/read-a-search" description="Wait for a partial search, then sort, filter and page it." />

<Card title="Build with AI agents" href="/agents" description="Tool definitions, and how an agent should show results." />
</Cards>