LYVGOLYVGO
Sign in

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&currency=EUR&limit=5"

Endpoints

PathMethodWhat it gives you
/api/whitelabel-searchGETThe main shelf. Every licensed category in one call, deduplicated and ranked the way our own pages rank it.
/api/lyvgo-search/staysGETAccommodation for one market and one date range. Requires destination; without dates it answers 400 no_destination rather than guessing.
/api/lyvgo-search/flightsGETFares 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/feedGETThe cached fare board for a country: iso, origin, destination, departure_at, month, kind, q, limit.
/api/versionGETWhat 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.

NameFormMeaning
qstring, ≤200 chars, default ""Free text. A place name, a hotel name, an IATA code.
citystring, ≤120Centre the search on a named city instead of the reader's location.
country2 lettersThe market whose catalogues are read. Returned back to you as country, separately from readerCountry.
categoryrepeatable: stay · flight · transfer · activity · event · insuranceSingular. category=stays is a 400, not an empty result.
networkrepeatable: awin · cj · impact · fever · tiqets · travelpayouts · aviasales · omio · getyourguide · viator · hotelbeds · nuiteeRestrict to one supply partner.
from / tostring, ≤120Route endpoints for transport categories.
checkIn / checkOut / dateYYYY-MM-DDAny other shape is rejected before the search runs.
adults / rooms / guests1–12 / 1–8 / 1–20Occupancy.
currency3 lettersOmit it and the market's currency is used and returned.
minPrice / maxPricefinite number ≥ 0Price window.
limit1–96, default 24The only depth control. There is no page, per or offset.
imageOriginpartner_feed · lyvgo_library · lyvgo_proxyFilter by who owns the picture you are about to show.
idstring, ≤120One product by its stable id.
ratedflagOnly rows with a review score.
locale2 letters, optional regionThe 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 seeIt means
200 + productsA normal answer.
200 + emptyLegitimately 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 + HTMLThe 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

Images, prices and attribution

What is not here

Talk to us

Email a partnership enquiry

/partners · /connect · /disclosure · /api-docs