Airbnb API

Airbnb 搜索 API

按地点和日期搜索 Airbnb 房源,可按价格、床位/卧室/浴室数量和入住人员筛选,以标准化 JSON 返回结果(名称、总住宿价格标签、评分、房东)。

US$1.58/千条结果,按请求付费,无需订阅。

San Diego · Airbnb
airbnb.com/s/San-Diego/homes
airbnb
San DiegoAny weekAdd guests
Become a host
FiltersFree parkingAllows petsWasherWifiAir conditioningKitchen

Over 1,000 homes in San Diego

Descriptions are based on details hosts provide

Guest favorite

Pacific Beach, San Diego

4.92(187)

Sunny 3BR bungalow steps from Pacific Beach

Oct 17 - 22

$1,284 total

Mission Bay, San Diego

4.85(96)

Modern 3BR home with pool near Mission Bay

Oct 17 - 22

$1,560 total

Guest favorite

Gaslamp Quarter, San Diego

4.7(63)

Downtown Gaslamp 3BR loft with rooftop deck

Oct 17 - 22

$980 total

API 返回的内容items[0]
{
"id": "50934821",
"url": "https://www.airbnb.com/rooms/50934821",
"title": "Sunny 3BR bungalow steps from Pacific Beach",
"propertyType": "Entire home",
"roomType": "Entire home/apt",
"personCapacity": 6,
"rating": 4.92,
"reviewsCount": 187,
还有 21 个字段
}
可用率
100.00%
30d · 38 次调用
请求数
38
30d · 按周,近 12 周
响应时间
9.5s
中位数 · 30d

试一试

一个请求获取 Airbnb 搜索

打开于
获取免费密钥
示例响应
免费运行只返回前 3 条结果。为密钥充值即可获得完整响应。
{
  "found": true,
  "data": {
    "items": [
      {
        "id": "50934821",
        "url": "https://www.airbnb.com/rooms/50934821",
        "title": "Sunny 3BR bungalow steps from Pacific Beach",
        "propertyType": "Entire home",
        "roomType": "Entire home/apt",
        "personCapacity": 6,
        "rating": 4.92,
        "reviewsCount": 187,
        "price": "$1,284 total",
        "latitude": 32.7987,
        "longitude": -117.2545,
        "location": "Pacific Beach, San Diego",
        "image": "https://a0.muscache.com/im/pictures/miso/Hosting-50934821/original/bungalow-front.jpg",
        "hostName": "Renata",
        "isSuperhost": true,
        "isAvailable": true,
        "description": "Bright, freshly renovated bungalow two blocks from the boardwalk with a private backyard patio and outdoor shower.",
        "hostId": "H4021983",
        "hostAvatarUrl": "https://a0.muscache.com/im/pictures/user/host-renata.jpg",
        "hostVerified": true,
        "hostRating": 4.95,
        "hostReviewsCount": 340,
        "ratingAccuracy": 4.9,
        "ratingCheckin": 5,
        "ratingCleanliness": 4.9,
        "ratingCommunication": 5,
        "ratingLocation": 4.95,
        "ratingValue": 4.8,
        "images": [
          {
            "url": "https://a0.muscache.com/im/pictures/miso/Hosting-50934821/original/bungalow-front.jpg",
            "caption": "Front exterior"
          },
          {
            "url": "https://a0.muscache.com/im/pictures/miso/Hosting-50934821/original/bungalow-living.jpg",
            "caption": "Living room"
          }
        ]
      },
      {
        "id": "41772093",
        "url": "https://www.airbnb.com/rooms/41772093",
        "title": "Modern 3BR home with pool near Mission Bay",
        "propertyType": "Entire home",
        "roomType": "Entire home/apt",
        "personCapacity": 8,
        "rating": 4.85,
        "reviewsCount": 96,
        "price": "$1,560 total",
        "latitude": 32.7757,
        "longitude": -117.2264,
        "location": "Mission Bay, San Diego",
        "image": "https://a0.muscache.com/im/pictures/miso/Hosting-41772093/original/pool-house.jpg",
        "hostName": "Damon",
        "isSuperhost": false,
        "isAvailable": true,
        "description": "Spacious single story home with a heated pool, fire pit, and a short walk to the bay.",
        "hostId": "H2091823",
        "hostVerified": true,
        "hostRating": 4.7,
        "hostReviewsCount": 112,
        "ratingAccuracy": 4.8,
        "ratingCheckin": 4.9,
        "ratingCleanliness": 4.85,
        "ratingCommunication": 4.9,
        "ratingLocation": 4.8,
        "ratingValue": 4.7
      },
      {
        "id": "38820194",
        "url": "https://www.airbnb.com/rooms/38820194",
        "title": "Downtown Gaslamp 3BR loft with rooftop deck",
        "propertyType": "Loft",
        "roomType": "Entire home/apt",
        "personCapacity": 5,
        "rating": 4.7,
        "reviewsCount": 63,
        "price": "$980 total",
        "latitude": 32.7107,
        "longitude": -117.16,
        "location": "Gaslamp Quarter, San Diego",
        "image": "https://a0.muscache.com/im/pictures/miso/Hosting-38820194/original/loft-rooftop.jpg",
        "hostName": "Willa",
        "isSuperhost": true,
        "isAvailable": false,
        "hostId": "H1120934",
        "hostVerified": false,
        "hostRating": 4.6,
        "hostReviewsCount": 51
      }
    ]
  }
}

