One integration. Seven travel services. At your prices.

The LioTrip API puts flights, hotels, transfers, car rental, tours, packages and visas in your website or app with one key. You set your margin, every booking is paid from your prepaid wallet, and every change reaches you the moment it happens through signed webhooks.

POST/v1/flights/searchAuthorization: Bearer lnz_test_…
  • quote_id 15 min
  • sandbox $1,000 · 30 d
  • webhooks 20 · HMAC-SHA256
quoted
IST → DXB
TK 1821 · 10 Dec · Economy
Net price$412.00
Your margin 10%+ $41.20
Your customer pays$453.20
Illustrative routes and values
Seven services, one keyThe same request shape for every service
One wallet in USDDebited on confirmation, refunds credited automatically
A complete sandboxTest bookings with no real money
Signed webhooks20 events for bookings, wallet, keys and account

What you sell to your customers

Every service follows nearly the same path: search, then a quote that holds the price until it expires, then a booking paid from your wallet, then documents delivered through the API and webhooks.

Flights

Instant confirmation

One-way and return flights across many airlines, with baggage, fare rules and e-tickets.

SearchFare detailsQuoteBookTicketing
TK 1821 · IST → DXB10 Dec 08:00 → 13:30 · Economy · 20 kg$412
Documents
E-ticket and booking reference
Cancellation
Cancellation cost shown first, then the refund to your wallet

Hotels

Instant confirmation

Prepaid hotel rates with rooms, meal plans and clear cancellation policies.

SearchRooms and ratesQuoteBookStay voucher
Grand Bosphorus Hotel ★★★★Istanbul · 3 nights · Breakfast · free cancellation$318
Documents
Hotel voucher and confirmation number
Cancellation
Free cancellation until the policy deadline, then fees stated upfront

Transfers, cars and tours

Instant confirmation

Transfers

Airport and intercity transfers by vehicle class, passengers and luggage.

SearchQuoteBookVoucher
Documents
Transfer voucher and meeting details
Cancellation
A cancellation policy on every offer

Car rental

Car rental by class, with fuel and insurance terms and pick-up and drop-off points.

SearchDetailsQuoteBook
Documents
Pick-up voucher
Cancellation
The supplier terms shown in the offer

Tours

Tours and day trips with available times and languages, booked for a set date.

SearchDetailsQuoteBook
Documents
Tour ticket
Cancellation
The tour's own policy

Packages and visas

On request

Your customer sends the request, our team reviews it, and the decision reaches you through booking.on_request_decided or visa.status_changed. Nothing is debited before confirmation.

Packages

Complete holiday programmes with set departures, confirmed by our team, with the decision sent by webhook.

SearchDetailsRequestTeam decision
Documents
Trip programme after confirmation
Cancellation
The package terms

Visas

Visa requirements by nationality and destination, application, document upload and status tracking.

RequirementsQuoteApplyUpload documents
Documents
Status updates through visa.status_changed
Cancellation
Depends on the application stage

One request shape for every service

The same key, the same authentication, the same error format and the same wallet. Add a new service to your site by changing the path: /v1/hotels/search.

/v1/flights/v1/hotels/v1/transfers/v1/cars/v1/tours/v1/packages/v1/visas

Walk the whole booking flow before you write a line

Pick a service and step through search, details, quote and book. Every request is the documented one, every response has exactly the shape the API returns, and the id one step returns feeds the next.

Request

POST /v1/flights/search

Returns the available offers, each with an offer_id, a net price and a public price.

  • Sandbox limit for this route: 30 requests per minute
curl -X POST https://api.liotrip.com/v1/flights/search \
  -H "Authorization: Bearer $LONALIZA_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"slices":[{"origin":"IST","destination":"DXB","departure_date":"2026-12-31"},{"origin":"DXB","destination":"IST","departure_date":"2027-01-07"}],"passengers":{"adults":1},"cabin":"economy","max_stops":1}'

Response

