Availability & Pricing
Fetch product details, check the availability calendar, and calculate exact pricing before booking.
Availability & Pricing
Before presenting a booking confirmation, load the full product, check its availability calendar, and calculate the exact price for the selected option and traveler mix. All requests use the end-user's JWT plus X-App-Id and X-Environment headers.
Get Experience Details
GET /v1/travel/experiences/{product_code}
Full product details — description, inclusions, bookable options, cancellation policy, meeting point, and photos. Use the option_code values returned here when pricing and holding a booking.
https://cloud.vanitypass.com with X-Environment: Sandbox. No real bookings or charges. Production access: contact us./v1/travel/experiences/{product_code}Sandbox credentials
Keys never leave your browser — they are sent only to cloud.vanitypass.com with X-Environment: Sandbox.
curl -X GET 'https://cloud.vanitypass.com/v1/travel/experiences/{product_code}' \
-H 'Content-Type: application/json' \
-H 'X-Environment: Sandbox' \Check Availability
GET /v1/travel/experiences/{product_code}/availability
Returns the availability calendar for a product — bookable dates, time slots, and per-option pricing.
https://cloud.vanitypass.com with X-Environment: Sandbox. No real bookings or charges. Production access: contact us./v1/travel/experiences/{product_code}/availabilitySandbox credentials
Keys never leave your browser — they are sent only to cloud.vanitypass.com with X-Environment: Sandbox.
curl -X GET 'https://cloud.vanitypass.com/v1/travel/experiences/{product_code}/availability' \
-H 'Content-Type: application/json' \
-H 'X-Environment: Sandbox' \Calculate Price
POST /v1/travel/experiences/calculate-price
Get the exact price for a specific option, date, and traveler mix. Call this before creating a hold.
| Field | Type | Required | Description |
|---|---|---|---|
product_code | string | yes | Experience product code |
option_code | string | yes | Option code from the product details |
date | string | yes | YYYY-MM-DD |
travelers | object | yes | Traveler counts — { adults, children?, youth?, infants? } |
start_time | string | no | HH:MM — required only for fixed-time products |
currency | string | no | ISO-4217 currency code |
https://cloud.vanitypass.com with X-Environment: Sandbox. No real bookings or charges. Production access: contact us./v1/travel/experiences/calculate-priceSandbox 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/travel/experiences/calculate-price' \
-H 'Content-Type: application/json' \
-H 'X-Environment: Sandbox' \
-d '{"product_code":"4026LOND","option_code":"TG1","date":"2026-07-03","start_time":"10:00","travelers":{"adults":2},"currency":"USD"}'