APIDataTravel

DataForSEO — Business Data / Google / Hotel Info / Live / Html

Retrieve business Data Google Hotel Info Live Html with the DataForSEO API. Review the selected endpoint’s request fields before calling. Use it for account research or company due diligence.

Selected price
$0.004 / callPublished pricing
Sellers / APIs
1 / 1
Requests · 30d
—Loading...
Success rate · 30d
—Loading...
USE THIS API

DataForSEO — Business Data / Google / Hotel Info / Live / Html

Prepare your request, then continue with your agent.

Pricing

$0.004 / call

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Provider
Pricing
Connect your agent
On this page

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters
body* array
body[0]* object | null
unique hotel identifier required field unique identifier of a hotel entity in Google search; you can obtain the value by making a request to Advanced Google SERP API (enclosed in the hotels element of the response), or the Hotel Searches endpoint of Business Data API example: ChYIq6SB--i6p6cpGgovbS8wN2s5ODZfEAE
Optional parameters (12)
number of adults optional field if you don't specify this field, two adults will be used by default example: 1
check-in date optional field if you don't specify this field, tomorrow's date will be used by default; date format: "yyyy-mm-dd" example: "2019-01-15"
check-out date optional field if you don't specify this field, our system will apply the date of two days from now by default; date format: "yyyy-mm-dd" example: "2019-01-15"
children array | null
number and age of children optional field if you don't specify this field, no children will be included in the search; set the following value if you want to include one 14-years-old child: [14] set the following value if you want to include one 13-years-old child and one 8-years-old child: [13,8]
currency optional field example: "USD"
search engine language code required field if you don't specify language_name if you use this field, you don't need to specify language_name you can receive the list of available languages with their language_code_by making a separate request to https://api.dataforseo.com/v3/business_data/google/languages example: enn
full name of search engine language required field if you don't specify language_code if you use this field, you don't need to specify language_code you can receive the list of available languages with language_name by making a separate request to https://api.dataforseo.com/v3/business_data/google/languages example: English
search engine location code required field if you don't specify location_name_or location_coordinate if you use this field, you don't need to specify location_name or location_coordinate you can receive the list of available locations with location_code by making a separate request to the https://api.dataforseo.com/v3/business_data/google/locations example: 2840n
GPS coordinates of a location required field if you don't specify location_name_or location_code if you use this field, you don't need to specify location_name or location_code location_coordinate parameter should be specified in the "latitude,longitude" format the maximum number of decimal digits for "latitude" and "longitude": 7 Note: if the coordinates are used to set a location, the search will occur in the nearest settlement; example: 53.476225,-2.243572n
full name of search engine location required field if you don't specify location_code or location_coordinate if you use this field, you don't need to specify location_code or location_coordinate you can receive the list of available locations with location_name by making a separate request to https://api.dataforseo.com/v3/business_data/google/locations example: London,England,United Kingdom
task priority optional field can take the following values: 1 – normal execution priority (set by default) 2 – high execution priorityYou will be additionally charged for the tasks with high execution priority. The cost can be calculated on the Pricing page.
user-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task and match it with the result you will find the specified tag value in the data array of the response
‌‌ Google Hotel Info will provide you with unstructured HTML data available for a specific hotel entity on the Google Hotels platform: such as service description, location details, rating, amenities, reviews, images, prices, and more.

Sample response