完整的参数与响应参考:这个接口的每个字段、类型和示例。

参考

一个请求,一种响应结构。

你发送的每个字段和收到的每个字段,都附有真实示例。

最近验证于 2026-10-09 · 可用率和延迟按 30d 统计

请求体

JSON,POST 到这个接口。

  • locationstring

    San Diego

    要搜索房源的地点(例如 London)。

  • adultsinteger

    2

    成人房客人数(例如 2)。

  • checkInstring

    入住日期,格式为 YYYY-MM-DD(例如 2026-07-01)。

  • checkOutstring

    退房日期,格式为 YYYY-MM-DD(例如 2026-07-05)。

  • childreninteger

    儿童房客人数(例如 1)。

  • currencyenum

    价格使用的货币代码(例如 EUR)。

  • infantsinteger

    婴儿房客人数(例如 1)。

  • limitinteger

    3

    最多返回的结果数(1-20,默认 20)。按返回的结果数扣费,所以上限越低,费用越少。

  • minBathroomsinteger

    最少浴室数(例如 2)。

  • minBedroomsinteger

    3

    最少卧室数(例如 2)。

  • minBedsinteger

    最少床位数(例如 2)。

  • petsinteger

    宠物数量;设置后只返回允许携带宠物的房源(例如 1)。

  • priceMaxinteger

    所选货币下的最高搜索价格(例如 300)。

  • priceMininteger

    所选货币下的最低搜索价格(例如 50)。

你发送。 一个简短的 JSON 请求体。显示的值只是示例,请换成你自己的。

响应

JSON,每个字段一个示例值。

  • foundboolean

    true

each itemdata.items[]
  • idstring

    50934821

  • urlstring

    https://www.airbnb.com/rooms/50934821

  • titlestring

    Sunny 3BR bungalow steps from Pacific Beach

  • propertyTypestring

    Entire home

  • roomTypestring

    Entire home/apt

  • personCapacitynumber

    6

  • ratingnumber

    4.92

  • reviewsCountnumber

    187

  • pricestring

    $1,284 total

  • latitudenumber

    32.7987

  • longitudenumber

    -117.2545

  • locationstring

    Pacific Beach, San Diego

  • imagestring

    https://a0.muscache.com/im/pictures/miso/Hosting-50934821/original/bungalow-front.jpg

  • hostNamestring

    Renata

  • isSuperhostboolean

    true

  • isAvailableboolean

    true

  • descriptionstring

    Bright, freshly renovated bungalow two blocks from the boardwalk with a private backyard patio and outdoor shower.

  • hostIdstring

    H4021983

  • hostAvatarUrlstring

    https://a0.muscache.com/im/pictures/user/host-renata.jpg

  • hostVerifiedboolean

    true

  • hostRatingnumber

    4.95

  • hostReviewsCountnumber

    340

  • ratingAccuracynumber

    4.9

  • ratingCheckinnumber

    5

  • ratingCleanlinessnumber

    4.9

  • ratingCommunicationnumber

    5

  • ratingLocationnumber

    4.95

  • ratingValuenumber

    4.8

