# App Store 评价 API (app_store.reviews)

- Canonical page: https://everyinfra.com/app-store-api/reviews
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "app_store", "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 30, max 500 per call
- 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=app_store&action=reviews

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| app_id | not declared | yes | not declared | Apple 的数字应用 ID，例如应用链接中 id 后的数字；也可将完整 App Store 应用链接放入此参数，系统提取数字 ID。不是 com.example.app 形式的 Bundle ID。 |
| country | not declared | no | not declared | App Store 店面国家/地区，使用小写代码，例如 us、cn、jp，默认 us。详情与评论都按该店面查询；应用在其他店面可见不代表在当前店面同样上架。 |
| sort | enum: most_helpful / newest | no | not declared | 应用评论顺序：newest 为最新评论，most_helpful 为最有帮助的评论；reviews 不传时默认最新评论。这不是应用搜索排名或应用星级筛选，search / profile 不应依赖它改变结果。 |
| limit | integer (1–500) | no | 30 | 这次调用最多返回的条数，整数，1–500；不传按默认值，实际返回可能少于这个数。超过上限会在扣费前返回 422。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | 该记录在原平台上的唯一标识。仅在同一平台内唯一，跨平台可能重复。 |
| title | 标题。平台无标题概念时（如纯文本帖）为 null。 |
| text | 正文内容，已去除 HTML 标签，全文返回、不截断（个别平台的列表结果本身只有摘要，以该平台的字段说明为准）。 |
| rating | 评分。**分制随平台而异**，同一行的 `rating_scale` 给出该平台满分 (多数是 5，Booking/豆瓣/爱奇艺/NAVER 是 10)。跨平台比较前必须先按 rating_scale 换算。直接比数字会得出反的结论。 |
| rating_scale | 上一列 `rating` 的满分。5 表示五星制、10 表示十分制。只在该行有 rating 时出现。 |
| author | 评价作者。 |
| app_version | 版本号。 |
| helpful_count | 评价被标「有帮助」次数。 |
| posted_at | 发布时间，ISO 8601 格式、UTC 时区（如 2026-08-07T12:34:56+00:00）。平台只给非标准字符串时原样透传，解析前建议做容错。null 表示平台未公开。 |
| app_id | App Store 数字 ID。 |
| app_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": "app_store",
  "action": "reviews",
  "params": {
    "app_id": "389801252"
  }
}'
```

```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": "app_store",
        "action": "reviews",
        "params": {
            "app_id": "389801252",
        },
    },
    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 10. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "app_store",
  "action": "reviews",
  "results": [
    {
      "id": "•••",
      "title": "Questionable security and no human being to talk to about it!",
      "text": "I wouldn’t be writing this review, if I had been capable of talking to actual person! In the middle of the night, while I was asleep, someone succeeded at hacking into one of my Instagram accounts…after only two failed attempts! At the time of the first two attempts, which, again…",
      "rating": 5,
      "author": "•••",
      "helpful_count": 0,
      "posted_at": "2025-12-21T18:38:52+00:00",
      "app_id": 389801252,
      "app_name": "Instagram",
      "platform": "app_store",
      "rating_scale": 5
    },
    {
      "id": "•••",
      "title": "Creative and User-Enhancing Suggestions",
      "text": "Dear Instagram Developers, I hope this message finds you well. I am writing to offer a few suggestions that I believe would greatly benefit and enhance the functionality of Instagram. Firstly, I propose the inclusion of a feature that would allow users to add music to their profi…",
      "rating": 5,
      "author": "•••",
      "helpful_count": 0,
      "posted_at": "2024-07-01T07:45:47+00:00",
      "app_id": 389801252,
      "app_name": "Instagram",
      "platform": "app_store",
      "rating_scale": 5
    }
  ],
  "count": 10,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

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