Google Maps Reviews Search API
API health
- 24h health
- Normal
- Healthy / normal
- Available
- Limited
- Mostly down
Last 24 hours
Last 30 days
Find places on Google Maps for a name or business type in keyword. Get Google place ID, address, coordinates, phone, website, rating, review count and closure status. Page through with page_token, up to 120 rows in total. More than 60 rows requires async mode.
Send POST https://api.everyinfra.com/api/v1/social with platform set to google_maps_reviews and action set to search. Price $1.39 per 1,000 requests ($0.001389 per call). Failed calls and empty results are not charged. Synchronous. For slow jobs add "mode": "async" to the body, take the job_id and poll.
AI prompt
#Please help me write a data collection script with the EveryInfra Google Maps Reviews Search endpoint (google_maps_reviews/search).
How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to google_maps_reviews and action to search, and put the parameters inside params.
- Required parameters:
- keyword: A Google Maps place name, business type, or place query, such as dentist or dentist in Chicago. search finds places; it does not search the text of reviews for an existing business.
- Optional parameters:
- country: The country or region code used to establish search context, such as us; the default is us. It is not a guarantee that every returned business is located in that country.
- language: The language used for the query or page content; the default is en. For reviews, lang overrides this value when both are supplied. This setting does not guarantee that every review was written in that language.
- location: The place text combined with keyword for search, such as Chicago. Avoid supplying a location that conflicts with a location already embedded in the keyword.
- page_token: Pagination token: pass back next_page_token from the previous response to get the next page; omit it for the first page. Keep every other parameter unchanged. Tokens last 24 hours and each page is one call.
- limit: The most rows to return in this call, an integer from 1 to 50. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. (default: 15)
- Returns a list of records. Main fields of each record: place_id, name, url, category, categories, description, address, city, state, postal_code, country_code, lat; 21 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=google_maps_reviews.
- Example request body:
{
"platform": "google_maps_reviews",
"action": "search",
"params": {
"keyword": "coffee shops in Seattle"
}
}
- Price: $1.39 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.
Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.Request parameters
#| Name | In | Type | Required | Default | Description |
|---|---|---|---|---|---|
Authorization | header | string | Yes | - | Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository. |
platform | body | string | Yes | google_maps_reviews | Platform identifier, fixed value. |
action | body | string | Yes | search | Capability identifier, fixed value. |
keyword | body.params | string | Yes | - | A Google Maps place name, business type, or place query, such as dentist or dentist in Chicago. search finds places; it does not search the text of reviews for an existing business. |
country | body.params | string | No | - | The country or region code used to establish search context, such as us; the default is us. It is not a guarantee that every returned business is located in that country. |
language | body.params | string | No | - | The language used for the query or page content; the default is en. For reviews, lang overrides this value when both are supplied. This setting does not guarantee that every review was written in that language. |
location | body.params | string | No | - | The place text combined with keyword for search, such as Chicago. Avoid supplying a location that conflicts with a location already embedded in the keyword. |
page_token | body.params | string | No | - | Pagination token: pass back next_page_token from the previous response to get the next page; omit it for the first page. Keep every other parameter unchanged. Tokens last 24 hours and each page is one call. |
limit | body.params | integer (1–50) | No | 15 | The most rows to return in this call, an integer from 1 to 50. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. |
Code samples
#curl -X POST 'https://api.everyinfra.com/api/v1/social' \
-H "Authorization: Bearer $EVERYINFRA_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"platform": "google_maps_reviews",
"action": "search",
"params": {
"keyword": "coffee shops in Seattle"
}
}'OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.
Response example
#{ "id": "req_…", "platform": "google_maps_reviews", "action": "search", "results": [ { "place_id": "ChIJBR3G8LJqkFQRWD2Wzn0qG3c", "name": "Storyville Coffee Pike Place", "url": "https://www.google.com/maps/search/?api=1&query=Storyville%20Coffee%20Pike%20Place&query_place_id=ChIJBR3G8LJqkFQRWD2Wzn0qG3c", "category": "Coffee shop", "categories": [ "Coffee shop", "Bakery", "Cafe" ], "description": "Market-based spot for artisanal coffee & baked goods in stylish wood-clad digs with fireplace.", "address": "94 Pike St Top floor Suite 34, Seattle, WA 98101, United States", "city": "Seattle", "state": "Washington", "postal_code": "98101", "country_code": "US", "lat": 47.60895, "lng": -122.3404309, "phone": "•••", "website": "https://storyville.com/pages/pike-place-market", "rating": 4.6, "review_count": 3209, "image_url": "https://lh3.googleusercontent.com/grass-cs/ACvplmNR_Vj8ZsgTuBRpe5anEhmpHgoWSZkVmcqoRBYbXQFA1T4wVgtNXFTvF8IAmqcn2fIAHcJgvuOB-UrS86s4nWQbz_Nb3Ul62coT0cv8pGXgfpkmtSymcgRC3URMk434OcD1a9ynWw", "platform": "google_maps_reviews", "rating_scale": 5 }, { "place_id": "ChIJ6WqLxohrkFQRfyUGQh-AXmc", "name": "Overcast Coffee", "url": "https://www.google.com/maps/search/?api=1&query=Overcast%20Coffee&query_place_id=ChIJ6WqLxohrkFQRfyUGQh-AXmc", "category": "Coffee shop", "categories": [ "Coffee shop", "Bar", "Coffee stand" ], "address": "1517 12th Ave Ste 100, Seattle, WA 98122, United States", "city": "Seattle", "state": "Washington", "postal_code": "98122", "country_code": "US", "lat": 47.6146106, "lng": -122.3171338, "phone": "•••", "website": "http://www.overcastcoffee.co/", "rating": 4.7, "review_count": 316, "image_url": "https://lh3.googleusercontent.com/grass-cs/ACvplmMuQCvzugUkT1SvNoBmkKlDU6w-3cEF9LWcafTNZfKvZSqaltKGwtSvgS_N7mG1JEcWmhdG0z3NZ_LnV_sw0Ye56-n-uUOTAIbjrYxuAWZ5brstSq0ImfRpHw6eO91Gu0MUtni8Lo7eEz7e", "platform": "google_maps_reviews", "rating_scale": 5 } ], "next_page_token": …, "pagination": { … }, "count": 15, "billing": { "charged": …, "charged_usd": …, "balance_after_usd": …, … }, "quota": { … }}
Response fields
#Business data is in results. The table lists the fields a record can contain; values the platform does not show are never made up.
| Field | Meaning |
|---|---|
place_id | Keeps the platform's own meaning |
name | Name of the object itself, for account, product and business capabilities. |
url | Link to the record on the platform. |
category | Category name in the platform's own taxonomy, not normalized across platforms. |
categories | Keeps the platform's own meaning |
description | Summary or description, usually shorter than text. |
address | Full address, passed through as is. |
city | City name in the platform's language, not normalized. |
state | Keeps the platform's own meaning |
postal_code | Keeps the platform's own meaning |
country_code | Keeps the platform's own meaning |
lat | Keeps the platform's own meaning |
lng | Keeps the platform's own meaning |
phone | Contact phone number, passed through without format normalization. |
website | External website entered by the account or business. |
rating | Rating. The scale varies by platform: rating_scale on the same row gives the maximum (usually 5; Booking, Douban, iQIYI and NAVER use 10). Convert with rating_scale before comparing across platforms, or the comparison can come out backwards. |
rating_scale | Maximum of rating in the same row: 5 for five-star scales, 10 for ten-point scales. Present only when the row has a rating. |
review_count | Number of reviews, for product and business capabilities. null means not disclosed, not 0. |
price | Price as a number without a currency symbol; see currency. |
permanently_closed | Keeps the platform's own meaning |
image_url | Image link. Capabilities with several images may return an image_urls array. |
platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |
Errors and billing
#- 401
- Missing or invalid key.
- 402
- Insufficient balance. Top up first.
- 422
- Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
- 429
- Per-minute request limit reached. Wait for Retry-After, then try again.
- 503
- Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
- 200 empty
- No data. No charge.