# Airbnb 关键词搜索 API (airbnb.search)

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

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| keyword | not declared | yes | not declared | Airbnb 房源搜索地点，使用城市、区域或目的地名称，如 Tokyo；不是房东用户名或房源 ID。 |
| currency | enum: aed / aud / bgn / brl / cad / chf / clp / cny / cop / crc / czk / dkk / egp / eur / gbp / ghs / hkd / hrk / huf / idr / ils / inr / jpy / kes / krw / kzt / mad / mxn / myr / nok / nzd / pen / php / pln / qar / ron / sar / sek / sgd / thb / try / twd / uah / ugx / usd / uyu / vnd / zar | no | not declared | 房源结果的展示币种，默认 USD，可选值见本接口清单。只影响 Airbnb 房价的币种，不改变 EveryInfra 的请求费用或钱包币种。 |
| 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 会覆盖同一语言设置。不是按评论作者国籍筛选。 |
| max_price | not declared | no | not declared | 房源价格筛选上限，传数值，不应低于 min_price；不要把住宿总预算与单次 API 费用混用。按整数筛选，带小数时向上取整。 |
| min_price | not declared | no | not declared | 房源价格筛选下限，传数值，与 max_price 配合使用；它是房源筛选条件，不是 API 消费限额。按整数筛选，带小数时向下取整。 |
| limit | integer (1–100) | no | 20 | 这次调用最多返回的条数，整数，1–100；不传按默认值，实际返回可能少于这个数。超过上限会在扣费前返回 422。 |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | 该记录在原平台上的唯一标识。仅在同一平台内唯一，跨平台可能重复。 |
| url | 该记录在原平台上的可访问链接。 |
| title | 标题。平台无标题概念时（如纯文本帖）为 null。 |
| text | 正文内容，已去除 HTML 标签，全文返回、不截断（个别平台的列表结果本身只有摘要，以该平台的字段说明为准）。 |
| property_type | 房源类型（公寓/别墅/民宿等）。 |
| person_capacity | 可住人数上限。 |
| price | 价格数值，不含货币符号；币种见 currency。 |
| rating | 评分。**分制随平台而异**，同一行的 `rating_scale` 给出该平台满分 (多数是 5，Booking/豆瓣/爱奇艺/NAVER 是 10)。跨平台比较前必须先按 rating_scale 换算。直接比数字会得出反的结论。 |
| rating_scale | 上一列 `rating` 的满分。5 表示五星制、10 表示十分制。只在该行有 rating 时出现。 |
| review_count | 评价条数，用于商品/商家类能力。null 表示不公开，不等于 0。 |
| lat | 纬度。 |
| lng | 经度。 |
| location | 地理位置描述，原文透传，格式随平台而异。 |
| host_name | 房东名称。 |
| amenities | 设施清单（WiFi/厨房/洗衣机等）。 |
| image_url | 图片链接。多图能力可能返回 image_urls 数组。 |
| check_in | 办理入住时段。 |
| check_out | 退房时段。 |
| 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": "search",
  "params": {
    "keyword": "Tokyo"
  }
}'
```

```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": "search",
        "params": {
            "keyword": "Tokyo",
        },
    },
    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": "search",
  "results": [
    {
      "id": "•••",
      "url": "https://www.airbnb.com/rooms/1746823474981624114?locale=en-US&currency=USD&check_in=2026-10-12&check_out=2026-10-17",
      "title": "9-minute walk to Ryogoku Station | Spacious 40㎡ with WiFi | Maximum 5 people, 3 beds | Sky Tree area | AS7 Building",
      "text": "AS7 BuildingIt is a spacious and beautiful 40 ㎡ room!It is a fully private rental with a kitchen, separate bath and toilet, and no common areas, so you can enjoy a comfortable stay in a private space ♪It can accommodate up to 5 guests, and there are 3 beds.9 minutes on foot from …",
      "property_type": "Entire rental unit",
      "person_capacity": 5,
      "rating": 5,
      "review_count": 9,
      "lat": 35.6927,
      "lng": 139.7923,
      "location": "Sumida-ku, Tokyo Prefecture, Japan",
      "host_name": "Hiro",
      "amenities": [
        "Location features",
        "Services",
        "Bathroom"
      ],
      "image_url": "https://a0.muscache.com/im/pictures/hosting/Hosting-1746823474981624114/original/ab7ce007-da59-4bc8-821e-39b54b342cb5.png",
      "check_in": "2026-10-12",
      "check_out": "2026-10-17",
      "platform": "airbnb",
      "rating_scale": 5
    },
    {
      "id": "•••",
      "url": "https://www.airbnb.com/rooms/1748346102404796338?locale=en-US&currency=USD&check_in=2026-10-04&check_out=2026-10-09",
      "title": "About a 30-minute drive to Asakusa, Skytree, and Disneyland.About 60 minutes drive from Narita airport.One free parking space.",
      "text": "One free parking space (one for each room).About a 30-minute drive to Asakusa, Skytree, and Disneyland.About 60 minutes drive from Narita airport.There are two beautiful, separate 2LDK rooms on the second floor (Rooms 201 and 202).If you book 2 rooms at the same time, they can ac…",
      "property_type": "Entire rental unit",
      "person_capacity": 4,
      "rating": 5,
      "review_count": 66,
      "lat": 35.7698,
      "lng": 139.8862,
      "location": "Matsudo, Chiba, Japan",
      "host_name": "守道",
      "amenities": [
        "Location features",
        "Parking and facilities",
        "Services"
      ],
      "image_url": "https://a0.muscache.com/im/pictures/hosting/Hosting-1748346102404796338/original/69b19373-9040-43b8-910f-1730c548e81c.jpeg",
      "check_in": "2026-10-04",
      "check_out": "2026-10-09",
      "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
