# Booking 评价 API (booking.reviews)

- Canonical page: [https://everyinfra.com/booking-api/reviews](https://everyinfra.com/booking-api/reviews?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "booking", "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
- 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=booking&action=reviews

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| url | not declared | yes | not declared | Booking 单个住宿的完整页面链接，建议使用 /hotel/ 路径。profile 查住宿资料，reviews 查该住宿点评，prices 查房型价格；不要将目的地搜索页当作单个酒店链接。 |
| limit | integer (1–100) | no | 20 | 这次调用最多返回的条数，整数，1–100；不传按默认值，实际返回可能少于这个数。超过上限会在扣费前返回 422。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | 该记录在原平台上的唯一标识。仅在同一平台内唯一，跨平台可能重复。 |
| title | 标题。平台无标题概念时（如纯文本帖）为 null。 |
| text_positive | 点评里的正面部分，Booking 把好评差评拆成两栏填写。 |
| text_negative | 点评里的负面部分。两栏都可能为空。 |
| rating | 评分。**分制随平台而异**，同一行的 `rating_scale` 给出该平台满分 (多数是 5，Booking/豆瓣/爱奇艺/NAVER 是 10)。跨平台比较前必须先按 rating_scale 换算。直接比数字会得出反的结论。 |
| rating_scale | 上一列 `rating` 的满分。5 表示五星制、10 表示十分制。只在该行有 rating 时出现。 |
| posted_at | 发布时间，ISO 8601 格式、UTC 时区（如 2026-08-07T12:34:56+00:00）。平台只给非标准字符串时原样透传，解析前建议做容错。null 表示平台未公开。 |
| stay_date | 点评人实际入住的月份，用于判断评价的新鲜度。 |
| author_name | 作者昵称（显示名）。 |
| author_country | 点评人所在国家。 |
| traveler_type | 出行类型（商务/情侣/家庭/独行等），筛同类客群的评价时用。 |
| room_name | 房型名称。 |
| nights | 本次查询的住宿晚数。 |
| language | 内容语言代码（如 zh、en），由平台判定，可能不准。 |
| owner_response | 酒店对该条点评的回复。 |
| 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": "booking",
  "action": "reviews",
  "params": {
    "url": "https://www.booking.com/hotel/jp/park-hyatt-tokyo.html"
  }
}'
```

```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": "booking",
        "action": "reviews",
        "params": {
            "url": "https://www.booking.com/hotel/jp/park-hyatt-tokyo.html",
        },
    },
    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": "booking",
  "action": "reviews",
  "results": [
    {
      "id": "608726deed389acf",
      "rating": 5,
      "posted_at": "2026-09-23T12:06:15+00:00",
      "stay_date": "2026-09-19T00:00:00.000Z",
      "author_name": "•••",
      "room_name": "King Room with City View",
      "platform": "booking",
      "rating_scale": 10
    },
    {
      "id": "5970507e264636a7",
      "rating": 5,
      "posted_at": "2026-09-15T10:59:06+00:00",
      "stay_date": "2026-08-14T00:00:00.000Z",
      "author_name": "•••",
      "room_name": "Deluxe Room with Two Double Beds",
      "platform": "booking",
      "rating_scale": 10
    }
  ],
  "count": 20,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

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