Pointify

API reference · Hotels, cars and cruises

Search hotels

POST/v1/hotels/search
Scope: searchTest mode: sample dataStreams (SSE)

Searches hotel prices for a city and dates. Each result carries the cash price and, where we know it, the points price and its cents-per-point value.

URL
https://api.pointifytravels.com/v1/hotels/search
Access
Any key. This endpoint does not need a scope.
Test keys
Sample data in the live response shape. Never calls a supplier. Free, up to 60 requests a minute. Test mode
Live keys
Each successful call counts toward your daily quota. Limits

Parameters

Body parameters

Sent as a JSON object with Content-Type: application/json.

Body parameters
NameInTypeRequiredDefaultDescription
destinationbodystringRequired-City or area, e.g. "Tokyo".
check_inbodystring (YYYY-MM-DD)Required-Check-in date.
check_outbodystring (YYYY-MM-DD)Required-Check-out date.
guestsbodyintegerOptional1Guests.
roomsbodyintegerOptional1Rooms.
search_typebodystringOptionalbothCash, points or both.
Allowed values:cashpointsboth

Request example

curl -N -X POST "https://api.pointifytravels.com/v1/hotels/search" \
  -H "Authorization: Bearer $POINTIFY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"destination":"Tokyo","check_in":"2027-01-23","check_out":"2027-01-26","guests":2}'

Response

A stream of Server-Sent Events. Each event is an event: line and a data: line with JSON, followed by a blank line. complete always arrives last. Reading streams

Events in this stream
EventMeaning
progressA source started or finished.
resultOne hotel (see the example).
completeAlways last: { total_results }.

Example events

text/event-stream
event: progress
data: {"source":"google_hotels","status":"searching","result_count":0}

event: result
data: {"hotel_name":"Park Hyatt Tokyo","chain":"Hyatt","star_rating":5,"review_score":9.1,"price_cash":640,"price_points":30000,"currency":"USD","cpp_value":2.13,"source":"google_hotels","room_type":"King room","amenities":["wifi","breakfast"],"check_in":"2027-01-23","check_out":"2027-01-26"}

event: complete
data: {"total_results":38}

Errors use the shape in Errors. Invalid input returns 422 with a list of problems.

Try it

Try it

Use a test key. A live key uses your daily quota.

No key yet? Create a test key in the dashboard. Test keys are free on every plan.

Path and query values go in the URL; everything else is sent as the JSON body.

POSThttps://api.pointifytravels.com/v1/hotels/search

Ready to find your best fare?

Create a free account to save your travel plans and explore cash and points options.

Create Free Account