{
  "cost": 0.004,
  "status_code": 20000,
  "status_message": "Ok.",
  "tasks": [
    {
      "cost": 0.004,
      "data": {
        "api": "business_data",
        "device": "desktop",
        "function": "hotel_info",
        "hotel_identifier": "ChYIq6SB--i6p6cpGgovbS8wN2s5ODZfEAE",
        "language_name": "English",
        "location_name": "New York,New York,United States",
        "os": "windows",
        "se": "google",
        "se_type": "hotel_info"
      },
      "id": "05211500-2692-0304-0000-61a5a4e64194",
      "path": [
        "v3",
        "business_data",
        "google",
        "hotel_info",
        "live",
        "html"
      ],
      "result": [
        {
          "datetime": "2021-05-21 12:00:43 +0000",
          "items": [
            {
              "date": "2021-05-21T12:00:43.8273278Z",
              "html": "<!doctype html><html lang=\"en\" dir=\"ltr\"><head><base href=\"https://www.google.com/\"><meta name=\"referrer\" content=\"origin\"><link rel=\"canonical\" href=\"https://www.google.com/travel/hotels/entity/ChYIq6SB--i6p6cpGgovbS8wN2s5ODZfEAE\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no\"><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"><meta name=\"google-site-verification\" content=\"vzI4y-3iMecKTIHcKK5ZK6Ox4-K5SAJWV5tqgCxry20\"",
              "page": 1
            }
          ],
          "items_count": 1,
          "keyword": "ChYIq6SB--i6p6cpGgovbS8wN2s5ODZfEAE",
          "language_code": "en",
          "location_code": 1023191,
          "se_domain": "google.com",
          "type": "hotel_info"
        }
      ],
      "result_count": 1,
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "4.2569 sec."
    }
  ],
  "tasks_count": 1,
  "tasks_error": 0,
  "time": "4.3808 sec.",
  "version": "0.1.20210519"
}

Response result

Response structure

Inferred from examples
  • costnumber
  • status_codeinteger
  • status_messagestring
  • tasksobject[]
    • costnumber
    • dataobject
      • apistring
      • devicestring
      • functionstring
      • hotel_identifierstring
      • language_namestring
      • location_namestring
      • osstring
      • sestring
      • se_typestring
    • idstring
    • pathstring[]
    • resultobject[]
      • datetimestring
      • itemsobject[]
        • datestring
        • htmlstring
        • pageinteger
      • items_countinteger
      • keywordstring
      • language_codestring
      • location_codeinteger
      • se_domainstring
      • typestring
    • result_countinteger
    • status_codeinteger
    • status_messagestring
    • timestring
  • tasks_countinteger
  • tasks_errorinteger
  • timestring
  • versionstring

Sellers

SellerPricingRequests · 30dPerformanceAccess
DataForSEOCurrent
DataForSEO — Business Data / Google / Hotel Info / Live / Html · POST · View API reference
$0.004 / call—
—successP50—
Loading...
Selected pricing · DataForSEOUSD / call
Pricing
$0.004

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 3. Price update time: not supplied.

API

Method
POST
Endpoint
https://api.openany.si/v1/agent-apis/dataforseo/v3/business_data/google/hotel_info/live/html
Content type
application/json
Authentication
Authorization: Bearer $OPENANY_API_KEY
curl \
  'https://api.openany.si/v1/agent-apis/dataforseo/v3/business_data/google/hotel_info/live/html' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '[
  {
    "hotel_identifier": "ChYIq6SB--i6p6cpGgovbS8wN2s5ODZfEAE",
    "language_name": "English",
    "location_name": "New York,New York,United States"
  }
]'

Input parameters

Fields in this listing; additional options and input encoding can vary by provider.

ParameterLocationTypeRequiredDescription
bodyJSON request bodybodyarrayYes‌‌ Google Hotel Info will provide you with unstructured HTML data available for a specific hotel entity on the Google Hotels platform: such as service description, location details, rating, amenities, reviews, images, prices, and more.

minItems: 1 · maxItems: 1

Nested fields and variants

body[] · Array item · object

Nested fields and variants
body[].adults integer · Optional

Parent object: body[]

number of adults optional field if you don't specify this field, two adults will be used by default example: 1
body[].check_in string · Optional

Parent object: body[]

check-in date optional field if you don't specify this field, tomorrow's date will be used by default; date format: "yyyy-mm-dd" example: "2019-01-15"
body[].check_out string · Optional

Parent object: body[]

check-out date optional field if you don't specify this field, our system will apply the date of two days from now by default; date format: "yyyy-mm-dd" example: "2019-01-15"
body[].children array · Optional

Parent object: body[]

number and age of children optional field if you don't specify this field, no children will be included in the search; set the following value if you want to include one 14-years-old child: [14] set the following value if you want to include one 13-years-old child and one 8-years-old child: [13,8]
Nested fields and variants

body[].children[] · Array item · string

body[].currency string · Optional

Parent object: body[]

currency optional field example: "USD"
body[].hotel_identifier string · Required

Parent object: body[]

