# Airbnb 评价 API (airbnb.reviews)

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

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| url | not declared | yes | not declared | 目标随 action 区分：property_detail / reviews / calendar 使用 /rooms/<房源ID> 链接或房源 ID；host 使用 /users/show/<房东ID> 链接或房东 ID。房源与房东标识不能互换。 |
| lang | enum: arxx / azaz / bgbg / bsba / caes / cscz / dadk / deat / dech / dede / delu / elgr / enae / enau / enca / engb / engy / enie / enin / ennz / ensg / enus / es419 / esar / esbo / esbz / escl / esco / escr / esec / eses / esgt / eshn / esmx / esni / espa / espe / espy / essv / esus / esve / etee / fifi / frbe / frca / frch / frfr / frlu / gaie / heil / hiin / hrhr / huhu / hyam / idid / isis / itch / itit / jajp / kage / kokr / ltlt / lvlv / mkmk / msmy / mtmt / nlbe / nlnl / nono / plpl / ptbr / ptpt / roro / ruru / sksk / slsi / sqal / srme / srrs / svse / swxx / thth / tlph / trtr / ukua / vivn / xhza / zhcn / zhhk / zhtw / zhtwus / zhus / zuza | no | not declared | 语言与地区的紧凑代码，例如 enus 对应 en-US、zhcn 对应 zh-CN、jajp 对应 ja-JP。使用本接口下方列出的完整允许值，不要把普通两位语言码 en 直接传到这里。 |
| locale | not declared | no | not declared | Airbnb 页面语言与地区，如 en-US 或 zh-CN，默认 en-US。与 lang 不要同时传；lang 会覆盖同一语言设置。不是按评论作者国籍筛选。 |
| since | not declared | no | not declared | YYYY-MM-DD 日期：reviews 表示评论起始日期；calendar 表示日历区间起点，并覆盖 start_date / check_in。不同 action 的日期含义不同。 |
| sort | enum: newest / relevance / top_rated | no | not declared | 住客评论排序：newest 最新（默认）、relevance 相关度、top_rated 评分最高。这里排序的是评论，不是房源价格。 |
| limit | integer (1–100) | no | 20 | 这次调用最多返回的条数，整数，1–100；不传按默认值，实际返回可能少于这个数。超过上限会在扣费前返回 422。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | 该记录在原平台上的唯一标识。仅在同一平台内唯一，跨平台可能重复。 |
| url | 该记录在原平台上的可访问链接。 |
| text | 正文内容，已去除 HTML 标签，全文返回、不截断（个别平台的列表结果本身只有摘要，以该平台的字段说明为准）。 |
| 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 表示平台未公开。 |
| language | 内容语言代码（如 zh、en），由平台判定，可能不准。 |
| author_name | 作者昵称（显示名）。 |
| author_location | 评价人所在地。 |
| 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": "airbnb",
  "action": "reviews",
  "params": {
    "url": "https://www.airbnb.com/rooms/12937"
  }
}'
```

```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": "airbnb",
        "action": "reviews",
        "params": {
            "url": "https://www.airbnb.com/rooms/12937",
        },
    },
    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": "airbnb",
  "action": "reviews",
  "results": [
    {
      "id": "•••",
      "url": "https://www.airbnb.com/rooms/12937",
      "text": "It took me a while to fall asleep to the sound of the subway — but there were also crickets all night long, in early autumn. Gorgeous lush backyard and tree-lined block — no wonder the crickets are happy. The room isn’t as big as the photo makes it seem, but it is okay for two. W…",
      "rating": 5,
      "posted_at": "2026-09-22T12:15:52+00:00",
      "language": "en",
      "author_name": "•••",
      "platform": "airbnb",
      "rating_scale": 5
    },
    {
      "id": "•••",
      "url": "https://www.airbnb.com/rooms/12937",
      "text": "This is a fantastic place to stay while visiting NYC. Easy access to Manhattan and Brooklyn. Goes above and beyond expectations.",
      "rating": 5,
      "posted_at": "2026-09-19T14:23:16+00:00",
      "language": "en",
      "author_name": "•••",
      "response": "Thanks for your visit, and hope to see you again!",
      "platform": "airbnb",
      "rating_scale": 5
    }
  ],
  "count": 20,
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

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