Skip to Content

API reference

Every endpoint of both APIs, with its parameters, answers and errors. Call any of them from the page with your own key.

Each page shows one endpoint: its parameters, every answer it can give, and samples in several languages. Open the playground on a page, paste a key, and send a real request.

All endpoints live on https://api.voyagelabs.ai and need a key in the X-API-Key header. A vl_test_ key returns saved samples at no cost. See Test mode.

Flights Search API

EndpointWhat it does
GET /v1/flights/searchSearch a trip.
POST /v1/flights/searchSearch a trip, with the fields in a JSON body.
GET /v1/flights/search/{search_id}Read a search again: wait for it, page it, sort or filter it.
GET /v1/flights/usageYour limits and what you have used.
GET /logos/{code}.pngAn airline's logo, to show beside its results.

Hotels Search API

EndpointWhat it does
GET /v1/hotels/searchHotels for a place and a stay, with one price each.
POST /v1/hotels/searchThe same search, with the fields in a JSON body.
GET /v1/hotels/search/{search_id}Read a search again: wait for it, page it, sort it.
GET /v1/hotels/rates/{hotel_id}Every room and rate of one hotel for a stay.
GET /v1/hotels/usageYour limits and what you have used.

As files

The reference is generated from each API's OpenAPI document. Download the documents as shown here: flights and hotels.

For guides to the concepts behind these endpoints, start with How flight search works or How hotel search works.

On this page