API Hop

문서

API Hop 문서

Airbnb API 참조

위치, 날짜, 인원 및 숙소 조건으로 Airbnb 숙소를 검색합니다.

동시 실행 한도

AI와 Data는 각각 계정 전체의 동시 실행 슬롯을 공유합니다. 기본값은 AI 5 / Data 2이며 구독에 따라 달라집니다. 엔드포인트별 한도도 카테고리 전체 한도를 초과할 수 없습니다. 어느 한도든 도달하면 HTTP 429를 반환합니다. 비동기 작업은 실행이 끝날 때까지 슬롯을 차지합니다.

GET /v1/airbnb/search
기본 한도: 2

위치, 날짜, 인원 및 숙소 조건으로 Airbnb 숙소를 검색합니다.

인증 및 요금

기본 요금은 성공한 요청당 $0.0003(300 credits)입니다. API Hop API 키를 사용합니다. 접근은 활성 게이트웨이와 권한에 따라 결정됩니다. 성공한 요청 요금은 카탈로그와 계정을 확인하세요. 계정별 요금이 우선하며 성공한 빈 결과도 과금됩니다. 실패하면 예약 금액을 해제합니다. 제한 시간은 60초이며 자동 재시도와 페이지 처리가 없습니다. 정산 오류도 공급자 요청을 반복하지 않습니다.

http
Authorization: Bearer YOUR_API_KEY

Airbnb: 숙소 검색

GET https://api.apihop.ai/v1/airbnb/search

매개변수

