VANITYPASS
White-label APIHotels

Search Hotels

Search available hotels for user travel plans.

Search Hotels

Search for hotels available for your travel dates. Results stream in progressively so you can show hotels to the user as they arrive.

Request

POST /v1/hotel/search/stream

Body:

FieldTypeRequiredDescription
destinationstringyesCity code or airport code.
check_instringyesISO-8601 date.
check_outstringyesISO-8601 date.
guestsobjectyesNumber of adults, children, rooms.
currencystringnoISO-4217. Uses profile default if omitted.

Response

Hotel results stream via Server-Sent Events (SSE), with each event containing a single hotel result.

Try it

Sandbox-only. Try-it requests target https://cloud.vanitypass.com with X-Environment: Sandbox. No real bookings or charges. Production access: contact us.
POST/v1/hotel/search/stream

Sandbox credentials

Keys never leave your browser — they are sent only to cloud.vanitypass.com with X-Environment: Sandbox.

curl -X POST 'https://cloud.vanitypass.com/v1/hotel/search/stream' \
  -H 'Content-Type: application/json' \
  -H 'X-Environment: Sandbox' \
  -d '{"destination":"CDG","check_in":"2026-07-01","check_out":"2026-07-05","guests":{"adults":1,"rooms":1}}'