# 谷歌地图点评 评价 API (google_maps_reviews.reviews)

- Canonical page: https://everyinfra.com/google-maps-reviews-api/reviews
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "google_maps_reviews", "action": "reviews", "params": {...}}
- Price: $0.001389 per call ($1.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: list, default 20, max 100 per call
- Pagination: pass next_page_token back as page_token for the next page, other params unchanged; one call per page, tokens last 24 hours; up to 400 rows; beyond 200 rows use mode=async
- Mode: sync; add "mode": "async" for slow tasks

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=google_maps_reviews&action=reviews

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| url | not declared | yes | not declared | Google Maps 地点完整链接，优先使用搜索结果中保留 query_place_id 的 URL；仅有店名与地图坐标的 /place/ 链接可能无法稳定定位同一家店。profile 查商户资料，reviews 查该商户评论。 |
| lang | enum: af / am / ar / az / bg / bn / bs / ca / cs / da / de / el / en / es / es419 / et / eu / fa / fi / fil / fr / gl / gu / hi / hr / hu / hy / id / is / it / iw / ja / ka / kk / km / kn / ko / ky / lo / lt / lv / mk / ml / mn / mr / ms / my / ne / nl / no / pa / pl / ptbr / ptpt / ro / ru / si / sk / sl / sq / sr / sv / sw / ta / te / th / tr / uk / ur / uz / vi / zhcn / zhtw / zu | no | not declared | reviews 的语言选项：en 英语、zhcn 简体中文、zhtw 繁体中文等，完整清单见本接口允许值；优先于 language。不是按评论作者国籍筛选。 |
| language | not declared | no | not declared | 查询/页面内容语言，默认 en。reviews 同时传 lang 时以 lang 为准；语言选择不保证所有评论原文属于该语言。 |
| page_token | not declared | no | not declared | 翻页令牌：把上一页响应里的 next_page_token 原样传回拿下一页；不传从第一页开始。其他参数须与上一页一致，令牌 24 小时有效，每页算一次调用；最深能翻多少条、多深要改用 mode=async，见目录里的 pagination。 |
| since | not declared | no | not declared | 评论发布时间下界，建议 YYYY-MM-DD；用于评论读取，不是商户开业日期。profile 也公开此参数，但不能据此认为地点详情按开业时间过滤。 |
| sort | enum: newest / relevance | no | not declared | 评论顺序：newest 最新，relevance 平台相关度；reviews 默认 newest。profile 中同名参数只涉及可能附带的评论信息，不排序单个商户对象。 |
| limit | integer (1–100) | no | 20 | 这次调用最多返回的条数，整数，1–100；不传按默认值，实际返回可能少于这个数。超过上限会在扣费前返回 422。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | 该记录在原平台上的唯一标识。仅在同一平台内唯一，跨平台可能重复。 |
| text | 正文内容，已去除 HTML 标签，全文返回、不截断（个别平台的列表结果本身只有摘要，以该平台的字段说明为准）。 |
| rating | 评分。**分制随平台而异**，同一行的 `rating_scale` 给出该平台满分 (多数是 5，Booking/豆瓣/爱奇艺/NAVER 是 10)。跨平台比较前必须先按 rating_scale 换算。直接比数字会得出反的结论。 |
| rating_scale | 上一列 `rating` 的满分。5 表示五星制、10 表示十分制。只在该行有 rating 时出现。 |
| reviewer_name | 点评人名称。 |
| reviewer_id | 点评人的 Google 地图 ID（点评人主页链接 /maps/contrib/ 后面那串数字）。 |
| reviewer_review_count | 点评人的历史点评总数。数量多的评价者更可信。 |
| is_local_guide | 是否为 Google 本地向导（活跃点评者认证）。 |
| like_count | 点赞数。null 表示该平台或该接口不公开此数据，不等于 0。 |
| posted_at | 发布时间，ISO 8601 格式、UTC 时区（如 2026-08-07T12:34:56+00:00）。平台只给非标准字符串时原样透传，解析前建议做容错。null 表示平台未公开。 |
| url | 该记录在原平台上的可访问链接。 |
| owner_response | 商家对点评的回复。 |
| owner_response_at | 商家回复时间。 |
| detailed_rating | 分维度评分（食物/服务/氛围等）。 |
| image_urls | 点评附图。 |
| place_id | Google 地点 ID，跨 Google 服务通用的唯一标识。 |
| place_name | 地点名称。 |
| platform | 数据来源平台标识，与请求里的 platform 一致（如 xiaohongshu、tiktok）。 |

## Example

```bash
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": "reviews",
  "params": {
    "url": "https://www.google.com/maps/place/?q=place_id:ChIJTfb1d_uHhYARRpn5d_Fk1SU"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "google_maps_reviews",
        "action": "reviews",
        "params": {
            "url": "https://www.google.com/maps/place/?q=place_id:ChIJTfb1d_uHhYARRpn5d_Fk1SU",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

Real response to the example request above, captured 2026-09-26T08:56:04Z. `results` and `count` are real with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2 of 20. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "google_maps_reviews",
  "action": "reviews",
  "results": [
    {
      "id": "Ci9DQUlRQUNvZENodHljRjlvT2t4eFMybEdVRFJKYjFoSVltbHBURWc1VFVWUWJXYxAB",
      "rating": 5,
      "reviewer_name": "•••",
      "reviewer_review_count": 41,
      "is_local_guide": true,
      "like_count": 0,
      "posted_at": "2026-09-25T20:08:51.889000+00:00",
      "url": "https://www.google.com/maps/reviews/data=!4m8!14m7!1m6!2m5!1sCi9DQUlRQUNvZENodHljRjlvT2t4eFMybEdVRFJKYjFoSVltbHBURWc1VFVWUWJXYxAB!2m1!1s0x0:0x25d564f177f99946!3m1!1s2@1:CAIQACodChtycF9oOkxxS2lGUDRJb1hIYmlpTEg5TUVQbWc%7C%7C?hl=en",
      "place_id": "ChIJTfb1d_uHhYARRpn5d_Fk1SU",
      "place_name": "The Coffee Movement",
      "platform": "google_maps_reviews",
      "rating_scale": 5
    },
    {
      "id": "Ci9DQUlRQUNvZENodHljRjlvT2pGWldWWlVWR1UwTlVsRlNuZHNWbWxQWWxkblJGRRAB",
      "text": "Would come back again",
      "rating": 5,
      "reviewer_name": "•••",
      "reviewer_review_count": 8,
      "is_local_guide": false,
      "like_count": 0,
      "posted_at": "2026-09-24T15:28:10.448000+00:00",
      "url": "https://www.google.com/maps/reviews/data=!4m8!14m7!1m6!2m5!1sCi9DQUlRQUNvZENodHljRjlvT2pGWldWWlVWR1UwTlVsRlNuZHNWbWxQWWxkblJGRRAB!2m1!1s0x0:0x25d564f177f99946!3m1!1s2@1:CAIQACodChtycF9oOjFZWVZUVGU0NUlFSndsVmlPYldnRFE%7C%7C?hl=en",
      "detailed_rating": {
        "Food": 5,
        "Service": 5,
        "Atmosphere": 5
      },
      "place_id": "ChIJTfb1d_uHhYARRpn5d_Fk1SU",
      "place_name": "The Coffee Movement",
      "platform": "google_maps_reviews",
      "rating_scale": 5
    }
  ],
  "next_page_token": …,
  "pagination": { … },
  "count": 20,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=google_maps_reviews
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
