Nexscope

Google Hotel Info

Look up one hotel with its Google Hotels identifier. Daily quotes are optional and incur a separate actual-cost tier.

CostPricing pending
Try online
POST · https://api.nexscope.ai/api/skill-api/v1/skills/seo-google-hotel-info/runMCP · nexscope_seo_google_hotel_info

What this API does

Look up one hotel with its Google Hotels identifier. Daily quotes are optional and incur a separate actual-cost tier. The request accepts adults, checkIn, checkOut, currency, hotelIdentifier. Its documented result includes address, description, hotelIdentifier, nightlyPrice.adults, nightlyPrice.amount, nightlyPrice.checkIn, nightlyPrice.checkOut, nightlyPrice.currency.

Google Hotel Info API use cases

Check a specific hotel's quote

Reuse the identifier from Hotel Search and keep the same stay dates, adult count, location and currency.

Inspect prices by night

Set loadPricesByDates when daily quotes are needed. Compare only returned dates and keep the optional request cost separate.

Review quote scope

Display the observed quote with its dates, currency and occupancy so it is not reused for a different stay.

Google Hotel Info API FAQ

What does the Google Hotel Info API return?

Look up one hotel with its Google Hotels identifier. Daily quotes are optional and incur a separate actual-cost tier. The documented output includes address, description, hotelIdentifier, nightlyPrice.adults, nightlyPrice.amount, nightlyPrice.checkIn, nightlyPrice.checkOut, nightlyPrice.currency. It corresponds to the supplied adults, checkIn, checkOut, currency, hotelIdentifier. Optional fields can be absent; a missing value should not be interpreted as a measured zero. Example values illustrate the response shape, rather than live account results.

How many credits does the Google Hotel Info API cost?

A reliable credit estimate is not available for the current example inputs. Check the estimate in Online test after entering your generation settings, and review the pricing page before calling the API. The final charge depends on the request; your API usage records show the actual charge after execution.

How do I call the Google Hotel Info API from my app or an MCP client?

Send a POST request to https://api.nexscope.ai/api/skill-api/v1/skills/seo-google-hotel-info/run with your API key as a Bearer token and the JSON inputs shown in API integration. In a compatible MCP client such as Claude or Cursor, connect Nexscope and call nexscope_seo_google_hotel_info. Use the MCP arguments shown in the MCP guide, or switch Online test to MCP to review its request before adding it to your app.

View plans and creditsConnect this API with MCP

Try this API
Endpoint
https://api.nexscope.ai/api/skill-api/v1/skills/seo-google-hotel-info/run
MCP method
nexscope_seo_google_hotel_info

Step 1 of 3 · Authenticate

Authentication

All run endpoints require a user API key. Send it as a bearer token in the Authorization header.

Authorization: Bearer nk-xxxxxxxxxxxxxxxxx
Missing or invalid API keys return an authentication error. Manage keys from .

Step 2 of 3 · Send a request

POSThttps://api.nexscope.ai/api/skill-api/v1/skills/seo-google-hotel-info/run

Run an API

Send a JSON request body using the parameters described below.

Example request

Replace YOUR_API_KEY, then run this command in your terminal.

curl -X POST 'https://api.nexscope.ai/api/skill-api/v1/skills/seo-google-hotel-info/run' \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "hotelIdentifier": "ChoIpLCr95T4krHzARoNL2cvMTFiNjM2N25wZhAB",
  "locationCode": 1023191,
  "checkIn": "2026-12-23",
  "checkOut": "2026-12-25",
  "adults": 2,
  "currency": "USD",
  "loadPricesByDates": true
}'

Code example

{
  "hotelIdentifier": "ChoIpLCr95T4krHzARoNL2cvMTFiNjM2N25wZhAB",
  "locationCode": 1023191,
  "checkIn": "2026-12-23",
  "checkOut": "2026-12-25",
  "adults": 2,
  "currency": "USD",
  "loadPricesByDates": true
}

Step 3 of 3 · Inspect the result

Check the response

Read code for the request status and data for the result. Open the parameter and response reference for the full field definitions.

HTTP status codes

