Kayak Hotel Search API
Search available hotels by city, stay dates and adults in one room. Returns hotel ratings, location and public provider offers with a declared nightly or stay-total price basis. Nightly prices are null when the source only exposes stay totals. Displayed prices exclude taxes; tax inclusion in separate provider totals is not confirmed. Results cover the initial public result window, not every matching hotel.
POST
/v1/kayak/hotels/search Request Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| checkin | body | string | Yes | Arrival date, YYYY-MM-DD. |
| checkout | body | string | Yes | Departure date, 1–30 nights after arrival. |
| location | body | string | Yes | City and country. Uses Kayak's first matching city and returns the resolved location. |
| adults | body | integer | No | Adults sharing one room. Children and multiple rooms are not supported. |
| limit | body | integer | No | — |
Response Structure
Async kickoff response
Polled run result response
Sync response
Declared output schema
Code Examples
Async + polling
RUN=$(curl -s -X POST "https://api.browsable.app/v1/kayak/hotels/search" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"location":"London, United Kingdom","checkin":"2027-06-14","checkout":"2027-06-21"}')
RUN_ID=$(echo "$RUN" | jq -r '.run_id')
POLL_DELAY=3
while true; do
RESULT=$(curl -s -H "Authorization: Bearer YOUR_API_KEY" "https://api.browsable.app/v1/runs/$RUN_ID")
STATUS=$(echo "$RESULT" | jq -r '.run_status')
if [[ "$STATUS" =~ ^(succeeded|failed|errored|cancelled|canceled|expired)$ ]]; then
echo "$RESULT"
break
fi
sleep "$(awk "BEGIN { print $POLL_DELAY * (0.9 + ($RANDOM % 21) / 100) }")"
POLL_DELAY=$((POLL_DELAY < 30 ? POLL_DELAY * 2 : 30))
[ "$POLL_DELAY" -gt 30 ] && POLL_DELAY=30
doneSync
curl -X POST "https://api.browsable.app/v1/kayak/hotels/search" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{"location":"London, United Kingdom","checkin":"2027-06-14","checkout":"2027-06-21","_run":{"async":false}}'