curl --request POST \
--url https://api.aisa.one/apis/v1/dataforseo/business_data/google/hotel_info/live/html \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
[
{
"hotel_identifier": "<string>",
"location_name": "<string>",
"language_name": "<string>",
"priority": 123,
"location_code": 123,
"location_coordinate": "<string>",
"language_code": "<string>",
"check_in": "<string>",
"check_out": "<string>",
"currency": "<string>",
"adults": 123,
"children": [
123
],
"tag": "<string>"
}
]
'import requests
url = "https://api.aisa.one/apis/v1/dataforseo/business_data/google/hotel_info/live/html"
payload = [
{
"hotel_identifier": "<string>",
"location_name": "<string>",
"language_name": "<string>",
"priority": 123,
"location_code": 123,
"location_coordinate": "<string>",
"language_code": "<string>",
"check_in": "<string>",
"check_out": "<string>",
"currency": "<string>",
"adults": 123,
"children": [123],
"tag": "<string>"
}
]
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify([
{
hotel_identifier: '<string>',
location_name: '<string>',
language_name: '<string>',
priority: 123,
location_code: 123,
location_coordinate: '<string>',
language_code: '<string>',
check_in: '<string>',
check_out: '<string>',
currency: '<string>',
adults: 123,
children: [123],
tag: '<string>'
}
])
};
fetch('https://api.aisa.one/apis/v1/dataforseo/business_data/google/hotel_info/live/html', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/dataforseo/business_data/google/hotel_info/live/html",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
[
'hotel_identifier' => '<string>',
'location_name' => '<string>',
'language_name' => '<string>',
'priority' => 123,
'location_code' => 123,
'location_coordinate' => '<string>',
'language_code' => '<string>',
'check_in' => '<string>',
'check_out' => '<string>',
'currency' => '<string>',
'adults' => 123,
'children' => [
123
],
'tag' => '<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/dataforseo/business_data/google/hotel_info/live/html"
payload := strings.NewReader("[\n {\n \"hotel_identifier\": \"<string>\",\n \"location_name\": \"<string>\",\n \"language_name\": \"<string>\",\n \"priority\": 123,\n \"location_code\": 123,\n \"location_coordinate\": \"<string>\",\n \"language_code\": \"<string>\",\n \"check_in\": \"<string>\",\n \"check_out\": \"<string>\",\n \"currency\": \"<string>\",\n \"adults\": 123,\n \"children\": [\n 123\n ],\n \"tag\": \"<string>\"\n }\n]")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/dataforseo/business_data/google/hotel_info/live/html")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("[\n {\n \"hotel_identifier\": \"<string>\",\n \"location_name\": \"<string>\",\n \"language_name\": \"<string>\",\n \"priority\": 123,\n \"location_code\": 123,\n \"location_coordinate\": \"<string>\",\n \"language_code\": \"<string>\",\n \"check_in\": \"<string>\",\n \"check_out\": \"<string>\",\n \"currency\": \"<string>\",\n \"adults\": 123,\n \"children\": [\n 123\n ],\n \"tag\": \"<string>\"\n }\n]")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/dataforseo/business_data/google/hotel_info/live/html")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "[\n {\n \"hotel_identifier\": \"<string>\",\n \"location_name\": \"<string>\",\n \"language_name\": \"<string>\",\n \"priority\": 123,\n \"location_code\": 123,\n \"location_coordinate\": \"<string>\",\n \"language_code\": \"<string>\",\n \"check_in\": \"<string>\",\n \"check_out\": \"<string>\",\n \"currency\": \"<string>\",\n \"adults\": 123,\n \"children\": [\n 123\n ],\n \"tag\": \"<string>\"\n }\n]"
response = http.request(request)
puts response.read_body{
"version": "<string>",
"version.status_code": 123,
"version.status_message": "<string>",
"version.time": "<string>",
"version.cost": 123,
"version.tasks_count": 123,
"version.tasks_error": 123,
"tasks": [
"<string>"
],
"tasks.id": "<string>",
"tasks.status_code": 123,
"tasks.status_message": "<string>",
"tasks.time": "<string>",
"tasks.cost": 123,
"tasks.result_count": 123,
"tasks.path": [
"<string>"
],
"tasks.data": [
"<string>"
],
"result": [
"<string>"
],
"result.keyword": "<string>",
"result.type": "<string>",
"result.se_domain": "<string>",
"result.location_code": 123,
"result.language_code": "<string>",
"result.datetime": "<string>",
"result.items_count": 123,
"items": [
"<string>"
],
"items.page": 123,
"items.date": "<string>",
"items.html": "<string>"
}Live Google Hotel Info HTML
The same hotel listing as post_dataforseo_business_google_hotel_info_live, returned as raw HTML.
curl --request POST \
--url https://api.aisa.one/apis/v1/dataforseo/business_data/google/hotel_info/live/html \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
[
{
"hotel_identifier": "<string>",
"location_name": "<string>",
"language_name": "<string>",
"priority": 123,
"location_code": 123,
"location_coordinate": "<string>",
"language_code": "<string>",
"check_in": "<string>",
"check_out": "<string>",
"currency": "<string>",
"adults": 123,
"children": [
123
],
"tag": "<string>"
}
]
'import requests
url = "https://api.aisa.one/apis/v1/dataforseo/business_data/google/hotel_info/live/html"
payload = [
{
"hotel_identifier": "<string>",
"location_name": "<string>",
"language_name": "<string>",
"priority": 123,
"location_code": 123,
"location_coordinate": "<string>",
"language_code": "<string>",
"check_in": "<string>",
"check_out": "<string>",
"currency": "<string>",
"adults": 123,
"children": [123],
"tag": "<string>"
}
]
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify([
{
hotel_identifier: '<string>',
location_name: '<string>',
language_name: '<string>',
priority: 123,
location_code: 123,
location_coordinate: '<string>',
language_code: '<string>',
check_in: '<string>',
check_out: '<string>',
currency: '<string>',
adults: 123,
children: [123],
tag: '<string>'
}
])
};
fetch('https://api.aisa.one/apis/v1/dataforseo/business_data/google/hotel_info/live/html', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/dataforseo/business_data/google/hotel_info/live/html",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
[
'hotel_identifier' => '<string>',
'location_name' => '<string>',
'language_name' => '<string>',
'priority' => 123,
'location_code' => 123,
'location_coordinate' => '<string>',
'language_code' => '<string>',
'check_in' => '<string>',
'check_out' => '<string>',
'currency' => '<string>',
'adults' => 123,
'children' => [
123
],
'tag' => '<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/dataforseo/business_data/google/hotel_info/live/html"
payload := strings.NewReader("[\n {\n \"hotel_identifier\": \"<string>\",\n \"location_name\": \"<string>\",\n \"language_name\": \"<string>\",\n \"priority\": 123,\n \"location_code\": 123,\n \"location_coordinate\": \"<string>\",\n \"language_code\": \"<string>\",\n \"check_in\": \"<string>\",\n \"check_out\": \"<string>\",\n \"currency\": \"<string>\",\n \"adults\": 123,\n \"children\": [\n 123\n ],\n \"tag\": \"<string>\"\n }\n]")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/dataforseo/business_data/google/hotel_info/live/html")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("[\n {\n \"hotel_identifier\": \"<string>\",\n \"location_name\": \"<string>\",\n \"language_name\": \"<string>\",\n \"priority\": 123,\n \"location_code\": 123,\n \"location_coordinate\": \"<string>\",\n \"language_code\": \"<string>\",\n \"check_in\": \"<string>\",\n \"check_out\": \"<string>\",\n \"currency\": \"<string>\",\n \"adults\": 123,\n \"children\": [\n 123\n ],\n \"tag\": \"<string>\"\n }\n]")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/dataforseo/business_data/google/hotel_info/live/html")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "[\n {\n \"hotel_identifier\": \"<string>\",\n \"location_name\": \"<string>\",\n \"language_name\": \"<string>\",\n \"priority\": 123,\n \"location_code\": 123,\n \"location_coordinate\": \"<string>\",\n \"language_code\": \"<string>\",\n \"check_in\": \"<string>\",\n \"check_out\": \"<string>\",\n \"currency\": \"<string>\",\n \"adults\": 123,\n \"children\": [\n 123\n ],\n \"tag\": \"<string>\"\n }\n]"
response = http.request(request)
puts response.read_body{
"version": "<string>",
"version.status_code": 123,
"version.status_message": "<string>",
"version.time": "<string>",
"version.cost": 123,
"version.tasks_count": 123,
"version.tasks_error": 123,
"tasks": [
"<string>"
],
"tasks.id": "<string>",
"tasks.status_code": 123,
"tasks.status_message": "<string>",
"tasks.time": "<string>",
"tasks.cost": 123,
"tasks.result_count": 123,
"tasks.path": [
"<string>"
],
"tasks.data": [
"<string>"
],
"result": [
"<string>"
],
"result.keyword": "<string>",
"result.type": "<string>",
"result.se_domain": "<string>",
"result.location_code": 123,
"result.language_code": "<string>",
"result.datetime": "<string>",
"result.items_count": 123,
"items": [
"<string>"
],
"items.page": 123,
"items.date": "<string>",
"items.html": "<string>"
}post_dataforseo_business_google_hotel_info_live, returned as raw HTML. ⚠️ Store-page HTML in this provider measured 2.6 MB against 83 KB parsed on the merchant family; assume the same order here and take it only to check what the parser dropped. Wrapped in DataForSEO’s envelope: data in tasks[0].result, outcome in tasks[0].status_code - a rejected request still returns HTTP 200.
Example
curl -X POST "https://api.aisa.one/apis/v1/dataforseo/business_data/google/hotel_info/live/html" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer YOUR_API_KEY" \
-d '[{"hotel_identifier": "...", "priority": "...", "location_name": "..."}]'
// Copy this whole block into Claude Code, Codex, Cursor or any coding agent.
// It carries everything needed to connect, authorize and run this example —
// no key to paste, one click of Allow in the browser.
{
"operation_id": "post_dataforseo_business_google_hotel_info_live_html",
"arguments": {},
"max_price_usd": 0.05
}
// ── for the agent ─────────────────────────────────────────────────────────
// Register the AIsa MCP server, then call its `use` tool with the JSON above.
// name aisa
// endpoint https://mcp.aisa.one/mcp
// transport streamable-http
// auth OAuth. The server publishes RFC 9728 metadata, so open a
// browser and the user clicks Allow once — nothing to paste.
// If AISA_API_KEY is set, send it as a bearer header instead.
// Use your own MCP mechanism, not a hand-edited config file:
// Codex codex mcp add aisa --url https://mcp.aisa.one/mcp
// Claude Code claude mcp add --transport http -s user aisa https://mcp.aisa.one/mcp
// Cursor / VS Code a "url" entry for https://mcp.aisa.one/mcp in the MCP config
// The server lists five tools over https://mcp.aisa.one/servers worth of APIs:
// search, get_details, use, batch_use, list_categories. search and
// get_details are free; use is billed per call and max_price_usd refuses
// anything above the cap before spending. This operation's full contract —
// every argument, the response shape, the price and the pitfalls — is at
// https://aisa.one/docs/api-reference/dataforseo/post_dataforseo-business-data-google-hotel-info-live-html.md
// Then run the call and show me the result.
https://mcp.aisa.one/mcp — Claude
Code, Codex, Cursor, VS Code and the rest. Authorization is OAuth: the client
opens a browser, you click Allow once, and there is no key to paste. The
commands per client, and what each call costs, are on
aisa.one/mcp.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
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
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
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
task priority optional field can take the following values: 1 – normal execution priority (set by default) 2 – high execution priority You will be additionally charged for the tasks with high execution priority.
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
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
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"
currency optional field example: "USD"
number of adults optional field if you don’t specify this field, two adults will be used by default example: 1
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]
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
Response
Successful operation
the current version of the API
execution time, seconds
total tasks cost, USD
the number of tasks in the tasks array
the number of tasks in the tasks array that were returned an error
array of tasks
execution time, seconds
total tasks cost, USD
number of elements in the result array
URL path
contains the same parameters that you specified in the POST request
array of results
unique hotel identifier specified as "hotel_id:$"
type of search results in this case, "hotel_info"
search engine domain in a POST array
location code in a POST array
language code in a POST array
date and time when the result was received in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00” example: 2019-11-15 12:57:46 +00:00
the number of results returned in the items array
HTML pages
serial number of the returned HTML page
date and time when the HTML page was scanned in the UTC format: “yyyy-mm-dd hh-mm-ss +00:00” example: 2019-11-15 12:57:46 +00:00
HTML page