CodeDescription
200Default HTTP response for both success and many business errors. Only outer JSON code 0 indicates success or asynchronous acceptance; inspect data for the result.
429Execution admission rate limit; honor Retry-After when present.
503Execution admission is temporarily unavailable; honor Retry-After when present.
Opt-inX-Nexscope-Http-Status: semantic maps controller-handled business errors to HTTP status on run and task routes. Pre-authentication failures, such as a missing or invalid API key (code 11209, including an incomplete or corrupted copy) or an expired website login session (code 12001), may still return HTTP 200 before this mapping. Always check the outer JSON code; malformed requests and infrastructure failures may also return non-200 HTTP responses.
All categories/ Reviews & Reputation
POSThttps://api.nexscope.ai/api/skill-api/v1/skills/seo-google-hotel-info/run

Run this API

Send a JSON request to execute this API and receive the documented response payload.

Endpoint

MethodPOST
Pathhttps://api.nexscope.ai/api/skill-api/v1/skills/seo-google-hotel-info/run
AuthBearer API key
Content-Typeapplication/json

Request parameters

NameTypeRequiredDescription
adultsintegerrequired
Adults value used by this API operation.
Minimum: 1
Maximum: 6
checkInstringrequired
Check in value used by this API operation.
Format: date
checkOutstringrequired
Check out value used by this API operation.
Format: date
currencystringrequired
Currency value used by this API operation.
Pattern: ^[A-Z]{3}$
hotelIdentifierstringrequired
Hotel identifier value used by this API operation.
Minimum length: 1
Maximum length: 256
loadPricesByDatesbooleanoptional
Load prices by dates value used by this API operation.
Default: false
locationCodeintegerrequired
Location code value used by this API operation.
Minimum: 1

Response example

Example response envelope from the documented SEO API contract.

{
  "code": 0,
  "msg": null,
  "data": {
    "callId": "00000000-0000-4000-8000-000000000020",
    "schemaVersion": "MDX-F2-443-1.0",
    "status": "SUCCESS",
    "source": "DATAFORSEO",
    "requestedAt": 1795528800000,
    "completedAt": 1795528801000,
    "coverage": {
      "status": "COMPLETE",
      "missing": []
    },
    "usage": {
      "chargedCredits": 12,
      "billingStatus": "CHARGED"
    },
    "result": {
      "source": "DATAFORSEO_HOTEL_INFO",
      "target": "ChoIpLCr95T4krHzARoNL2cvMTFiNjM2N25wZhAB",
      "items": [
        {
          "hotelIdentifier": "ChoIpLCr95T4krHzARoNL2cvMTFiNjM2N25wZhAB",
          "title": "Example Hotel",
          "stars": 4,
          "priceQuoted": true,
          "nightlyPrice": {
            "amount": 185,
            "currency": "USD",
            "adults": 2,
            "checkIn": "2026-12-23",
            "checkOut": "2026-12-25"
          },
          "pricesByDates": [
            {
              "amount": 185,
              "currency": "USD",
              "adults": 2,
              "checkIn": "2026-12-23",
              "checkOut": "2026-12-24"
            },
            {
              "amount": 185,
              "currency": "USD",
              "adults": 2,
              "checkIn": "2026-12-24",
              "checkOut": "2026-12-25"
            }
          ]
        }
      ],
      "missing": [],
      "sampledAt": 1795528800000,
      "locationCode": 1023191,
      "languageCode": "en"
    }
  },
  "ts": "1795528801000",
  "time": "2026-11-24 21:00:01",
  "cost": "1000",
  "traceId": null
}

Response fields

NameTypeRequiredDescription
codeintegerrequired
0 means accepted or successful; nonzero is a platform error.
coststringrequired
Elapsed milliseconds, never credits; -1 outside web requests.
dataanyrequired
Data value used by this API operation.
msgstring | nullrequired
Msg value used by this API operation.
timestringrequired
Server local time: yyyy-MM-dd HH:mm:ss.
traceIdstring | nullrequired
Trace id value used by this API operation.
tsstringrequired
Epoch milliseconds.

Any of option 1

NameTypeRequiredDescription
dataanyrequired
Data value used by this API operation.

One of option 1 — requires callId, status, result