Simulation
Press “Send request” to see the response in the shape the API returns.
Sandbox wallet
Test credit on activation
$1,000.00
Price is binding for15:00

There is no public key, so this explorer never calls the API. Requests, fields and limits come from the real code; values inside the responses are examples. The real thing starts with an lnz_test_ key from your account.

How a booking goes from search to ticket

Your app talks to the API, the API works with your wallet, and every change reaches you by webhook. This is what really happens on every booking, in the same order and with the same ledger names your statement shows.

POST /v1/account/topups
topup

Top up the wallet. Bank transfer or card. In the sandbox the credit lands at once.

1 of 6

You set the price, the money stays in your wallet

Every offer comes with two prices: the net price you pay us and the public price any traveller pays. The space between them is yours.

  1. 1Net price and public priceIn cents and in USD on every offer: price and retail_price.
  2. 2Your marginYou add it to the net price on your site before showing it, and show the gap to the public price as a saving.
  3. 3Wallet debitThe net price is debited only when the booking is confirmed. A failed booking debits nothing.
  4. 4Statement and invoicesEvery top-up, debit and refund in your statement, invoices exported from the partner panel, and an alert before the balance runs out.
Net price
$412.00
Your margin 10%
+ $41.20
Your customer pays
$453.20
Wallet · USD
$4,588.00
Top-up · bank transfer+ $5,000.00
Booking TK 1821− $412.00
Invoices
INV-2026-1042 · TK 1821PDF
INV-2026-1041 · hotelPDF
November statementCSV
Illustrative figures.

Two ways to connect, the same key

Start with a site hosted on LioTrip today and move to your own site tomorrow, with no new key and no new wallet.

—A site hosted on LioTripYour own website or app
SetupPaste the key in “Providers” → “LioTrip”Call /v1 from your server or through MCP
Design and booking pagesReady on your hosted siteYou build them your way
MarginSet it in your site panelCompute it in your code on the net price
Paying for bookingsThe same walletThe same wallet
Technical skills neededAlmost noneA developer who knows REST
Best forAn agency that wants a site fastA platform, an existing app or a custom experience

Connect the way your team works

REST straight from your server in five languages, or MCP for AI coding agents, and Luna answers your team's questions from the docs themselves.

# Search flights in the sandbox
curl https://api.liotrip.com/v1/flights/search \
  -H "Authorization: Bearer lnz_test_k7Q…" \
  -H "Content-Type: application/json" \
  -d '{
    "slices": [{ "origin": "IST", "destination": "DXB",
                 "departure_date": "2026-12-10" }],
    "passengers": { "adults": 1 },
    "cabin": "economy"
  }'

# 200 OK
{ "search_id": "srch_5Vt2…", "complete": true,
  "offers": [{ "offer_id": "off_9Qm1…",
    "price": { "amount_cents": 41200, "currency": "USD" },    "retail_price": { "amount_cents": 48900, "currency": "USD" } }] }

Luna, the developer assistant

Ask in Arabic or English about any operation, event or error, and she answers straight from the docs and the spec.

A complete OpenAPI spec

An OpenAPI 3.1 spec for every operation: generate a client in your language or import it into Postman.

MCP: your coding agent does the integration

Connect Claude Code, Codex, Cursor, Antigravity or VS Code to our MCP server with your key. Every API operation shows up as a tool, and the ones that move money require an explicit confirmation.

Helper tools

  • docs_searchSearches the guides and every operation's reference and returns the best pages.
  • docs_readReads one guide or operation reference in full, with fields and examples.
  • explain_errorExplains an error code: what it means, its status, whether to retry and the fix.
  • sandbox_statusYour account at a glance: environment, services, limits, balance and trial days left.
  • plan_integrationThe full call sequence for one service, from search to cancellation.

plus 36 API operations as direct tools

claude mcp add --transport http lonaliza https://api.liotrip.com/mcp \
  --header "Authorization: Bearer $LONALIZA_API_KEY"

