Nicer is a travel platform where advisors plan trips with travelers. Everything hangs off a trip: its itinerary, its conversation, the offers held for it and the orders paid against it. This is the same API the Nicer apps run on — search live inventory, hold an offer long enough to quote it, turn that quote into a paid order, and build the itinerary the traveler reads.
Authentication
Errors
Idempotency
Rate limits
Travelers and the CRM
API reference
Base URL
The Nicer API is available at https://api.nicer.travel.
Every path is prefixed by the service that owns it, so a place search is
GET https://api.nicer.travel/search/places?q=bogota.
Your first call
A few lookups take no token, so you can check your setup before wiring up authentication:
curl "https://api.nicer.travel/search/places?q=lisbon&kinds=city&limit=1"{
"items": [
{
"id": "gpl_ChIJO_PkYRozGQ0R0DaQ5L3rAAQ",
"kind": "city",
"source": "GOOGLE",
"name": "Lisbon",
"address": "Lisbon",
"fullAddress": "Lisbon, Portugal",
"city": "Lisbon",
"state": "Lisbon",
"country": "Portugal",
"countryCode": "PT",
"latitude": 38.722252399999995,
"longitude": -9.1393366,
"placeId": "ChIJO_PkYRozGQ0R0DaQ5L3rAAQ",
"photos": []
}
]
}Everything else needs a bearer token. See Authentication.
Use the SDK or CLI
Install the stable JavaScript SDK with npm install @nicertravel/sdk or the CLI with
npm install --global @nicertravel/cli. In the API reference, choose JavaScript SDK
or Nicer CLI in the request example. Signed provider webhooks show HTTP examples.
The Node.js examples read your bearer token from NICER_TOKEN. Set NICER_COMPANY for
operations that require an agency. When a JavaScript example uses NICER_IDEMPOTENCY_KEY,
generate a key for that action and reuse it for retries. The CLI supplies its own key.
How the API is organized
| Service | What it covers |
|---|---|
travelers-trip |
Trips: the container everything else belongs to |
trip-itinerary |
Build an itinerary, share it, collect traveler approvals |
booking |
Search inventory, hold an offer as a selection, quote it |
commerce |
Orders, payments, payment methods, the finance ledger |
chat |
Messaging between advisors and travelers |
crm |
Travelers: their advisors, profiles and documents, a trip’s travelers and sales stage, notes, tasks and webhooks. See Travelers and the CRM |
search |
Lookups for pickers: places (hotels, cities, airports), carriers, flight numbers |
tour-viator |
Tours and activities, shaped as itinerary segments |
travel-reference |
Static data: airports, cities, carriers, aircraft |
Planning a trip end to end
Open a trip
POST /travelers-tripwith a title, the dates and at least one destination. The trip is created together with its itinerary and its conversation, so one call is enough to start.Search live inventory
GET /search/places?q=bogotaanswers hotels, cities and airports for a text query, ranked, withphotos=3for a thumbnail each; withAccept: text/event-streamthe same URL streams the list as sources answer.Hold what you chose
POST /booking/selectionsre-validates the offer with the supplier and holds it. The selection stays bookable untilbookableUntil.Freeze the price
POST /booking/quotesturns a selection into an immutable quote: price, payment terms and cancellation policy, fixed.Take the money
POST /commerce/ordersturns quotes into an order, andPOST /commerce/orders/{orderId}/paymentscollects payment. Both require an idempotency key.Show it to the traveler
The itinerary lives under
/trip-itinerary/{tripItineraryId}— created with the trip in step 1, so there is nothing to create here. Its public routes let a traveler read the itinerary and approve segments from a link, without an account.
Building an agent
Every endpoint page in this reference is also available as Markdown — add .md
to any URL — and the whole site is at /llms.txt and
/llms-full.txt.
How this reference is produced
The reference is generated from the same schemas the handlers validate against, so it cannot drift from the running API. Request bodies, query parameters and responses are the real contracts, not a description of them. The raw document is at /openapi.json if you would rather generate a client.