Google Play 应用评论 API
Google Play 应用评论 API:输入参数、完整枚举、输出字段和真实响应示例。
打开产品页并测试
POST https://api.goanyapi.com/api/v1/googleplay/reviews请求与输入参数
同步 POST JSON 查询;没有 Path 或 Query 参数,不生成异步任务。
| 参数 | 位置 | 类型 | 必填 | 默认值 | 范围与说明 |
|---|---|---|---|---|---|
| Authorization | Header | string | 是 | — | Bearer YOUR_API_KEY |
| Content-Type | Header | string | 是 | application/json | application/json |
| url | JSON body | string | 可选或条件必填 | — | 完整 HTTPS 资源链接;优先于资源 ID; maxLength=4096 |
| country | JSON body | string | 可选或条件必填 | — | 商店国家代码;未显式覆盖时按链接国家处理; pattern=^[A-Za-z]{2}$ |
| lang | JSON body | string | 可选或条件必填 | — | 语言代码; pattern=^[A-Za-z]{2,3}(-[A-Za-z0-9]{2,8}){0,2}$ |
| appId | JSON body | string | 可选或条件必填 | — | Android 应用包名; pattern=^[A-Za-z][A-Za-z0-9_](.[A-Za-z][A-Za-z0-9_])+$ |
| num | JSON body | integer | 可选或条件必填 | 20 | 请求条数上限;实际返回可能更少; minimum=1; maximum=150 |
| sort | JSON body | string | 可选或条件必填 | "NEWEST" | 评论排序方式; enum="NEWEST", "RATING", "HELPFULNESS" |
| stars | JSON body | integer | 可选或条件必填 | — | 按评论星级筛选; minimum=1; maximum=5; enum=1, 2, 3, 4, 5 |
| sentiment | JSON body | string | 可选或条件必填 | — | 评论倾向筛选; enum="POSITIVE", "CRITICAL" |
| cursor | JSON body | string | 可选或条件必填 | — | 原样传回 next_cursor;不是页码; maxLength=20000; pattern=^(?![0-9]+$)[\s\S]+$ |
sort
| 合法值 | 含义 |
|---|---|
| "NEWEST" | 最新 |
| "RATING" | 评分 |
| "HELPFULNESS" | 最有帮助 |
stars
| 合法值 | 含义 |
|---|---|
| 1 | 1 星 |
| 2 | 2 星 |
| 3 | 3 星 |
| 4 | 4 星 |
| 5 | 5 星 |
sentiment
| 合法值 | 含义 |
|---|---|
| "POSITIVE" | 正面评论 |
| "CRITICAL" | 批评性评论 |
条件必填规则(required 表示必须提供的字段,anyOf 至少满足一组,oneOf 仅满足一组,allOf 全部满足):
{
"required": [],
"anyOf": [
{
"required": [
"url"
]
},
{
"required": [
"appId"
]
}
]
}请求示例
POST /api/v1/googleplay/reviews
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
{
"url": "https://play.google.com/store/apps/details?id=com.rockstargames.gtasa",
"appId": "com.rockstargames.gtasa"
}输出字段
| 字段路径 | 类型 | 含义 |
|---|---|---|
| code | string | 成功为 ok,失败为公开错误码 |
| message | string | 请求状态说明 |
| data.result | object / null | 业务结果;保留实际空值和字段缺失 |
| data.creditsUsed | integer | 本次实际扣费;空结果与失败不扣费 |
| data.remainingCredits | number | 结算后的账户积分余额 |
| data.result.reviews | array | reviews:实际公开业务字段,可为空或缺失 |
| data.result.reviews[].id | string | 记录标识 |
| data.result.reviews[].author | string | 公开作者资料 |
| data.result.reviews[].score | integer | score:实际公开业务字段,可为空或缺失 |
| data.result.reviews[].text | string | 文本内容 |
| data.result.reviews[].timestamp | integer | timestamp:实际公开业务字段,可为空或缺失 |
| data.result.reviews[].appVersion | string | appVersion:实际公开业务字段,可为空或缺失 |
| data.result.count | integer | 当前响应记录数,不是全部记录总数 |
| data.result.next_cursor | string | 下一页不透明游标,原样传回 |
| data.result.has_more | boolean | 是否报告还有后续结果,还需可用游标 |
真实响应示例
采集时间:2026-11-25T10:23:38Z。以下为真实公开响应的结构节选,仅省略 data.creditsUsed 和 data.remainingCredits,价格与余额以实际请求为准。
{
"code": "ok",
"message": "ok",
"data": {
"result": {
"reviews": [
{
"id": "f6514bd8-9c9f-4573-9a7f-d1fb0dea4c20",
"author": "王凯",
"score": 4,
"text": "购买了,但是不支持中文。退款也退不掉!",
"timestamp": 1795250106,
"appVersion": "2.11.311"
},
{
"id": "ddb34b29-b9a2-4362-ad7b-cb0b1f823842",
"author": "Zi sheng yu",
"score": 5,
"text": "好玩",
"timestamp": 1795141925,
"appVersion": "2.11.311"
},
{
"id": "98230aae-0b7f-4a3f-a9f5-40a0c0a8aa75",
"author": "1299 Jackson",
"score": 5,
"text": "神作!",
"timestamp": 1793772362,
"appVersion": "2.11.311"
},
{
"id": "cbc61f65-afe1-41d1-85ec-33f6b98ad174",
"author": "你好",
"score": 5,
"text": "That'sgood",
"timestamp": 1793500229,
"appVersion": "2.11.311"
},
{
"id": "d6401a62-ab96-4c60-ad5f-75917e232d7a",
"author": "鲁智深",
"score": 4,
"text": "不支持中文使我非常懊恼",
"timestamp": 1792279411,
"appVersion": "2.11.311"
},
{
"id": "3af94939-15a7-4101-9102-e140c989371c",
"author": "jj jj",
"score": 5,
"text": "10/10 money well spent",
"timestamp": 1791716507,
"appVersion": "2.11.311"
},
{
"id": "f3702c23-f0d4-4c29-966b-6475cd0f80f7",
"author": "陈宇飞",
"score": 1,
"text": "为什么刚下载不支持退款",
"timestamp": 1790952354,
"appVersion": "2.11.311"
},
{
"id": "701026b1-fa8b-454f-a81e-60a1b5e73bfc",
"author": "Zhong Tao",
"score": 5,
"text": "圣安地列斯是我的童年,2016年开始玩的,小时候一直玩的都是盗版,简直是太好玩了,现在我就为我的童年补票!",
"timestamp": 1788516186,
"appVersion": "2.11.311"
},
{
"id": "73b71ccd-184e-4cd8-8dc7-f907cf1fb923",
"author": "NATHAN KONG",
"score": 5,
"text": "唉太自由了",
"timestamp": 1788190179,
"appVersion": "2.11.311"
},
{
"id": "7c4c7cbb-3e67-4879-807e-5ee67e554b07",
"author": "ZH T",
"score": 5,
"text": "为童年买单",
"timestamp": 1787894317,
"appVersion": "2.11.311"
},
{
"id": "b480f10d-a4c8-44bb-ab57-b24fbb5c56e1",
"author": "何昀璁",
"score": 5,
"text": "特别好玩",
"timestamp": 1787887983,
"appVersion": "2.11.311"
},
{
"id": "8fce5390-cb8b-4ee5-be72-a9bb6c917aef",
"author": "Alone.",
"score": 5,
"text": "Good Game,i love it so much",
"timestamp": 1787826684,
"appVersion": "2.11.311"
},
{
"id": "37e5f34f-f137-4ac8-b323-bb1a2572448c",
"author": "k可",
"score": 1,
"text": "没有中文",
"timestamp": 1787453763,
"appVersion": "2.11.311"
},
{
"id": "33d23c3e-a8ad-4031-9811-14092b461a49",
"author": "摯愛綺貞",
"score": 5,
"text": "好玩是好玩是GTA 最經典的一代了👍👍👍,但有很多bug 沒有修改:NPC 攻擊玩家警察視而不見、不能抽煙和喝酒、駕車壓人但車被彈回來NPC起來了、好多任務啊😭😭CJ家前面的酒吧台球NPC突然消失🧐、而且警察撞玩家结果还喜提一星好市民。。每次NPC莫名其妙撞人。。希望官方大大能把畫質改成高清,如果買了San Andreas 最終版那任務都要重來了😭😭😭😭😭",
"timestamp": 1787396565,
"appVersion": "2.11.311"
},
{
"id": "e7abb151-dc0d-4807-8e40-b66de37829ed",
"author": "谢淦恩(鹰无忧)",
"score": 1,
"text": "非常容易闪退,并且购买后不支持你退款,哪怕你刚买没多久",
"timestamp": 1786979602,
"appVersion": "2.11.311"
},
{
"id": "135f2074-8b4b-4adc-93c2-273d9ff78bcb",
"author": "hwa wu",
"score": 5,
"text": "goodgame",
"timestamp": 1786758487,
"appVersion": null
},
{
"id": "56690938-40ae-4224-a171-fc1f7b9a8688",
"author": "蜡笔小新解说",
"score": 1,
"text": "玩一下就闪退根本就不能玩",
"timestamp": 1786258459,
"appVersion": null
},
{
"id": "ff529482-cabf-4265-9828-5890faf1e725",
"author": "褚慕轩",
"score": 5,
"text": "挺好玩的,就是画质不够。",
"timestamp": 1784532561,
"appVersion": "2.11.311"
},
{
"id": "d6b723b4-59f6-4fba-a277-1f6bd7a2f47a",
"author": "丘友",
"score": 5,
"text": "现在这个版本,已经很高清版…希望每次更新…都可以再更好~",
"timestamp": 1783782800,
"appVersion": "2.11.311"
},
{
"id": "d294f63b-60c7-4b37-b9fd-d3fa0ebde546",
"author": "Jo",
"score": 5,
"text": "very good game.But after all, it's an old game from 2004.Not as good as now",
"timestamp": 1783175676,
"appVersion": null
}
],
"count": 20,
"next_cursor": "CtQBIssBARqIumiLFruZjcIjODuf2XImz0A_YZsPtQbPM8xagtT_QBp5ZCYCxD60foFKWn5zJML_l_o4YarnyE0RzemIvbzNMKfVLSZEGR3TBeAW4xgIlSKRnCfoZAoVnQp9pqqvMpqz-y64BqB1j6-ibOx8x_oEltuXs-ibT0PwtU-6jAinXDB3csuKtWt4O1MBNwrmyOPE5ngHpDTIslXpS4REEckfYxqs9R_pnSbx8m8E_UqjTfx5kijf65w9V_WHMnYyk2GHF5ov5kb6rcIoqu6a2AY",
"has_more": true
}
}
}分页与计费
每次仅请求一页。保留资源参数,将 next_cursor 原样传入 cursor。has_more=false 或没有有效新游标时停止。
…
未指定国家和语言且链接未携带对应值时,默认 CN 和 zh-CN;可显式指定其他国家及语言。
仅有有效业务数据的成功请求按数据库当前配置扣费。空结果与失败不扣费,每页独立结算。可选字段为空不代表整条结果为空;缺失、null、空字符串、空数组按实际返回。示例中的媒体链接和游标可能过期,正式使用时重新查询。
状态码
| HTTP | 含义 |
|---|---|
| 200 | 成功,结果可能为空 |
| 400 | 参数或 JSON 不合法 |
| 401 | 鉴权缺失或无效 |
| 402 | 积分不足 |
| 429 | 请求过于频繁 |
| 502 | 请求未能完成 |
| 503 | 接口或计费尚未配置 |