Every change reaches you as it happens

Subscribe each webhook URL to the events you need. Every message is signed with HMAC-SHA256 in the X-Lonaliza-Signature header, and any message older than 5 minutes is rejected.

EventWhen it arrives
booking.confirmedThe booking is confirmed and the net price was debited from the wallet.
booking.pendingThe booking is being processed by the supplier.
booking.failedThe booking failed and nothing was debited.
booking.ticketedThe ticket or voucher was issued and the documents are ready.
booking.changedThe supplier changed something in the booking (time, flight number…).
booking.cancellation_requestedWe received the cancellation request.
booking.cancelledThe booking was cancelled.
booking.on_request_decidedOur team decided an on-request booking (package or visa).
cancel.quotedThe cancellation cost is ready before you accept it.
refund.creditedThe refund was credited to your wallet.
visa.status_changedThe visa application status changed.
wallet.low_balanceThe wallet balance is close to the threshold you set.
wallet.topup_creditedA top-up was credited to your wallet.
key.rotatedA key was rotated; the old one works until its grace period ends.
key.revokedA key was revoked and no longer works.
key.expiringA key is close to its expiry.
service.suspendedA service was suspended for your account, with the reason.
account.warningA warning about your account's usage, before any action.
account.suspendedYour account was suspended, with the reason.
account.reinstatedYour account was reinstated.

Every event arrives signed

Sample stream

Each delivery carries a signature header with a timestamp and an HMAC-SHA256 of the raw body. Verify it in two lines with the code shown.

  1. booking.confirmedThe booking is confirmed and the net price was debited from the wallet.
    X-Lonaliza-Signature: t=1790000000,v1=91dd72e303bdbe1a2e6513166611…
  2. booking.ticketedThe ticket or voucher was issued and the documents are ready.
    X-Lonaliza-Signature: t=1790000007,v1=999dfc2cdc49eec462143706c12f…
  3. cancel.quotedThe cancellation cost is ready before you accept it.
    X-Lonaliza-Signature: t=1790000014,v1=226aa6ed02653b18652359238551…
  4. refund.creditedThe refund was credited to your wallet.
    X-Lonaliza-Signature: t=1790000021,v1=9711ce238bc558ea3c4ff1dce7cb…
  5. wallet.low_balanceThe wallet balance is close to the threshold you set.
    X-Lonaliza-Signature: t=1790000028,v1=bf7563ad75c1679bec332561b2f3…
  • Timestamp tolerance: 300 seconds
  • During a secret rotation you get two signatures for 24 hours, so nothing breaks while you switch.
import { createHmac, timingSafeEqual } from "node:crypto";

export function lonalizaVerify(header, rawBody, secret) {
  const parts = header.split(",").map((p) => p.trim().split("="));
  const t = Number(parts.find(([k]) => k === "t")?.[1]);
  if (!t || Math.abs(Date.now() / 1000 - t) > 300) return false;
  const want = Buffer.from(createHmac("sha256", secret).update(`${t}.${rawBody}`).digest("hex"));
  return parts.filter(([k]) => k === "v1").some(([, v]) => v.length === want.length && timingSafeEqual(Buffer.from(v), want));
}

Test before you rely on them

Send a test event to any URL from the partner panel, review each URL's delivery log with the response code, and rotate the signing secret whenever you want.

Limits and pricing, straight from the code

Limits are per minute and per key, and come back in RateLimit headers on every response. Each booking is paid at its net price from your prepaid wallet.

Limits and pricing, straight from the code
SandboxStandardProEnterprise
Searchrequests per minute301206001,200
Quoterequests per minute2060300600
Bookrequests per minute1030120240
Accountrequests per minute60120300600
Concurrent searches3104080
Searches per day2,00020,000150,000500,000

