# Airbnb 房源详情 API (airbnb.property_detail)

- Canonical page: [https://everyinfra.com/airbnb-api/property_detail](https://everyinfra.com/airbnb-api/property_detail?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "airbnb", "action": "property_detail", "params": {...}}
- Price: $0.001389 per call ($1.39 per 1,000 requests); failed calls and empty results are not charged
- Returns: single object
- 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=property_detail

## 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。房源与房东标识不能互换。 |
| city | not declared | no | not declared | 房源所在城市名称，自由文本，用于该接口的城市条件；不是房源 ID 或国家代码。 |
| max_price | not declared | no | not declared | 房源价格筛选上限，传数值，不应低于 min_price；不要把住宿总预算与单次 API 费用混用。按整数筛选，带小数时向上取整。 |
| min_price | not declared | no | not declared | 房源价格筛选下限，传数值，与 max_price 配合使用；它是房源筛选条件，不是 API 消费限额。按整数筛选，带小数时向下取整。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | 该记录在原平台上的唯一标识。仅在同一平台内唯一，跨平台可能重复。 |
| url | 该记录在原平台上的可访问链接。 |
| title | 标题。平台无标题概念时（如纯文本帖）为 null。 |
| text | 正文内容，已去除 HTML 标签，全文返回、不截断（个别平台的列表结果本身只有摘要，以该平台的字段说明为准）。 |
| property_type | 房源类型（公寓/别墅/民宿等）。 |
| room_type | 房间类型（整套/独立房间/合住房间）。**决定是否与房东同住**。 |
| person_capacity | 可住人数上限。 |
| bedrooms | 卧室数。 |
| bathrooms | 卫生间数。 |
| beds | 床位数。 |
| location | 地理位置描述，原文透传，格式随平台而异。 |
| lat | 纬度。 |
| lng | 经度。 |
| rating | 评分。**分制随平台而异**，同一行的 `rating_scale` 给出该平台满分 (多数是 5，Booking/豆瓣/爱奇艺/NAVER 是 10)。跨平台比较前必须先按 rating_scale 换算。直接比数字会得出反的结论。 |
| rating_scale | 上一列 `rating` 的满分。5 表示五星制、10 表示十分制。只在该行有 rating 时出现。 |
| review_count | 评价条数，用于商品/商家类能力。null 表示不公开，不等于 0。 |
| price | 价格数值，不含货币符号；币种见 currency。 |
| currency | 价格币种代码（如 CNY、USD）。price 存在但 currency 为 null 时不要假定币种。 |
| host_name | 房东名称。 |
| is_superhost | 是否为超赞房东。Airbnb 对响应率、评分、取消率的综合认证。 |
| amenities | 设施清单（WiFi/厨房/洗衣机等）。 |
| 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": "property_detail",
  "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": "property_detail",
        "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. `id`, `billing` and `quota` differ on every call, so only their shape is shown.

```text
{
  "id": "req_…",
  "platform": "airbnb",
  "action": "property_detail",
  "results": {
    "id": "12937",
    "url": "https://www.airbnb.com/rooms/12937",
    "title": "1 Stop to Midtown! Private Bedroom, Landmark House",
    "text": "Private room, dedicated bath in a single-family townhouse, where I live and work (architect/photographer ).\nTotally renovated Queen Anne Historic Townhouse on a  Landmark Block.  \nOne stop from Manhattan!\nEnjoy the rear private garden at breakfast time.\nSmoking allowed in garden …",
    "property_type": "N/A",
    "room_type": "N/A",
    "person_capacity": 2,
    "bedrooms": 1,
    "bathrooms": 1,
    "beds": 1,
    "location": "New York City",
    "lat": 40.74757,
    "lng": -73.94571,
    "rating": 4.92,
    "review_count": 496,
    "host_name": "N/A",
    "is_superhost": false,
    "platform": "airbnb",
    "rating_scale": 5
  },
  "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
