Kayak Stays Search
POST /api/v1/kayak/stays/search
Search hotels and stays, nightly rates, ratings, filters, and seasonal prices on Kayak.
Overview
Search hotels and stays, nightly rates, ratings, filters, and seasonal prices on Kayak.
POST /api/v1/kayak/stays/search
Method: POST Path: /api/v1/kayak/stays/search Category: Travel
Request Parameters
Endpoint Parameters
| Name | Type | Requirement | Description |
|---|---|---|---|
| location | string | Required | City name, airport IATA code, or Kayak .hotel.ksp URL |
Request Example
Kayak Stays Search Request Examples
curl -X POST "https://api.dataguru.cc/api/v1/kayak/stays/search" \ -H "Authorization: Api-Key YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{"location": "example"}'
Response Example
200 OK
Typical 200 OK JSON response structure with envelope metadata.
{ "location": "string", "url": "https://example.com/...", "canonical_url": "https://example.com/...", "heading": "string", "lowest_offer": { "price": 0.0, "currency": "USD", "valid_from": "string" }, "seasonal_pricing": {}, "total_hotels": 0, "hotels": [ { "name": "string", "url": "https://example.com/...", "neighborhood": "string", "star_rating": "string", "review_score": "string", "review_label": "string", "review_count": "string", "price": "string", "freebies": [ "string" ], "image_url": "https://example.com/...", "telephone": "string", "address": "string", "geo": { "latitude": 0.0, "longitude": 0.0 }, "description": "string" } ], "popular_filters": [ { "title": "string", "summary": "string" } ], "editorial_top_hotels": [ { "rank": "string", "name": "string", "price_range": "string", "address": "string", "summary": "string", "url": "https://example.com/..." } ], "faqs": [ { "question": "string", "answer": "string" } ], "error": "string", "_metadata": { "request_id": "3f6c1a2e-8b4d-4c1e-9a7f-2d5e6b7c8d9e", "execution_time_ms": 842, "endpoint": "Kayak Stays Search", "mode": "live", "format": "json", "timestamp": "2026-01-01T12:00:00+00:00" } }
Response Schema
Fields returned in a successful response. Nested fields use dot notation and `[]` marks items of a list. Fields that are not required can be missing or `null` when the source does not provide them. Every response also includes a `_metadata` block.
Response Fields
| Field | Type | Required | Description |
|---|---|---|---|
| location | string | Yes | City or destination queried |
| url | string | Yes | Kayak hotel destination guide URL |
| canonical_url | string | No | Canonical URL from page metadata |
| heading | string | No | Main H1 heading on the page |
| lowest_offer | object | null | No | Lowest stay rate found from JSON-LD schema |
| lowest_offer.price | number | string | null | No | |
| lowest_offer.currency | string | No | |
| lowest_offer.valid_from | string | No | |
| seasonal_pricing | object | No | Seasonal average rates (e.g. low season, high season, average price) |
| total_hotels | integer | No | Total number of hotels extracted |
| hotels | array<object> | Yes | Extracted hotel listings in the destination |
| hotels[].name | string | Yes | Hotel or property name |
| hotels[].url | string | Yes | Direct Kayak hotel details URL |
| hotels[].neighborhood | string | No | District, neighborhood, or distance to center |
| hotels[].star_rating | string | number | No | Official star rating class |
| hotels[].review_score | string | No | Guest review score (e.g. 8.4) |
| hotels[].review_label | string | No | Review sentiment label (e.g. Excellent, Very Good) |
| hotels[].review_count | string | No | Total number of guest reviews |
| hotels[].price | string | No | Nightly room price |
| hotels[].freebies | array<string> | No | Complimentary amenities (e.g. Free Wi-Fi, Free Breakfast) |
| hotels[].image_url | string | No | Hotel thumbnail image URL |
| hotels[].telephone | string | No | Property phone number |
| hotels[].address | string | No | Street address of the property |
| hotels[].geo | object | No | Geographical coordinates |
| hotels[].geo.latitude | number | string | No | |
| hotels[].geo.longitude | number | string | No | |
| hotels[].description | string | No | Hotel summary description |
| popular_filters | array<object> | No | Popular stay categories and filters in the city |
| popular_filters[].title | string | Yes | |
| popular_filters[].summary | string | No | |
| editorial_top_hotels | array<object> | No | Editorial ranked hotel recommendations |
| editorial_top_hotels[].rank | string | No | |
| editorial_top_hotels[].name | string | Yes | |
| editorial_top_hotels[].price_range | string | No | |
| editorial_top_hotels[].address | string | No | |
| editorial_top_hotels[].summary | string | No | |
| editorial_top_hotels[].url | string | No | |
| faqs | array<object> | No | Frequently asked questions about booking hotels in this location |
| faqs[].question | string | Yes | |
| faqs[].answer | string | Yes | |
| error | string | No | Error message if scrape fails |
Asynchronous Requests
Long-running requests can be processed in the background. Add `?async=true` (or the `Prefer: respond-async` header) to receive a `job_id` immediately, then poll the job until its status is `COMPLETED`.
Async Workflow
curl -X POST "https://api.dataguru.cc/api/v1/kayak/stays/search?async=true" \ -H "Authorization: Api-Key YOUR_API_KEY" # 202 Accepted { "success": true, "status": "SUBMITTED", "job_id": "0ca215ce-244f-4b28-b481-dc1b551983c8", "status_url": "/api/v1/jobs/0ca215ce-244f-4b28-b481-dc1b551983c8/" }
Batch Processing
To run many requests at half price, upload them as a CSV file: one row per request, with the parameter names above as the header row. Rows run in the background within 24 hours (up to 7 days for large files) and each successful row costs 50% of the price below. Poll /api/v1/batches/{batch_id}/ for progress and download results.json when it has finished. See the Batch Processing guide for details.
Batch Workflow
location example
Pricing & Rate Limits
Endpoint Pricing
$0.02 / per successful request (USD)
Consumed per successful call: 1 request unit(s), 1 credit(s).
Endpoint Rate Limits
Common Errors
Common HTTP Errors
| Status | Code | Description |
|---|---|---|
| 400 | VALIDATION_ERROR | A required parameter is missing or malformed. |
| 401 | UNAUTHORIZED | Missing or invalid API key. |
| 402 | INSUFFICIENT_BALANCE | Your balance cannot cover this request. |
| 403 | ENDPOINT_DISABLED | This endpoint is currently unavailable. |
| 405 | METHOD_NOT_ALLOWED | The endpoint was called with the wrong HTTP method. |
| 429 | RATE_LIMIT_EXCEEDED | Too many requests. See the Retry-After header. |
| 502 | PROVIDER_ERROR | The upstream data source failed. Retry with exponential backoff. |