Sandbox

  • A one-time $1,000 test credit on activation; sandbox top-ups can only refill up to that cap.
  • The trial lasts 30 days from your account's approval, with reminders 7 days and 1 day before it ends.
  • Every test key runs on sandbox limits, whatever your account's tier.

Production

  • Requires a $2,000 minimum wallet balance before live keys are enabled.
  • Your account's tier (Standard, Pro or Enterprise) is set by our team to match your volume.

How you pay

  • You pay the net price of each booking and sell to your customer at the price you choose.
  • Top up by bank transfer, or by card with the gateway fee shown before you pay.
  • A confirmed cancellation returns the refund to your wallet automatically.

The numbers in this section are read from the gateway's own settings, so they change here when they change there.

Security built for real money

The API moves money from your wallet, so every layer is protected: the key, the address, the message and the booking itself.

Keys we never store

We keep only a fingerprint of the key. It is shown in full once, when created, and nobody can retrieve it afterwards.

Your server addresses only

Live keys work only from the IP addresses you declare, so a leaked key is worthless elsewhere.

Rotation without downtime

When you rotate a key, the old one keeps working for 24 hours while you update your servers.

Signed webhooks

An HMAC signature with a timestamp prevents forgery and replays.

No double bookings

An Idempotency key on booking operations makes retries safe after a network drop.

Clear limits per tier

Request limits follow your tier, with a Retry-After header when you reach them.

API Guardian

It watches for abnormal usage such as scraping, shared keys and attempts to reach internal paths. Its actions are graduated and reversible, and a partner who books regularly is never suspended for search volume alone.

WatchWarnLower limitsHuman review

The real protection numbers

  • 2020 failed authentications per minute from one address block it for 15 minutes.
  • 600600 requests per minute is each address's budget before the key is checked.
  • ½When the Guardian throttles an account, its limits drop to half for 24 hours instead of a shutdown.

Who builds on LioTrip

Examples of what can be built with the same API.

A travel agency with a ready site

Sells the seven services on a hosted site at its own margin, without writing code.

Hosted

An existing booking platform

Adds missing services (visas, transfers, tours) without a new supplier for each.

REST

A mobile app

Its server calls the API and shows the offers in the app with its own design.

REST

An AI agent

An assistant that searches, quotes and books for your customers through MCP.

MCP

The full documentation is for partners

The reference for every operation, the spec, code samples and the playground with your sandbox key: all inside your account. Here is how to get there in minutes:

  1. 1Register as a B2B partnerYour company name and email. You do not need a website to start.
  2. 2Open “API integration” in the partner panelAccept the terms of use: the sandbox is enabled and you create your key.
  3. 3Click “Open the developer docs”You land in the docs signed in, with the playground and your sandbox key.

Questions partners ask

If your question is not here, ask Luna from the help button or contact the partner team.

Do I need a site on LioTrip to use the API?

No. The same key works two ways: paste it into a site hosted on LioTrip under “Providers” → “LioTrip”, or call the API from your own website or app.

How do I set my prices?

Every offer carries the net price (price) and the public price (retail_price). You add your margin to the net price before showing it, and use the public price to show “you save”.

How do I pay for bookings?

From a prepaid wallet in USD. The net price is debited when the booking is confirmed, refunds return to it automatically, and every movement is in the wallet statement.

What can I do in the sandbox?

Everything: search, quote, book, cancel and webhooks, with an lnz_test_ key and test offers, without any real money.

When do I go live?

When your integration works in the sandbox: send the production request from the partner panel (services, server addresses, technical contact). After approval and the minimum wallet deposit, you create an lnz_live_ key.

How are my keys protected?

We store only a fingerprint, never the key itself, and it is shown in full once when created. Live keys are limited to your server addresses, and rotation keeps the old key working for 24 hours.

How do I reach the full documentation?

The docs are for registered partners: register as a B2B partner, then open “API integration” in the partner panel and click “Open the developer docs”.

Start in the sandbox today

Register as a partner, enable “API integration” and book your first test flight in minutes, without real money.