NameTypeRequiredDescription
dataobjectrequired
Data value used by this API operation.
data.callIdstringrequired
Call id value used by this API operation.
data.completedAtstring | integer | nulloptional
Completed at value used by this API operation.
data.coverageobject | nulloptional
Coverage value used by this API operation.
data.requestedAtstring | integer | nulloptional
Requested at value used by this API operation.
data.resultanyrequired
Result value used by this API operation.
data.schemaVersionstringoptional
Schema version value used by this API operation.
data.sourcestringoptional
Source value used by this API operation.
data.statusstringrequired
Status value used by this API operation.
data.usageobject | nulloptional
Usage value used by this API operation.
data.usage.billingStatusstring | nulloptional
Billing status value used by this API operation.
data.usage.chargedCreditsstring | integer | nulloptional
Charged credits value used by this API operation.

Any of option 1 — requires source, target, items, missing

NameTypeRequiredDescription
data.resultobjectrequired
Result value used by this API operation.
data.result.itemsarrayrequired
Items value used by this API operation.
Maximum items: 1
data.result.items[]objectrequired
Item in data result items.
data.result.items[].addressstringoptional
Address value used by this API operation.
data.result.items[].descriptionstringoptional
Description value used by this API operation.
data.result.items[].hotelIdentifierstringoptional
Hotel identifier value used by this API operation.
data.result.items[].nightlyPriceobjectoptional
Nightly price value used by this API operation.
data.result.items[].nightlyPrice.adultsintegerrequired
Adults value used by this API operation.
data.result.items[].nightlyPrice.amountnumberrequired
Amount value used by this API operation.
data.result.items[].nightlyPrice.checkInstringrequired
Check in value used by this API operation.
data.result.items[].nightlyPrice.checkOutstringrequired
Check out value used by this API operation.
data.result.items[].nightlyPrice.currencystringrequired
Currency value used by this API operation.
data.result.items[].priceQuotedbooleanoptional
Price quoted value used by this API operation.
data.result.items[].pricesByDatesarrayoptional
Prices by dates value used by this API operation.
Maximum items: 30
data.result.items[].pricesByDates[]objectrequired
Item in data result items[] pricesByDates.
data.result.items[].pricesByDates[].adultsintegerrequired
Adults value used by this API operation.
data.result.items[].pricesByDates[].amountnumberrequired
Amount value used by this API operation.
data.result.items[].pricesByDates[].checkInstringrequired
Check in value used by this API operation.
data.result.items[].pricesByDates[].checkOutstringrequired
Check out value used by this API operation.
data.result.items[].pricesByDates[].currencystringrequired
Currency value used by this API operation.
data.result.items[].starsnumberoptional
Stars value used by this API operation.
Minimum: 0
Maximum: 5
data.result.items[].titlestringoptional
Title value used by this API operation.
data.result.languageCodestring | nulloptional
Language code value used by this API operation.
data.result.locationCodeinteger | nulloptional
Location code value used by this API operation.
data.result.missingarrayrequired
Missing value used by this API operation.
data.result.missing[]objectrequired
Item in data result missing.
data.result.missing[].fieldstringoptional
Field value used by this API operation.
data.result.missing[].reasonstringoptional
Reason value used by this API operation.
data.result.sampledAtinteger | nulloptional
Sampled at value used by this API operation.
data.result.sourcestringrequired
Source value used by this API operation.
data.result.targetstringrequired
Target value used by this API operation.

Any of option 2

NameTypeRequiredDescription
data.resultnullrequired
Result value used by this API operation.

One of option 2 — requires callId, status, reason, retryable

NameTypeRequiredDescription
dataobjectrequired
Data value used by this API operation.
data.callIdstring | nullrequired
Call id value used by this API operation.
data.reasonstringrequired
Reason value used by this API operation.
data.retryablebooleanrequired
Retryable value used by this API operation.
data.statusstringrequired
Status value used by this API operation.
data.taskIdstring | nulloptional
Task id value used by this API operation.

Any of option 2

NameTypeRequiredDescription
datanullrequired
Data value used by this API operation.

Error response

