Provided by DataForSEO
Find hotels in Google Hotel Search with DataForSEO
Search Google Hotels for the hotels listed in one location and language, optionally for a search phrase, for given check-in and check-out dates and guest counts, narrowed by star class, minimum rating, price range, free cancellation, vacation rentals or amenities, up to 140 hotels deep. One row per hotel: its hotel identifier, name, star class, whether the listing is a paid ad, map coordinates, review score with vote count, and overview images. One request per call, priced by the vendor's own rate card; an empty result set is reported as no result.
How to run it
Step 1Set up
Once: paste this into your agent's chat. The Skill installs the CLI and logs in by itself. For an agent that cannot use a shell, connect it over MCP instead.
set up https://glasser.ai/SKILL.md
Show me how to use the DataForSEO endpoint /v3/business_data/google/hotel_searches/live on Glasser.glasser run -p dataforseo -e '/v3/business_data/google/hotel_searches/live' -i '{"language_code":"en","location_code":1023191}' --endpoint-version 6Uses endpoint version 6. Inspect the current price before running. Install and log in first on Get Started.
Once per Run:
IDEMPOTENCY_KEY=$(uuidgen)Run it, and copy this same block to send it again:
curl -X POST https://api.glasser.ai/v1/runs \
-H "Authorization: Bearer gl_..." \
-H "Idempotency-Key: $IDEMPOTENCY_KEY" \
-H "Content-Type: application/json" \
-d '{"provider":"dataforseo","endpoint":"/v3/business_data/google/hotel_searches/live","input":{"language_code":"en","location_code":1023191},"endpoint_version":6}'Reuse the same Idempotency-Key to send it again: the second send is a read of the first Run. A new key is a new Run and a new Charge. Uses endpoint version 6; inspect the current price before running.
Step 2Try a specific example task
When you need to qualify potential customers, you might compare company information with your ideal-customer criteria to decide which accounts to research next.
Copy this prompt into your agent to review companies against your ideal-customer criteria.
Use dataforseo:/v3/business_data/google/hotel_searches/live on Glasser.
Check the returned company data against my ideal-customer criteria.Endpoint structure
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"properties": {
"tag": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"depth": {
"type": "integer",
"maximum": 140,
"minimum": 1,
"description": "Results to collect (1-140, default 18). DataForSEO bills each page of up to 18 results."
},
"stars": {
"type": "array",
"items": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"maxItems": 100,
"minItems": 1
},
"adults": {
"type": "integer"
},
"keyword": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"sort_by": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"check_in": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"children": {
"type": "array",
"items": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"maxItems": 100,
"minItems": 1
},
"currency": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"amenities": {
"type": "array",
"items": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"maxItems": 100,
"minItems": 1
},
"check_out": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"max_price": {
"type": "integer"
},
"min_price": {
"type": "integer"
},
"min_rating": {
"anyOf": [
{
"type": "number"
},
{
"enum": [
"Infinity",
"-Infinity",
"NaN"
],
"type": "string"
}
]
},
"language_code": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"language_name": {
"type": "string"
},
"location_code": {
"type": "integer"
},
"location_name": {
"type": "string"
},
"search_this_area": {
"type": "boolean"
},
"free_cancellation": {
"type": "boolean"
},
"is_vacation_rentals": {
"type": "boolean"
},
"location_coordinate": {
"type": "string",
"maxLength": 2048,
"minLength": 1
}
},
"additionalProperties": false
}{
"language_code": "en",
"location_code": 1023191
}This Endpoint publishes no output schema. You get the Provider's own response body, unchanged — we do not warrant a shape we cannot guarantee.
How pricing works
| Default-size input | Larger inputs and paid options vary with Provider usage. The same price with or without matching data. | $0.004 |
|---|---|---|
| Maximum per Run | The total charge will not exceed this amount. | $0.16 |
| Provider error | The Provider failed to answer. | $0.00 |
| Timed out | The Run exceeded its time limit. | $0.00 |
| Internal failure | An internal error prevented completion. | $0.00 |