unique hotel identifier required field unique identifier of a hotel entity in Google search; you can obtain the value by making a request to Advanced Google SERP API (enclosed in the hotels element of the response), or the Hotel Searches endpoint of Business Data API example: ChYIq6SB--i6p6cpGgovbS8wN2s5ODZfEAE
body[].language_code string · Optional

Parent object: body[]

search engine language code required field if you don't specify language_name if you use this field, you don't need to specify language_name you can receive the list of available languages with their language_code_by making a separate request to https://api.dataforseo.com/v3/business_data/google/languages example: enn
body[].language_name string · Optional

Parent object: body[]

full name of search engine language required field if you don't specify language_code if you use this field, you don't need to specify language_code you can receive the list of available languages with language_name by making a separate request to https://api.dataforseo.com/v3/business_data/google/languages example: English
body[].location_code integer · Optional

Parent object: body[]

search engine location code required field if you don't specify location_name_or location_coordinate if you use this field, you don't need to specify location_name or location_coordinate you can receive the list of available locations with location_code by making a separate request to the https://api.dataforseo.com/v3/business_data/google/locations example: 2840n
body[].location_coordinate string · Optional

Parent object: body[]

GPS coordinates of a location required field if you don't specify location_name_or location_code if you use this field, you don't need to specify location_name or location_code location_coordinate parameter should be specified in the "latitude,longitude" format the maximum number of decimal digits for "latitude" and "longitude": 7 Note: if the coordinates are used to set a location, the search will occur in the nearest settlement; example: 53.476225,-2.243572n
body[].location_name string · Optional

Parent object: body[]

full name of search engine location required field if you don't specify location_code or location_coordinate if you use this field, you don't need to specify location_code or location_coordinate you can receive the list of available locations with location_name by making a separate request to https://api.dataforseo.com/v3/business_data/google/locations example: London,England,United Kingdom
body[].priority integer · Optional

Parent object: body[]

task priority optional field can take the following values: 1 – normal execution priority (set by default) 2 – high execution priorityYou will be additionally charged for the tasks with high execution priority. The cost can be calculated on the Pricing page.
body[].tag string · Optional

Parent object: body[]

user-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task and match it with the result you will find the specified tag value in the data array of the response

Required markers inside a nested object or variant apply when that object or variant is used.

Sample response

Response template · not a real response · Documented HTTP 200 Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.

Documentation template · Import excerpt; not run (abridged)
{
  "cost": 0.004,
  "status_code": 20000,
  "status_message": "Ok.",
  "tasks": [
    {
      "cost": 0.004,
      "data": {
        "api": "business_data",
        "device": "desktop",
        "function": "hotel_info",
        "hotel_identifier": "ChYIq6SB--i6p6cpGgovbS8wN2s5ODZfEAE",
        "language_name": "English",
        "location_name": "New York,New York,United States",
        "os": "windows",
        "se": "google",
        "se_type": "hotel_info"
      },
      "id": "05211500-2692-0304-0000-61a5a4e64194",
      "path": [
        "v3",
        "business_data",
        "google",
        "hotel_info",
        "live",
        "html"
      ],
      "result": [
        {
          "datetime": "2021-05-21 12:00:43 +0000",
          "items": [
            {
              "date": "2021-05-21T12:00:43.8273278Z",
              "html": "<!doctype html><html lang=\"en\" dir=\"ltr\"><head><base href=\"https://www.google.com/\"><meta name=\"referrer\" content=\"origin\"><link rel=\"canonical\" href=\"https://www.google.com/travel/hotels/entity/ChYIq6SB--i6p6cpGgovbS8wN2s5ODZfEAE\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no\"><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"><meta name=\"google-site-verification\" content=\"vzI4y-3iMecKTIHcKK5ZK6Ox4-K5SAJWV5tqgCxry20\"",
              "page": 1
            }
          ],
          "items_count": 1,
          "keyword": "ChYIq6SB--i6p6cpGgovbS8wN2s5ODZfEAE",
          "language_code": "en",
          "location_code": 1023191,
          "se_domain": "google.com",
          "type": "hotel_info"
        }
      ],
      "result_count": 1,
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "4.2569 sec."
    }
  ],
  "tasks_count": 1,
  "tasks_error": 0,
  "time": "4.3808 sec.",
  "version": "0.1.20210519"
}

