SerpBase

接口参考 · 地图与地点

Google Maps Reviews

获取某个地点(按 data_id)的第一页 Google 地图评论:评分、内容、日期、照片和评论者信息;暂不包含商家回复。

POSThttps://api.serpbase.dev/google/maps/reviews
2 积分在 Playground 中调用

示例

BASH
curl -X POST 'https://api.serpbase.dev/google/maps/reviews' \
  -H "Content-Type: application/json" \
  -H 'X-API-Key: YOUR_API_KEY' \
  --max-time 60 \
  -d '{"data_id":"0x89c25896f660c26f:0x3b2fa4f4b6c6a1fa"}'
返回 · 真实返回,已缩短
{
  "status": 0,
  "credits_charged": 2,
  "request_id": "r-4b27fe8a36d9ac303a5da7dd",
  "product_id": "google_maps_reviews",
  "action": "maps_reviews",
  "pagination": {},
  "reviews": {
    "items": [
      {
        "author": "Sherry Li",
        "author_id": "113186433261396517394",
        "author_image_url": "https://lh3.googleusercontent.com/a-/ALV-UjWkD8g7AsWbRot1fsAiM-MKpmf8B6kcpDRWdNYa8TyswwsEaQ4=s120-c-…",
        "author_local_guide": true,
        "author_photos_count": "24",
        "author_reviews_count": "8",
        "author_url": "https://www.google.com/maps/contrib/113186433261396517394?hl=en-US",
        "date": "3 weeks ago",
        "edited_at": "2026-10-06T15:41:52.800Z",
        "id": "Ci9DQUlRQUNvZENodHljRjlvT2pkWlRYUnpSelZuZERoYVluUjJObGt3YzJKeFdHYxAB",
        "likes_count": "0",
        "link": "https://www.google.com/maps/reviews/data=!4m8!14m7!1m6!2m5!1sCi9DQUlRQUNvZENodHljRjlvT2pkWlRYUnpSelZ…",
        "media": [
          {
            "height": 4032,
            "image_url": "https://lh3.googleusercontent.com/grass-cs/AABkmLfheciGMOTA1uLaVapeKISC1x5H6IK3VvCQREJp9LMTFNrG-2SdT…",
            "type": "image",
            "url": "https://lh3.googleusercontent.com/grass-cs/AABkmLfheciGMOTA1uLaVapeKISC1x5H6IK3VvCQREJp9LMTFNrG-2SdT…",
            "width": 3024
          }
        ],
        "published_at": "2026-10-06T15:39:47.770Z",
        "rating": 5,
        "text": "The Met is honestly one of the most incredible museums I have ever visited. I think it is probably t…",
        "url": "https://www.google.com/maps/reviews/data=!4m8!14m7!1m6!2m5!1sCi9DQUlRQUNvZENodHljRjlvT2pkWlRYUnpSelZ…"
      }
    ]
  },
  "source": "google",
  "url": "https://www.google.com/maps/preview/place?authuser=0&gl=us&hl=en&pb=%211m14%211s0x89c25896f660c26f%3…"
}

参数

format
"json" | "markdown"
json(默认)返回解析后的结果。
更多

markdown 以 Markdown 文本(text/markdown)返回同样的结果,便于大模型直接读取:不含外层信封、重复的别名字段和内嵌图片。扣费相同;失败时仍返回 JSON 错误信封。

data_id
string
示例值: "0x89c25896f660c26f:0x3b2fa4f4b6c6a1fa"
country
string
locale.country 的兼容写法。
更多

每次使用其中一种;接口会校验本产品支持的参数与取值。

cursor
string
pagination.cursor 的兼容写法。
更多

每次使用其中一种;接口会校验本产品支持的参数与取值。

dataID
string
data_id 的兼容写法。
更多

每次使用其中一种;接口会校验本产品支持的参数与取值。

device
string
options.device 的兼容写法。
更多

每次使用其中一种;接口会校验本产品支持的参数与取值。

gl
string
locale.country 的兼容写法。
更多

每次使用其中一种;接口会校验本产品支持的参数与取值。

google_domain
string
locale.engine_domain 的兼容写法。
更多

每次使用其中一种;接口会校验本产品支持的参数与取值。

gooogle_domain
string
locale.engine_domain 的兼容写法。
更多

每次使用其中一种;接口会校验本产品支持的参数与取值。

hl
string
locale.language 的兼容写法。
更多

每次使用其中一种;接口会校验本产品支持的参数与取值。

html
boolean
include_html 的兼容写法。
更多

每次使用其中一种;接口会校验本产品支持的参数与取值。

language
string
locale.language 的兼容写法。
更多

每次使用其中一种;接口会校验本产品支持的参数与取值。

limit
integer
pagination.limit 的兼容写法。
更多

每次使用其中一种;接口会校验本产品支持的参数与取值。

markdown
boolean
include_markdown 的兼容写法。
更多

每次使用其中一种;接口会校验本产品支持的参数与取值。

mobile
boolean
options.device 的兼容写法。
更多

每次使用其中一种;接口会校验本产品支持的参数与取值。

next_page_token
string
next_token 的兼容写法。
更多

每次使用其中一种;接口会校验本产品支持的参数与取值。

num
integer
pagination.limit 的兼容写法。
更多

每次使用其中一种;接口会校验本产品支持的参数与取值。

page
integer
pagination.page 的兼容写法。
更多

每次使用其中一种;接口会校验本产品支持的参数与取值。

q
string
query 的兼容写法。
更多

每次使用其中一种;接口会校验本产品支持的参数与取值。

results
integer
pagination.limit 的兼容写法。
更多

每次使用其中一种;接口会校验本产品支持的参数与取值。

topic_id
string
attributes.topic_id 的兼容写法。
更多

每次使用其中一种;接口会校验本产品支持的参数与取值。

示例展示请求参数用法,不代表完整契约。接口会校验已知字段,并允许额外参数。

返回字段

字段见上面的返回示例;每个接口都包含 status、credits_charged 和 request_id。

失败时

失败的请求 status 不为 0 并带有 error,不扣费。这个接口常见的有:

1000参数缺失或有误修改请求
1020积分不足充值
1029超过每秒请求数等待 Retry-After 秒
1502 · 1504这次没能读取到目标网站重试
全部状态码 →