NameTypeRequiredDescription
codeintegerrequired
0 is a successful envelope; inspect data.status separately.
coststringrequired
Elapsed processing milliseconds; not price. -1 for non-web context.
dataobjectrequired
Data value used by this API operation.
data.callIdstring | nullrequired
Call id value used by this API operation.
data.reasonstring | nullrequired
Reason value used by this API operation.
data.retryablebooleanoptional
Retryable value used by this API operation.
data.statusstring | nullrequired
Status value used by this API operation.
data.taskIdstring | nulloptional
Task id value used by this API operation.
msgstring | nullrequired
Available upstream msg/errmsg/message is preferred for success and failure; Chinese is translated to English. Missing successful message is null. Platform-only errors and task states use platform English. Message text never determines success or retry.
timestringrequired
yyyy-MM-dd HH:mm:ss
traceIdstring | nullrequired
Trace id value used by this API operation.
tsstringrequired
Epoch milliseconds; global long serializer.

Retrieve a processing result

A response withPROCESSING and a callIdmeans the result is still being prepared. Use the result query below with the returned identifier. This lookup reads the stored result and does not spend credits.

curl -X GET https://api.nexscope.ai/api/skill-api/v1/skills/seo-google-hotel-info/calls/{callId} \
  -H "Authorization: Bearer nk-xxxxxxxxxxxxxxxxx"

Responses

CodeDescription
200Default HTTP response for both success and many business errors. Only outer JSON code 0 indicates success or asynchronous acceptance; inspect data for the result.
429Execution admission rate limit; honor Retry-After when present.
503Execution admission is temporarily unavailable; honor Retry-After when present.
Opt-inX-Nexscope-Http-Status: semantic maps controller-handled business errors to HTTP status on run and task routes. Pre-authentication failures, such as a missing or invalid API key (code 11209, including an incomplete or corrupted copy) or an expired website login session (code 12001), may still return HTTP 200 before this mapping. Always check the outer JSON code; malformed requests and infrastructure failures may also return non-200 HTTP responses.

Data source, freshness, and limitations

Source, freshness, coverage, rate limits, and estimation notes are not specified in this API definition unless they appear in the request or response field documentation above. Do not assume official marketplace data or real-time freshness when it is not explicitly documented.

Step 1 of 2 · Connect your MCP client

MCP

V2 recommended

Connect remote agents through the standard MCP 2025-11-25 Streamable HTTP endpoint. Use OAuth 2.1 Authorization Code with PKCE, or an API key for compatibility.

POST https://api.nexscope.ai/mcp
MCP-Protocol-Version: 2025-11-25
Content-Type: application/json
Authentication

OAuth clients request the mcp:tools scope. The endpoint's 401 response advertises protected-resource metadata for authorization discovery.

Step 2 of 2 · Call the tool

Call a tool

{
  "jsonrpc": "2.0",
  "id": "tool-call-1",
  "method": "tools/call",
  "params": {
    "name": "nexscope_seo_google_hotel_info",
    "arguments": {
      "hotelIdentifier": "ChoIpLCr95T4krHzARoNL2cvMTFiNjM2N25wZhAB",
      "locationCode": 1023191,
      "checkIn": "2026-12-23",
      "checkOut": "2026-12-25",
      "adults": 2,
      "currency": "USD",
      "loadPricesByDates": true
    }
  }
}

What can you do with this API?

Data explained and practical use cases

AI Guide

Question

What can I do with the Google Hotel Info API?

AI answer

Look up one hotel with its Google Hotels identifier. Daily quotes are optional and incur a separate actual-cost tier.

  • Check a specific hotel's quote. Reuse the identifier from Hotel Search and keep the same stay dates, adult count, location and currency.
  • Inspect prices by night. Set loadPricesByDates when daily quotes are needed. Compare only returned dates and keep the optional request cost separate.
  • Review quote scope. Display the observed quote with its dates, currency and occupancy so it is not reused for a different stay.

Check the returned status, data coverage and charged credits for the completed call.

A compatible MCP client can use nexscope_seo_google_hotel_info with the illustrated arguments when the tool is enabled.

The request and response examples use fictional data. Review the actual status and charged credits in your own response.

Replace the illustrated dates with valid stay dates before testing.

Data Example

Sample request and response

Related APIs