Composite rule pricing

Calculated from input parameters and actual returned quantities. Estimate the maximum cost before calling.

Base fee: $0.004000. One matching variant replaces the base fee. Matching add-ons and quantity charges are added.

Fee itemPriceMetering sourceWhenQuantity limit
任务错误数必须为零$0.000000 / billing unitResponse · /tasks_error · Numeric valueAlways0 billing unit · Decimal places: 0

Each quantity charge is rounded before summing: ceil. Requests exceeding this cost limit are rejected; it is not a price cap: $0.004000.

Response quantities settle after the response. Before execution, the maximum quantity determines the reservation; unused reservation is released. Missing or invalid quantities are not treated as zero.

Pricing parameters and defaults
[]

Agent integration

Copy the resource contract without sharing an API key.

View API Markdown
API Markdown
# DataForSEO — Business Data / Google / Hotel Info / Live / Html

Retrieve business Data Google Hotel Info Live Html with the DataForSEO API. Review the selected endpoint’s request fields before calling. Use it for account research or company due diligence.
## Available implementations
DataForSEO · DataForSEO — Business Data / Google / Hotel Info / Live / Html: https://openany.si/markets/apis/capabilities/dataforseo-business-data-google-hotel-info-live-html?offering=6f6c420e-3a8d-487c-bfd2-bc67e982a01c · $0.004 / call

## Selected API contract
Documentation: https://openany.si/markets/apis/capabilities/dataforseo-business-data-google-hotel-info-live-html
Method: POST
Endpoint: https://api.openany.si/v1/agent-apis/dataforseo/v3/business_data/google/hotel_info/live/html
Price: $0.004 / call
Provider: DataForSEO
Contract revision: 3
Price source: OpenAny public API contract and documented provider unit rates. Price update time: not supplied.

Use OPENANY_API_KEY from the environment. API Key calls use your shared balance.

## Prepared request
```bash
curl \
  'https://api.openany.si/v1/agent-apis/dataforseo/v3/business_data/google/hotel_info/live/html' \
  -X POST \
  -H "Authorization: Bearer $OPENANY_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '[
  {
    "hotel_identifier": "ChYIq6SB--i6p6cpGgovbS8wN2s5ODZfEAE",
    "language_name": "English",
    "location_name": "New York,New York,United States"
  }
]'
```

