Partner API
LYVGO publishes travel inventory from licensed supply partners. These endpoints let you read the same shelf our own pages read, with the same currency, market and image-rights decisions applied.
Try it
curl -s "https://lyvgo.com/api/whitelabel-search?q=Lisbon&country=PT&category=stay&category=activity¤cy=EUR&limit=5"
Endpoints
| Path | Method | What it gives you |
|---|
/api/whitelabel-search | GET | The main shelf. Every licensed category in one call, deduplicated and ranked the way our own pages rank it. |
/api/lyvgo-search/stays | GET | Accommodation for one market and one date range. Requires destination; without dates it answers 400 no_destination rather than guessing. |
/api/lyvgo-search/flights | GET | Fares for a route, and only when asked: mode=fares with origin, destination, depart and — unless trip=oneway — ret. Without mode the call answers the supplier verdict and no rows. No licensed source on this account returns JSON fares today, so every valid route comes back empty with reason no_fares — never an invented price. |
/api/travelpayouts/feed | GET | The cached fare board for a country: iso, origin, destination, departure_at, month, kind, q, limit. |
/api/version | GET | What is deployed: build, branch, publish minute, and a dirty flag telling you whether the running code is committed. |
Search parameters
/api/whitelabel-search reads exactly these names. Anything else in the query string is ignored without a warning, so a typo becomes an empty-looking success — check your parameter names against this table before checking our data.
| Name | Form | Meaning |
|---|
q | string, ≤200 chars, default "" | Free text. A place name, a hotel name, an IATA code. |
city | string, ≤120 | Centre the search on a named city instead of the reader's location. |
country | 2 letters | The market whose catalogues are read. Returned back to you as country, separately from readerCountry. |
category | repeatable: stay · flight · transfer · activity · event · insurance | Singular. category=stays is a 400, not an empty result. |
network | repeatable: awin · cj · impact · fever · tiqets · travelpayouts · aviasales · omio · getyourguide · viator · hotelbeds · nuitee | Restrict to one supply partner. |
from / to | string, ≤120 | Route endpoints for transport categories. |
checkIn / checkOut / date | YYYY-MM-DD | Any other shape is rejected before the search runs. |
adults / rooms / guests | 1–12 / 1–8 / 1–20 | Occupancy. |
currency | 3 letters | Omit it and the market's currency is used and returned. |
minPrice / maxPrice | finite number ≥ 0 | Price window. |
limit | 1–96, default 24 | The only depth control. There is no page, per or offset. |
imageOrigin | partner_feed · lyvgo_library · lyvgo_proxy | Filter by who owns the picture you are about to show. |
id | string, ≤120 | One product by its stable id. |
rated | flag | Only rows with a review score. |
locale | 2 letters, optional region | The language of the answer and of the hand-off URL built from it. A server-to-server call has no reader for the edge to resolve, so this is the only way to ask; a regional tag like pt-PT resolves to its base language. |
What an answer means
| You see | It means |
|---|
| 200 + products | A normal answer. |
| 200 + empty | Legitimately nothing for that market and date. Not an error: check status and the per-source health[] reason instead of the HTTP code. |
| 400 + issues[] | A request problem. issues[].path names the field and message says what was expected. Fix the request; it was never executed. |
| 404 + HTML | The path does not exist. Only stays and flights are published under /api/lyvgo-search/; the other categories are served by /api/whitelabel-search. |
Transport rules
- Server-to-server only. Responses carry no
Access-Control-Allow-Origin, so a browser cannot call them directly; proxy from your backend. - Everything is
Cache-Control: no-store with no ETag. Prices are re-read per call by design — cache on your side for seconds, not hours, and never show a price older than the capturedAt you received. - There are no rate-limit headers and no published quota yet. Ask before building anything that polls; we would rather agree a shape now than throttle you later.
- Responses are
application/json with the schema marker lyvgo.whitelabel.search.v1. Treat an unknown marker as a version you have not been told about.
Images, prices and attribution
- A price is a fact we read, with the currency and the moment we read it. LYVGO does not round, convert silently, or hold a stale number up as current.
- Booking is the partner's, not ours: rows carry a hand-off URL, and where a hand-off is not available the row says
bookable:false instead of sending a customer somewhere that cannot take them. imageOrigin=lyvgo_library means LYVGO supplied the photograph because the feed grants no image rights (Tiqets and the TravelPayouts data API are two of them). Do not present those pictures as partner imagery.- Attribution: keep the
publisher/utm parameters on hand-off URLs intact. They are how the partner and we both know where a booking came from.
What is not here
- No write endpoints. You cannot create, hold or confirm a booking through LYVGO.
- No sandbox keys and no staging tenant yet — the same URL answers for everyone, so test gently.
- No webhooks. If you need to be told when a board refreshes, say so; today you poll.
- No SLA is promised by this page. Uptime commitments come from a signed agreement, not a document a crawler can read.
Talk to us
Email a partnership enquiry
/partners · /connect · /disclosure · /api-docs