each imagedata.items[].images[]
  • urlstring

    https://a0.muscache.com/im/pictures/miso/Hosting-50934821/original/bungalow-front.jpg

  • captionstring

    Front exterior

你收到。 字段有名称、有类型,无论哪个数据源响应,结构都一样。

常见问题

关于 Airbnb 搜索 API

AnyAPI 的 Airbnb 搜索 API 只需一次 POST 请求 /v1/run/airbnb.search,就以统一格式的 JSON 返回 Airbnb 数据。按地点和日期搜索 Airbnb 房源,可按价格、床位/卧室/浴室数量和入住人员筛选,以标准化 JSON 返回结果(名称、总住宿价格标签、评分、房东)。无论哪个数据源提供服务,AnyAPI 都返回同一套统一的 schema。费用:每千条结果 US$1.58,单次请求最多 US$0.0331,以美元计价,无需订阅,也没有每月最低消费。过去 30 天,通过 AnyAPI 发起的 Airbnb 搜索 API 调用中有 100.0% 成功,响应时间中位数为 9.5 秒,共测量 38 次调用。

费用:每千条结果 US$1.58,单次请求最多 US$0.0331,以美元计价,无需订阅,也没有每月最低消费。你只需为一个美元钱包充值,每次调用从中扣费。部分由钱包付费的失败请求会产生处理费用,我们按成本原价转嫁,不加价;错误响应会显示收取的金额。

按地点和日期搜索 Airbnb 房源,可按价格、床位/卧室/浴室数量和入住人员筛选,以标准化 JSON 返回结果(名称、总住宿价格标签、评分、房东)。响应是统一格式的 JSON,外层结构与每个 AnyAPI 接口相同,所以解析另一个接口只需换一个 URL,别的都不用改。

过去 30 天,通过 AnyAPI 发起的 Airbnb 搜索 API 调用中有 100.0% 成功,响应时间中位数为 9.5 秒,共测量 38 次调用。这些是 AnyAPI 对经过网关的流量的自有测量,持续重新计算,并非公开承诺的服务等级目标。

可以。新的 AnyAPI 账户自带 US$0.10 免费余额,无需绑卡,至少足够调用 3 次 Airbnb 搜索,每次最多 US$0.0331。

向 https://api.getanyapi.com/v1/run/airbnb.search 发送 POST 请求,在 “Authorization: Bearer” 请求头中放入你的 AnyAPI 密钥,并以 JSON 请求体传入参数。同一个密钥和同一个钱包适用于所有 AnyAPI 接口。

不需要。你向一个预付费的 AnyAPI 余额充值美元,每个请求从中扣费。没有月度套餐,也没有最低消费,同一个余额可用于所有 AnyAPI 接口。

有。TypeScript 用 npm 安装 @getanyapi/sdk,Python 用 pip 安装 getanyapi。两者都用同一个密钥调用所有 AnyAPI 接口,任何 HTTP 客户端也都可以。

可以。智能体可以连接 https://api.getanyapi.com/mcp 上的 AnyAPI MCP 服务器,或者向 https://api.getanyapi.com/agent/signup 发送一次无需认证的 POST 来创建自己的免费试用密钥,再通过 HTTP 调用这个接口。