# Fixed reference example. Playground inputs do not update this sample.
curl --request GET \
--url 'https://api.aisa.one/apis/v1/airbnb/search?engine=airbnb' \
--header 'Authorization: Bearer <token>'curl --request GET \
--url https://api.aisa.one/apis/v1/airbnb/search \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/airbnb/search"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/airbnb/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/airbnb/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/airbnb/search"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/airbnb/search")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/airbnb/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"error": "<string>",
"pagination": {
"next_page_token": "<string>"
},
"properties": [
{
"accommodations": [
"<string>"
],
"badges": [
"<string>"
],
"booking_link": "<string>",
"check_in_date": "<string>",
"check_out_date": "<string>",
"description": "<string>",
"distance": "<string>",
"extracted_distance": 123,
"gps_coordinates": {
"latitude": 123,
"longitude": 123
},
"has_free_cancellation": true,
"id": "<string>",
"images": [
"<string>"
],
"link": "<string>",
"position": 123,
"price": {
"breakdown": [
{
"description": "<string>",
"extracted_price": 123,
"price": "<string>"
}
],
"discount": "<string>",
"extracted_discount": 123,
"extracted_original_price": 123,
"extracted_price_per_qualifier": 123,
"extracted_qualifier": 123,
"extracted_total_price": 123,
"extracted_total_with_taxes": 123,
"original_price": "<string>",
"price_per_qualifier": "<string>",
"qualifier": "<string>",
"total_price": "<string>",
"total_with_taxes": "<string>"
},
"rating": 123,
"reviews": 123,
"time_period": "<string>",
"title": "<string>"
}
],
"search_information": {
"adults": 123,
"check_in_date": "<string>",
"check_out_date": "<string>",
"children": 123,
"guests": "<string>",
"infants": 123,
"pets": 123,
"query_displayed": "<string>",
"results": "<string>",
"time_period": "<string>"
},
"search_metadata": {
"created_at": "2023-11-07T05:31:56Z",
"html_url": "<string>",
"id": "<string>",
"json_url": "<string>",
"parsing_time_taken": 123,
"request_time_taken": 123,
"request_url": "<string>",
"status": "<string>",
"total_time_taken": 123
},
"search_parameters": {
"adults": 123,
"airbnb_domain": "<string>",
"amenities": "<string>",
"bathrooms": 123,
"bedrooms": 123,
"beds": 123,
"bounding_box": "<string>",
"check_in_date": "<string>",
"check_out_date": "<string>",
"children": 123,
"currency": "<string>",
"engine": "<string>",
"include_taxes": "<string>",
"infants": 123,
"next_page_token": "<string>",
"pets": 123,
"price_max": 123,
"price_min": 123,
"property_types": "<string>",
"q": "<string>",
"time_period": "<string>",
"type_of_place": "<string>"
}
}Search Airbnb Listings
Search Airbnb Listings
# Fixed reference example. Playground inputs do not update this sample.
curl --request GET \
--url 'https://api.aisa.one/apis/v1/airbnb/search?engine=airbnb' \
--header 'Authorization: Bearer <token>'curl --request GET \
--url https://api.aisa.one/apis/v1/airbnb/search \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.aisa.one/apis/v1/airbnb/search"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.aisa.one/apis/v1/airbnb/search', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/airbnb/search",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/airbnb/search"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.aisa.one/apis/v1/airbnb/search")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/airbnb/search")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"error": "<string>",
"pagination": {
"next_page_token": "<string>"
},
"properties": [
{
"accommodations": [
"<string>"
],
"badges": [
"<string>"
],
"booking_link": "<string>",
"check_in_date": "<string>",
"check_out_date": "<string>",
"description": "<string>",
"distance": "<string>",
"extracted_distance": 123,
"gps_coordinates": {
"latitude": 123,
"longitude": 123
},
"has_free_cancellation": true,
"id": "<string>",
"images": [
"<string>"
],
"link": "<string>",
"position": 123,
"price": {
"breakdown": [
{
"description": "<string>",
"extracted_price": 123,
"price": "<string>"
}
],
"discount": "<string>",
"extracted_discount": 123,
"extracted_original_price": 123,
"extracted_price_per_qualifier": 123,
"extracted_qualifier": 123,
"extracted_total_price": 123,
"extracted_total_with_taxes": 123,
"original_price": "<string>",
"price_per_qualifier": "<string>",
"qualifier": "<string>",
"total_price": "<string>",
"total_with_taxes": "<string>"
},
"rating": 123,
"reviews": 123,
"time_period": "<string>",
"title": "<string>"
}
],
"search_information": {
"adults": 123,
"check_in_date": "<string>",
"check_out_date": "<string>",
"children": 123,
"guests": "<string>",
"infants": 123,
"pets": 123,
"query_displayed": "<string>",
"results": "<string>",
"time_period": "<string>"
},
"search_metadata": {
"created_at": "2023-11-07T05:31:56Z",
"html_url": "<string>",
"id": "<string>",
"json_url": "<string>",
"parsing_time_taken": 123,
"request_time_taken": 123,
"request_url": "<string>",
"status": "<string>",
"total_time_taken": 123
},
"search_parameters": {
"adults": 123,
"airbnb_domain": "<string>",
"amenities": "<string>",
"bathrooms": 123,
"bedrooms": 123,
"beds": 123,
"bounding_box": "<string>",
"check_in_date": "<string>",
"check_out_date": "<string>",
"children": 123,
"currency": "<string>",
"engine": "<string>",
"include_taxes": "<string>",
"infants": 123,
"next_page_token": "<string>",
"pets": 123,
"price_max": 123,
"price_min": 123,
"property_types": "<string>",
"q": "<string>",
"time_period": "<string>",
"type_of_place": "<string>"
}
}请求规范
- 方法与路径: GET /apis/v1/airbnb/search
- 可用状态: enabled
- 请求 URL 模板:
https://api.aisa.one/apis/v1/airbnb/search - adults: query; 可选
- airbnb_domain: query; 可选
- amenities: query; 可选
- bathrooms: query; 可选
- bedrooms: query; 可选
- beds: query; 可选
- bounding_box: query; 可选
- check_in_date: query; 可选
- check_out_date: query; 可选
- children: query; 可选
- currency: query; 可选
- engine: query; 必填
- include_taxes: query; 可选
- infants: query; 可选
- next_page_token: query; 可选
- pets: query; 可选
- price_max: query; 可选
- price_min: query; 可选
- property_types: query; 可选
- q: query; 可选
- time_period: query; 可选
- type_of_place: query; 可选
{
"operationId": "any_youtube_apis_v1_airbnb_search",
"method": "GET",
"path": "/apis/v1/airbnb/search",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [
{
"description": "Number of adult guests",
"in": "query",
"name": "adults",
"required": false,
"schema": {
"maximum": 16,
"minimum": 0,
"type": "integer"
}
},
{
"description": "Airbnb domain to search (affects language and regional results)",
"in": "query",
"name": "airbnb_domain",
"required": false,
"schema": {
"default": "airbnb.com",
"type": "string"
}
},
{
"description": "Comma-separated list of amenity keys (e.g., \"wifi,pool,kitchen\"). Supports hundreds of amenities including wifi, pool, kitchen, air_conditioning, heating, washer, dryer, parking, pets_allowed, wheelchair_accessible, gym, hot_tub, ev_charger, and many more. Also supports special filters: guest_favorite, instant_book, luxe.",
"in": "query",
"name": "amenities",
"required": false,
"schema": {
"type": "string"
}
},
{
"description": "Minimum number of bathrooms",
"in": "query",
"name": "bathrooms",
"required": false,
"schema": {
"maximum": 8,
"minimum": 0,
"type": "integer"
}
},
{
"description": "Minimum number of bedrooms",
"in": "query",
"name": "bedrooms",
"required": false,
"schema": {
"maximum": 8,
"minimum": 0,
"type": "integer"
}
},
{
"description": "Minimum number of beds",
"in": "query",
"name": "beds",
"required": false,
"schema": {
"maximum": 8,
"minimum": 0,
"type": "integer"
}
},
{
"description": "Geographic bounding box coordinates for map-based search. Format: [[ne_lat,ne_lng],[sw_lat,sw_lng]]. Either q or bounding_box is required.",
"in": "query",
"name": "bounding_box",
"required": false,
"schema": {
"type": "string"
}
},
{
"description": "Check-in date in YYYY-MM-DD format. Must be a future date. Cannot be used together with time_period.",
"in": "query",
"name": "check_in_date",
"required": false,
"schema": {
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
}
},
{
"description": "Check-out date in YYYY-MM-DD format. Must be after check-in date. Requires check_in_date to be set.",
"in": "query",
"name": "check_out_date",
"required": false,
"schema": {
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"type": "string"
}
},
{
"description": "Number of children guests",
"in": "query",
"name": "children",
"required": false,
"schema": {
"maximum": 15,
"minimum": 0,
"type": "integer"
}
},
{
"description": "Currency code for pricing. Defaults to USD on airbnb.com; country-specific domains use their own local currency unless this parameter is set.",
"in": "query",
"name": "currency",
"required": false,
"schema": {
"default": "USD",
"enum": [
"USD",
"AUD",
"BRL",
"BGN",
"BAM",
"CAD",
"CLP",
"CNY",
"COP",
"CRC",
"CZK",
"DKK",
"EGP",
"AED",
"EUR",
"GHS",
"GTQ",
"HNL",
"HKD",
"HUF",
"INR",
"IDR",
"ILS",
"JPY",
"KZT",
"KES",
"MYR",
"MXN",
"MAD",
"TWD",
"NZD",
"NOK",
"PEN",
"PHP",
"PLN",
"GBP",
"QAR",
"RON",
"RUB",
"SAR",
"SGD",
"ZAR",
"KRW",
"SEK",
"CHF",
"THB",
"TRY",
"UGX",
"UAH",
"UYU",
"VND"
],
"type": "string"
}
},
{
"description": "Search engine identifier",
"example": "airbnb",
"in": "query",
"name": "engine",
"required": true,
"schema": {
"enum": [
"airbnb"
],
"type": "string"
}
},
{
"description": "When `true`, returns tax-inclusive search-card pricing. Each property's `price` then carries `total_with_taxes` and itemizes its tax lines in `breakdown`, without any extra per-property call. Applies to airbnb.com, where taxes normally appear only at checkout; other country-specific domains are unaffected (many, like EU domains, already show tax-inclusive totals by default). The nightly prices are the same as the default response; taxes are itemized on top.",
"in": "query",
"name": "include_taxes",
"required": false,
"schema": {
"default": "false",
"enum": [
"true",
"false"
],
"type": "string"
}
},
{
"description": "Number of infant guests",
"in": "query",
"name": "infants",
"required": false,
"schema": {
"maximum": 5,
"minimum": 0,
"type": "integer"
}
},
{
"description": "Token for pagination to retrieve subsequent pages of results",
"in": "query",
"name": "next_page_token",
"required": false,
"schema": {
"type": "string"
}
},
{
"description": "Number of pets",
"in": "query",
"name": "pets",
"required": false,
"schema": {
"maximum": 5,
"minimum": 0,
"type": "integer"
}
},
{
"description": "Maximum price filter per night",
"in": "query",
"name": "price_max",
"required": false,
"schema": {
"minimum": 0,
"type": "integer"
}
},
{
"description": "Minimum price filter per night",
"in": "query",
"name": "price_min",
"required": false,
"schema": {
"minimum": 0,
"type": "integer"
}
},
{
"description": "Comma-separated list of property type keys",
"in": "query",
"name": "property_types",
"required": false,
"schema": {
"type": "string"
}
},
{
"description": "Search query for location (e.g., \"Barcelona\", \"Paris\"). Either q or bounding_box is required.",
"in": "query",
"name": "q",
"required": false,
"schema": {
"type": "string"
}
},
{
"description": "Flexible trip length for searches without specific dates. Cannot be used together with check_in_date.",
"in": "query",
"name": "time_period",
"required": false,
"schema": {
"default": "one_week",
"enum": [
"weekend_trip",
"one_week",
"one_month"
],
"type": "string"
}
},
{
"description": "Type of accommodation",
"in": "query",
"name": "type_of_place",
"required": false,
"schema": {
"enum": [
"any",
"room",
"entire_home"
],
"type": "string"
}
}
],
"security": [
{
"bearerAuth": []
}
],
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
费用与请求规则
请求费用。 默认请求预估费用:$0.001 USD。 最终费用以实际用量为准。 账户适用价格可能不同;支持报价的接口可按实际请求获取报价。授权
查询参数
Comma-separated list of amenity keys (e.g., "wifi,pool,kitchen"). Supports hundreds of amenities including wifi, pool, kitchen, air_conditioning, heating, washer, dryer, parking, pets_allowed, wheelchair_accessible, gym, hot_tub, ev_charger, and many more. Also supports special filters: guest_favorite, instant_book, luxe.
Currency code for pricing. Defaults to USD on airbnb.com; country-specific domains use their own local currency unless this parameter is set.
USD, AUD, BRL, BGN, BAM, CAD, CLP, CNY, COP, CRC, CZK, DKK, EGP, AED, EUR, GHS, GTQ, HNL, HKD, HUF, INR, IDR, ILS, JPY, KZT, KES, MYR, MXN, MAD, TWD, NZD, NOK, PEN, PHP, PLN, GBP, QAR, RON, RUB, SAR, SGD, ZAR, KRW, SEK, CHF, THB, TRY, UGX, UAH, UYU, VND When true, returns tax-inclusive search-card pricing. Each property's price then carries total_with_taxes and itemizes its tax lines in breakdown, without any extra per-property call. Applies to airbnb.com, where taxes normally appear only at checkout; other country-specific domains are unaffected (many, like EU domains, already show tax-inclusive totals by default). The nightly prices are the same as the default response; taxes are itemized on top.
true, false