## API contract
```json
{
  "resource_type": "api",
  "name": "DataForSEO — Business Data / Google / Hotel Info / Live / Html",
  "endpoint": "https://api.openany.si/v1/agent-apis/dataforseo/v3/business_data/google/hotel_info/live/html",
  "method": "POST",
  "content_type": "application/json",
  "execution_mode": "sync",
  "authentication": {
    "type": "bearer",
    "environment_variable": "OPENANY_API_KEY"
  },
  "inputs": [
    {
      "description": "‌‌ Google Hotel Info will provide you with unstructured HTML data available for a specific hotel entity on the Google Hotels platform: such as service description, location details, rating, amenities, reviews, images, prices, and more.",
      "json_schema": {
        "example": [
          {
            "hotel_identifier": "ChYIq6SB--i6p6cpGgovbS8wN2s5ODZfEAE",
            "language_code": "en",
            "location_name": "New York,New York,United States"
          }
        ],
        "items": {
          "example": [
            {
              "hotel_identifier": "ChYIq6SB--i6p6cpGgovbS8wN2s5ODZfEAE",
              "language_code": "en",
              "location_name": "New York,New York,United States"
            }
          ],
          "nullable": true,
          "properties": {
            "adults": {
              "description": "number of adults optional field if you don't specify this field, two adults will be used by default example: 1",
              "nullable": true,
              "type": "integer",
              "x-required-status": "optional"
            },
            "check_in": {
              "description": "check-in date optional field if you don't specify this field, tomorrow's date will be used by default; date format: \"yyyy-mm-dd\" example: \"2019-01-15\"",
              "nullable": true,
              "type": "string",
              "x-required-status": "optional"
            },
            "check_out": {
              "description": "check-out date optional field if you don't specify this field, our system will apply the date of two days from now by default; date format: \"yyyy-mm-dd\" example: \"2019-01-15\"",
              "nullable": true,
              "type": "string",
              "x-required-status": "optional"
            },
            "children": {
              "description": "number and age of children optional field if you don't specify this field, no children will be included in the search; set the following value if you want to include one 14-years-old child: [14] set the following value if you want to include one 13-years-old child and one 8-years-old child: [13,8]",
              "items": {
                "type": "string"
              },
              "nullable": true,
              "type": "array",
              "x-required-status": "optional"
            },
            "currency": {
              "description": "currency optional field example: \"USD\"",
              "nullable": true,
              "type": "string",
              "x-required-status": "optional"
            },
            "hotel_identifier": {
              "description": "unique hotel identifier required field unique identifier of a hotel entity in Google search; you can obtain the value by making a request to Advanced Google SERP API (enclosed in the hotels element of the response), or the Hotel Searches endpoint of Business Data API example: ChYIq6SB--i6p6cpGgovbS8wN2s5ODZfEAE",
              "type": "string",
              "x-required-status": "required"
            },
            "language_code": {
              "description": "search engine language code required field if you don't specify language_name if you use this field, you don't need to specify language_name you can receive the list of available languages with their language_code_by making a separate request to https://api.dataforseo.com/v3/business_data/google/languages example: enn",
              "type": "string",
              "x-original-openapi-description": "search engine language code required field if you don't specify language_name if you use this field, you don't need to specify language_name you can receive the list of available languages with their language_code _by making a separate request to https://api.dataforseo.com/v3/business_data/google/languages example: en n",
              "x-required-status": "conditional"
            },
            "language_name": {
              "description": "full name of search engine language required field if you don't specify language_code if you use this field, you don't need to specify language_code you can receive the list of available languages with language_name by making a separate request to https://api.dataforseo.com/v3/business_data/google/languages example: English",
              "type": "string",
              "x-required-status": "conditional"
            },
            "location_code": {
              "description": "search engine location code required field if you don't specify location_name_or location_coordinate if you use this field, you don't need to specify location_name or location_coordinate you can receive the list of available locations with location_code by making a separate request to the https://api.dataforseo.com/v3/business_data/google/locations example: 2840n",
              "type": "integer",
              "x-original-openapi-description": "search engine location code required field if you don't specify location_name _or location_coordinate if you use this field, you don't need to specify location_name or location_coordinate you can receive the list of available locations with location_code by making a separate request to the https://api.dataforseo.com/v3/business_data/google/locations example: 2840 n",
              "x-required-status": "conditional"
            },
            "location_coordinate": {
              "description": "GPS coordinates of a location required field if you don't specify location_name_or location_code if you use this field, you don't need to specify location_name or location_code location_coordinate parameter should be specified in the \"latitude,longitude\" format the maximum number of decimal digits for \"latitude\" and \"longitude\": 7 Note: if the coordinates are used to set a location, the search will occur in the nearest settlement; example: 53.476225,-2.243572n",
              "type": "string",
              "x-original-openapi-description": "GPS coordinates of a location required field if you don't specify location_name _or location_code if you use this field, you don't need to specify location_name or location_code location_coordinate parameter should be specified in the \"latitude,longitude\" format the maximum number of decimal digits for \"latitude\" and \"longitude\" : 7 Note : if the coordinates are used to set a location, the search will occur in the nearest settlement; example: 53.476225,-2.243572 n",
              "x-required-status": "conditional"
            },
            "location_name": {
              "description": "full name of search engine location required field if you don't specify location_code or location_coordinate if you use this field, you don't need to specify location_code or location_coordinate you can receive the list of available locations with location_name by making a separate request to https://api.dataforseo.com/v3/business_data/google/locations example: London,England,United Kingdom",
              "type": "string",
              "x-required-status": "conditional"
            },
            "priority": {
              "description": "task priority optional field can take the following values: 1 – normal execution priority (set by default) 2 – high execution priorityYou will be additionally charged for the tasks with high execution priority. The cost can be calculated on the Pricing page.",
              "nullable": true,
              "type": "integer",
              "x-required-status": "optional"
            },
            "tag": {
              "description": "user-defined task identifier optional field the character limit is 255 you can use this parameter to identify the task and match it with the result you will find the specified tag value in the data array of the response",
              "nullable": true,
              "type": "string",
              "x-required-status": "optional"
            }
          },
          "required": [
            "hotel_identifier"
          ],
          "type": "object",
          "x-required-origin": "official_required_array_plus_explicit_unconditional_required_field_prose"
        },
        "maxItems": 1,
        "minItems": 1,
        "type": "array",
        "x-openany-retail-scope": "single_native_task_per_sale_execution",
        "x-openapi-version": "3.0.1",
        "x-schema-origin": "official_openapi_with_local_refs_rebased"
      },
      "location": "body",
      "name": "body",
      "nullable": false,
      "pointer": "",
      "required": true,
      "type": "array"
    }
  ],
  "billing": {
    "currency": "USD",
    "mode": "rules",
    "parameters": [],
    "policy_version": 2,
    "sale": {
      "addons": [],
      "base_price_micro_usd": "4000",
      "max_cost_micro_usd": "4000",
      "quantities": [
        {
          "id": "task_errors",
          "label": "任务错误数必须为零",
          "max_quantity": "0",
          "measure": "value",
          "pointer": "/tasks_error",
          "price_micro_usd": "0",
          "quantity_scale": 0,
          "source": "response",
          "unit": "task_error",
          "unit_quantity": "1"
        }
      ],
      "rounding": "ceil",
      "variants": []
    }
  },
  "examples": [
    {
      "http_status": 200,
      "name": "Documentation template · Import excerpt; not run (abridged)",
      "request": {
        "body": [
          {
            "hotel_identifier": "ChYIq6SB--i6p6cpGgovbS8wN2s5ODZfEAE",
            "language_name": "English",
            "location_name": "New York,New York,United States"
          }
        ],
        "headers": {},
        "path": {},
        "query": {}
      },
      "response_body": {
        "cost": 0.004,
        "status_code": 20000,
        "status_message": "Ok.",
        "tasks": [
          {
            "cost": 0.004,
            "data": {
              "api": "business_data",
              "device": "desktop",
              "function": "hotel_info",
              "hotel_identifier": "ChYIq6SB--i6p6cpGgovbS8wN2s5ODZfEAE",
              "language_name": "English",
              "location_name": "New York,New York,United States",
              "os": "windows",
              "se": "google",
              "se_type": "hotel_info"
            },
            "id": "05211500-2692-0304-0000-61a5a4e64194",
            "path": [
              "v3",
              "business_data",
              "google",
              "hotel_info",
              "live",
              "html"
            ],
            "result": [
              {
                "datetime": "2021-05-21 12:00:43 +0000",
                "items": [
                  {
                    "date": "2021-05-21T12:00:43.8273278Z",
                    "html": "<!doctype html><html lang=\"en\" dir=\"ltr\"><head><base href=\"https://www.google.com/\"><meta name=\"referrer\" content=\"origin\"><link rel=\"canonical\" href=\"https://www.google.com/travel/hotels/entity/ChYIq6SB--i6p6cpGgovbS8wN2s5ODZfEAE\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no\"><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"><meta name=\"google-site-verification\" content=\"vzI4y-3iMecKTIHcKK5ZK6Ox4-K5SAJWV5tqgCxry20\"",
                    "page": 1
                  }
                ],
                "items_count": 1,
                "keyword": "ChYIq6SB--i6p6cpGgovbS8wN2s5ODZfEAE",
                "language_code": "en",
                "location_code": 1023191,
                "se_domain": "google.com",
                "type": "hotel_info"
              }
            ],
            "result_count": 1,
            "status_code": 20000,
            "status_message": "Ok.",
            "time": "4.2569 sec."
          }
        ],
        "tasks_count": 1,
        "tasks_error": 0,
        "time": "4.3808 sec.",
        "version": "0.1.20210519"
      }
    }
  ]
}
```

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect the error and usage record before retrying a paid operation.