필드유형제약예시
querystring검색어; query: optionalAustin, TX
map_boundsstring지도 경계 (북,동,남,서) (map_bounds); map_bounds: optional-
check_in_datestring여행 날짜 (YYYY-MM-DD) 또는 지원 날짜 범위 (check_in_date); check_in_date: optional; ^[0-9]{4}-[0-9]{2}-[0-9]{2}$-
check_out_datestring여행 날짜 (YYYY-MM-DD) 또는 지원 날짜 범위 (check_out_date); check_out_date: optional; ^[0-9]{4}-[0-9]{2}-[0-9]{2}$-
airbnb_domainstringAirbnb 지역 도메인 (airbnb_domain); airbnb_domain: optional; airbnb.com, sq.airbnb.com, ar.airbnb.com, hy.airbnb.com, az.airbnb.com, bs.airbnb.com, bg.airbnb.com, airbnb.cn, zh.airbnb.com, airbnb.com.hk, airbnb.com.tw, zh-t.airbnb.com, hr.airbnb.com, airbnb.cz, cs.airbnb.com, airbnb.dk, da.airbnb.com, airbnb.be, airbnb.nl, nl.airbnb.com, airbnb.com.au, airbnb.ca, airbnb.gy, airbnb.co.in, airbnb.ie, airbnb.com.mt, airbnb.co.nz, airbnb.com.sg, airbnb.co.za, airbnb.ae, airbnb.co.uk, airbnb.com.ee, et.airbnb.com, airbnb.fi, fi.airbnb.com, fr.airbnb.be, fr.airbnb.ca, airbnb.fr, airbnb.lu, fr.airbnb.ch, fr.airbnb.com, ka.airbnb.com, airbnb.at, airbnb.de, airbnb.ch, de.airbnb.com, airbnb.gr, el.airbnb.com, he.airbnb.com, hi.airbnb.com, airbnb.hu, hu.airbnb.com, airbnb.is, is.airbnb.com, airbnb.co.id, id.airbnb.com, ga.airbnb.com, airbnb.it, it.airbnb.ch, it.airbnb.com, airbnb.jp, ja.airbnb.com, kn.airbnb.com, airbnb.co.kr, ko.airbnb.com, lv.airbnb.com, lt.airbnb.com, mk.airbnb.com, airbnb.com.my, ms.airbnb.com, mt.airbnb.com, airbnb.no, no.airbnb.com, airbnb.pl, pl.airbnb.com, airbnb.com.br, airbnb.pt, pt.airbnb.com, ro.airbnb.com, airbnb.ru, ru.airbnb.com, sr.airbnb.com, sk.airbnb.com, sl.airbnb.com, airbnb.com.ar, airbnb.com.bz, airbnb.com.bo, airbnb.cl, airbnb.com.co, airbnb.co.cr, airbnb.com.ec, airbnb.com.sv, airbnb.com.gt, airbnb.com.hn, airbnb.mx, airbnb.com.ni, airbnb.com.pa, airbnb.com.py, airbnb.com.pe, airbnb.es, es.airbnb.com, airbnb.co.ve, es-l.airbnb.com, sw.airbnb.com, airbnb.se, sv.airbnb.com, airbnb.com.ph, tl.airbnb.com, th.airbnb.com, airbnb.com.tr, tr.airbnb.com, uk.airbnb.com, vi.airbnb.com, airbnb.com.vn, xh.airbnb.com, zu.airbnb.comairbnb.com
currencystring통화 코드 (currency); currency: optional; AED, ARS, AUD, AWG, BAM, BBD, BGN, BHD, BND, BRL, BTN, BZD, CAD, CHF, CLP, CNY, COP, CRC, CZK, DKK, EGP, EUR, FJD, GBP, GHS, GTQ, GYD, HKD, HNL, HRK, HUF, IDR, ILS, INR, JMD, JOD, JPY, KES, KRW, KZT, LAK, LKR, MAD, MOP, MXN, MYR, NOK, NZD, OMR, PEN, PGK, PHP, PLN, QAR, RON, RUB, SAR, SEK, SGD, THB, TRY, TTD, TWD, UAH, UGX, USD, UYU, VND, ZAR; ^[A-Z]{3}$AED
adultsinteger성인 수 (adults); adults: optional; min: 1; max: 162
childreninteger어린이 수 (children); children: optional; min: 0; max: 150
infantsinteger유아 수 (infants); infants: optional; min: 0; max: 50
petsinteger반려동물 수 (pets); pets: optional; min: 0; max: 50
bedroomsinteger최소 침실 또는 침대 수 (bedrooms); bedrooms: optional; min: 0; max: 160
bedsinteger최소 침실 또는 침대 수 (beds); beds: optional; min: 0; max: 160
bathroomsnumber최소 욕실 수 (bathrooms); bathrooms: optional; min: 0; max: 160
min_priceinteger최저 가격 (min_price); min_price: optional; min: 0; max: 100000000
max_priceinteger최고 가격 (max_price); max_price: optional; min: 0; max: 100000000
room_typestring숙박 조건 필터 (room_type); room_type: optional; entire_home, private_roomentire_home
property_typesstring숙박 조건 필터 (property_types); property_types: optional; ^(?:house|apartment|guesthouse|hotel)(?:,(?:house|apartment|guesthouse|hotel))*$-
amenitiesstring숙박 조건 필터 (amenities); amenities: optional; ^(?:wifi|kitchen|washer|dryer|air_conditioning|heating|dedicated_workspace|tv|hair_dryer|iron|pool|hot_tub|free_parking|ev_charger|crib|king_bed|gym|bbq_grill|breakfast|indoor_fireplace|smoking_allowed|waterfront|smoke_alarm|carbon_monoxide_alarm|private_attached_bathroom)(?:,(?:wifi|kitchen|washer|dryer|air_conditioning|heating|dedicated_workspace|tv|hair_dryer|iron|pool|hot_tub|free_parking|ev_charger|crib|king_bed|gym|bbq_grill|breakfast|indoor_fireplace|smoking_allowed|waterfront|smoke_alarm|carbon_monoxide_alarm|private_attached_bathroom))*$-
accessibility_featuresstring숙박 조건 필터 (accessibility_features); accessibility_features: optional; ^(?:step_free_access|disabled_parking_spot|wide_guest_entrance|step_free_bedroom_access|wide_bedroom_entrance|step_free_bathroom_access|wide_bathroom_entrance|toilet_grab_bar|shower_grab_bar|step_free_shower|shower_or_bath_chair|ceiling_or_mobile_hoist)(?:,(?:step_free_access|disabled_parking_spot|wide_guest_entrance|step_free_bedroom_access|wide_bedroom_entrance|step_free_bathroom_access|wide_bathroom_entrance|toilet_grab_bar|shower_grab_bar|step_free_shower|shower_or_bath_chair|ceiling_or_mobile_hoist))*$-
host_languagesstring숙박 조건 필터 (host_languages); host_languages: optional; ^(?:zh|en|fr|de|it|ja|ko|pt|ru|es|ar|ca|hr|cs|da|nl|fi|el|he|hi|hu|is|id|ms|no|pl|sv|th|tr|af|sq|hy|az|eu|be|bn|bs|bg|my|et|fil|gl|ka|gu|ht|ga|kn|km|ky|lo|lv|lt|mk|mt|fa|pa|ro|sr|sk|sl|sw|tl|ta|te|uk|ur|vi|xh|zu|sgn)(?:,(?:zh|en|fr|de|it|ja|ko|pt|ru|es|ar|ca|hr|cs|da|nl|fi|el|he|hi|hu|is|id|ms|no|pl|sv|th|tr|af|sq|hy|az|eu|be|bn|bs|bg|my|et|fil|gl|ka|gu|ht|ga|kn|km|ky|lo|lv|lt|mk|mt|fa|pa|ro|sr|sk|sl|sw|tl|ta|te|uk|ur|vi|xh|zu|sgn))*$-
instant_bookboolean숙박 조건 필터 (instant_book); instant_book: optionaltrue
self_check_inboolean숙박 조건 필터 (self_check_in); self_check_in: optionaltrue
guest_favoriteboolean숙박 조건 필터 (guest_favorite); guest_favorite: optionaltrue
luxeboolean숙박 조건 필터 (luxe); luxe: optionaltrue
pageinteger페이지 번호, 1부터; page: optional; min: 1; max: 151
zero_traceboolean응답 보관 안 함; zero_trace: optionaltrue

검증

쿼리 매개변수만 허용하며 요청 본문은 사용하지 않습니다. 알 수 없거나 중복된 값, 빈 값, 잘못된 값은 거부됩니다. JSON만 지원하며 자동 페이지 조회나 재시도는 없습니다. 규칙: AND = 모두, OR = 또는, XOR = 하나만, NOT = 제외, => = 필요.

  • GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supported
  • string: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integer
  • language: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/
  • min_price <= max_price
  • check_in_date AND check_out_date: supply both or neither; valid YYYY-MM-DD dates; check_out_date > check_in_date
  • query OR map_bounds: required
  • map_bounds = north,east,south,west; north > south; east > west

예시

bash
curl --get "https://api.apihop.ai/v1/airbnb/search" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  --data-urlencode "adults=2" \
  --data-urlencode "query=Austin, TX"

응답 및 오류

원본 JSON과 숫자 정밀도를 유지합니다. 예시는 성공한 빈 결과입니다. HTTP 400: 입력; 401: 인증; 402: 잔액; 403: 접근; 405: 메서드; 429: 제한; 5xx: 서비스. X-Request-Id를 보관하세요.

json
{
  "success": true,
  "request_id": "example-request",
  "data": {
    "format": "json",
    "content": {
      "results": []
    }
  }
}