Data APIs ยท Google Hotels
Google Hotels data APIs for AI agents
morigraph has 2 Google Hotels data APIs that Claude, ChatGPT, Cursor, Codex or your own code can call, including search and hotel details. You need no Google Hotels developer account or API key, only one morigraph connection. Calls cost from 0.03 credits, about $3.00 for 1,000 calls, paid from one balance.
- APIs
- 2
- Price
- 0.03 to 0.096 credits a call
- Call it from
- MCP, command line and HTTP API
- Needs
- One morigraph connection. No Google Hotels account or API key
Three ways to call it
Every data API is run by one tool, data_api, with the API's id and its arguments. The example is Google Hotels Search.
In your assistant (MCP). Connect once, then ask in plain words
claude mcp add --transport http --scope user morigraph https://morigraph.com/mcp
Use morigraph's Google Hotels Search data API with {"checkIn":"2026-12-27","checkOut":"2026-12-29","country":"us","query":"hotels near times square new york"} and summarise what comes back.From a terminal or script (CLI)
npx @morigraph/cli@latest login
morigraph call data_api --json-args '{"api":"google_hotels.search","input":{"checkIn":"2026-12-27","checkOut":"2026-12-29","country":"us","query":"hotels near times square new york"}}'From your own code (HTTP API)
curl https://api.morigraph.com/v1/tools/data_api \
-H "Authorization: Bearer $MORIGRAPH_API_KEY" \
-H "Content-Type: application/json" \
-d '{"api":"google_hotels.search","input":{"checkIn":"2026-12-27","checkOut":"2026-12-29","country":"us","query":"hotels near times square new york"}}'2 Google Hotels data APIs
| API | Id | Price |
|---|---|---|
| Google Hotels Search | google_hotels.search | 0.096 credits a call |
| Google Hotel Details | google_hotels.details | 0.03 credits a call |
Google Hotels Search
Search Google Hotels by destination and dates and get hotels with their Google property ID, nightly price, rating, review count, coordinates, star class and photos as normalized JSON.
| Argument | Type | Required | What it is |
|---|---|---|---|
adults | integer | no | Number of adult guests (default 2). |
checkIn | string | yes | Check-in date in YYYY-MM-DD format (e.g. 2027-04-13). Today or later. |
checkOut | string | yes | Check-out date in YYYY-MM-DD format (e.g. 2027-04-15). After the check-in date. |
childrenAges | array of integer | no | Age of each child guest, one entry per child (e.g. [5, 8] for two children aged 5 and 8). Omit it when no children are staying. |
country | ad | ae | af | ag | al | am | ao | aq | ar | as | at | au | az | ba | bb | bd | be | bf | bg | bh | bi | bj | bn | bo | bq | br | bs | bt | bw | bz | ca | cc | cd | cf | cg | ch | ci | ck | cl | cm | cn | co | cr | cv | cw | cx | cy | cz | de | dj | dk | dm | do | dz | ec | ee | eg | er | es | et | fi | fj | fm | fr | ga | gb | gd | ge | gg | gh | gm | gn | gq | gr | gs | gt | gu | gw | gy | hm | hn | hr | ht | hu | id | ie | il | im | in | iq | is | it | je | jm | jo | jp | ke | kg | kh | ki | km | kn | kr | kw | kz | la | lb | lc | li | lk | lr | ls | lt | lu | lv | ly | ma | mc | md | me | mf | mg | mh | mk | ml | mm | mn | mp | mr | mt | mu | mv | mw | mx | my | mz | na | nc | ne | nf | ng | ni | nl | no | np | nr | nu | nz | om | pa | pe | pf | pg | ph | pk | pl | pm | pn | pt | pw | py | qa | ro | rs | rw | sa | sb | sc | se | sg | sh | si | sk | sl | sm | sn | so | sr | st | sv | sx | sz | td | tf | tg | th | tj | tk | tl | tm | tn | to | tr | tt | tv | tz | ua | ug | um | us | uy | uz | va | vc | ve | vn | vu | wf | ws | ye | za | zm | zw | yes | Two-letter lowercase ISO 3166-1 country code of the destination (e.g. us, pt, jp). It must be the country the hotels are in: results are searched from that country. |
currency | string | no | ISO 4217 currency code for prices (e.g. USD, EUR, JPY; default USD). |
query | string | yes | What to search for, usually a destination or landmark (e.g. hotels near times square new york). |
Returns currency hotels images latitude longitude name pricePerNight propertyToken rating reviewsCount stars
The call
data_api({"api":"google_hotels.search","input":{"checkIn":"2026-12-27","checkOut":"2026-12-29","country":"us","query":"hotels near times square new york"}})Google Hotel Details
Get one hotel from Google Hotels by its property ID: address, phone, website, rating, nightly price, prices from each booking site, amenities and check-in times as normalized JSON.
| Argument | Type | Required | What it is |
|---|---|---|---|
adults | integer | no | Number of adult guests (default 2). |
checkIn | string | yes | Check-in date in YYYY-MM-DD format (e.g. 2027-04-13). Today or later. |
checkOut | string | yes | Check-out date in YYYY-MM-DD format (e.g. 2027-04-15). After the check-in date. |
childrenAges | array of integer | no | Age of each child guest, one entry per child (e.g. [5, 8] for two children aged 5 and 8). Omit it when no children are staying. |
country | ad | ae | af | ag | al | am | ao | aq | ar | as | at | au | az | ba | bb | bd | be | bf | bg | bh | bi | bj | bn | bo | bq | br | bs | bt | bw | bz | ca | cc | cd | cf | cg | ch | ci | ck | cl | cm | cn | co | cr | cv | cw | cx | cy | cz | de | dj | dk | dm | do | dz | ec | ee | eg | er | es | et | fi | fj | fm | fr | ga | gb | gd | ge | gg | gh | gm | gn | gq | gr | gs | gt | gu | gw | gy | hm | hn | hr | ht | hu | id | ie | il | im | in | iq | is | it | je | jm | jo | jp | ke | kg | kh | ki | km | kn | kr | kw | kz | la | lb | lc | li | lk | lr | ls | lt | lu | lv | ly | ma | mc | md | me | mf | mg | mh | mk | ml | mm | mn | mp | mr | mt | mu | mv | mw | mx | my | mz | na | nc | ne | nf | ng | ni | nl | no | np | nr | nu | nz | om | pa | pe | pf | pg | ph | pk | pl | pm | pn | pt | pw | py | qa | ro | rs | rw | sa | sb | sc | se | sg | sh | si | sk | sl | sm | sn | so | sr | st | sv | sx | sz | td | tf | tg | th | tj | tk | tl | tm | tn | to | tr | tt | tv | tz | ua | ug | um | us | uy | uz | va | vc | ve | vn | vu | wf | ws | ye | za | zm | zw | yes | Two-letter lowercase ISO 3166-1 country code of the destination (e.g. us, pt, jp). It must be the country the hotels are in: results are searched from that country. |
currency | string | no | ISO 4217 currency code for prices (e.g. USD, EUR, JPY; default USD). |
propertyToken | string | yes | Google Hotels property ID of the hotel, the propertyToken google_hotels.search returns for it. |
Returns address amenities available checkInTime checkOutTime currency images latitude longitude name phone pricePerNight prices propertyToken rating reviewsCount site stars totalPrice url website
The call
data_api({"api":"google_hotels.details","input":{"checkIn":"2026-12-27","checkOut":"2026-12-29","country":"us","propertyToken":"ChcImaG28Zbom8uuARoKL20vMDNncTd2NBAB"}})Good to know
- The price shown is the usual one. A call can cost more when the first source fails and another serves it; the most it can cost is shown beside each API, and
max_creditssets your own limit. - These APIs return public data. What you may do with it depends on the platform's terms and the privacy law where you operate, and that responsibility is yours.
- A failed call is not charged.
When to choose something else
Choose a provider that specialises in Google Hotels data when you need it at high volume, on a schedule, or as bulk exports: you will get volume pricing and more control. Choose the platform's official API when you need data from your own account. These APIs are for an agent that needs an answer now, alongside other tools on the same balance.
Questions
Do I need a Google Hotels API key or developer account?
No. morigraph supplies the access. You connect morigraph once to your assistant, or use one morigraph API key from your own code, and call any of the 2 APIs on this page.
What does Google Hotels data cost through morigraph?
Between 0.03 and 0.096 credits a call depending on the API, where a credit is about 10 cents. That is from about $3.00 for 1,000 calls. You pay per call from one balance, with no separate subscription.
Can Claude, ChatGPT or Cursor get Google Hotels data?
Yes. Add morigraph as an MCP server, sign in once, then ask in plain words. Your assistant finds the right API with one search and runs it with one call.
Which Google Hotels data APIs are available?
Google Hotels Search and Google Hotel Details.
Prices and availability read from the production service on . A credit is about 10 cents of tool use; see pricing. Your assistant can quote the exact cost before a paid call.