Examples

Documentation template · Import excerpt; not run (abridged)

Response illustration only. Placeholder values and unknown business fields are not recorded API results. Replace request placeholders before use.

  1. Prepare your environment

    Use a terminal with cURL installed.

    Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.

    Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.

    Terminal · macOS / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Values to replace before running 1

    Review these request fields before running. Keep the published provider and request method unchanged.

    body
    ‌‌ Google Hotel Info will provide you with unstructured HTML data available for a specific hotel entity on the Google Hotels platform: such as service description, location details, rating, amenities, reviews, images, prices, and more.
    Terminal · cURL
    curl \
      'https://api.openany.si/v1/agent-apis/dataforseo/v3/business_data/google/hotel_info/live/html' \
      -X POST \
      -H "Authorization: Bearer $OPENANY_API_KEY" \
      -H 'Content-Type: application/json' \
      --data-raw '[
      {
        "hotel_identifier": "ChYIq6SB--i6p6cpGgovbS8wN2s5ODZfEAE",
        "language_name": "English",
        "location_name": "New York,New York,United States"
      }
    ]'
  3. Check the response

    Response template · not a real response · Documented HTTP 200

    Response template · not a real response
    {
      "cost": 0.004,
      "status_code": 20000,
      "status_message": "Ok.",
      "tasks": [
        {
          "cost": 0.004,
          "data": {
            "api": "business_data",
            "device": "desktop",
            "function": "hotel_info",
            "hotel_identifier": "ChYIq6SB--i6p6cpGgovbS8wN2s5ODZfEAE",
            "language_name": "English",
            "location_name": "New York,New York,United States",
            "os": "windows",
            "se": "google",
            "se_type": "hotel_info"
          },
          "id": "05211500-2692-0304-0000-61a5a4e64194",
          "path": [
            "v3",
            "business_data",
            "google",
            "hotel_info",
            "live",
            "html"
          ],
          "result": [
            {
              "datetime": "2021-05-21 12:00:43 +0000",
              "items": [
                {
                  "date": "2021-05-21T12:00:43.8273278Z",
                  "html": "<!doctype html><html lang=\"en\" dir=\"ltr\"><head><base href=\"https://www.google.com/\"><meta name=\"referrer\" content=\"origin\"><link rel=\"canonical\" href=\"https://www.google.com/travel/hotels/entity/ChYIq6SB--i6p6cpGgovbS8wN2s5ODZfEAE\"><meta name=\"viewport\" content=\"width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no\"><meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\"><meta name=\"google-site-verification\" content=\"vzI4y-3iMecKTIHcKK5ZK6Ox4-K5SAJWV5tqgCxry20\"",
                  "page": 1
                }
              ],
              "items_count": 1,
              "keyword": "ChYIq6SB--i6p6cpGgovbS8wN2s5ODZfEAE",
              "language_code": "en",
              "location_code": 1023191,
              "se_domain": "google.com",
              "type": "hotel_info"
            }
          ],
          "result_count": 1,
          "status_code": 20000,
          "status_message": "Ok.",
          "time": "4.2569 sec."
        }
      ],
      "tasks_count": 1,
      "tasks_error": 0,
      "time": "4.3808 sec.",
      "version": "0.1.20210519"
    }

Common questions

Do I need a separate key for every provider?

Use your OpenAny API key for standard API access. Read it from OPENANY_API_KEY in your environment and keep it out of prompts, source code and logs.

Are these providers interchangeable?

No. Each offering has its own inputs, pricing and response contract. Selecting a catalog offering does not establish automatic routing or fallback. Confirm the service contract before calling.

How is this API billed?

API-key calls use your shared balance at the selected implementation's published rate. Check the billing unit and request-specific pricing rules before making a paid call. Recorded usage determines the final charge under that contract.

Where do the price and contract come from?

The selected implementation publishes its provider, request contract, revision and billing rules through OpenAny's public API catalog. A revision number identifies a contract version, not a price update date. A price update timestamp is not supplied; do not treat a page date as one.

How do OpenAny Balance and x402 differ?

OpenAny Balance uses an API key and one shared balance. Card, USDC and x402 top-ups, card auto top-up and USDC subscriptions fund that balance; available routes appear on the Credits page. Direct x402 is a separate pay-per-request flow, available only on listings that show it and requiring an authorized payment client.

Does Playground send a paid request?

Yes. After you sign in, Run sends a real API request using an active OpenAny API key. Charges follow the published API contract and use your shared balance. Selecting an implementation, editing inputs and viewing sample responses do not send requests.

Use DataForSEO — Business Data / Google / Hotel Info / Live / Html with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.