API Hop 문서
Google Travel Explore API 참조
Google Travel Explore에서 여행지를 탐색합니다.
동시 실행 한도
AI와 Data는 각각 계정 전체의 동시 실행 슬롯을 공유합니다. 기본값은 AI 5 / Data 2이며 구독에 따라 달라집니다. 엔드포인트별 한도도 카테고리 전체 한도를 초과할 수 없습니다. 어느 한도든 도달하면 HTTP 429를 반환합니다. 비동기 작업은 실행이 끝날 때까지 슬롯을 차지합니다.
GET /v1/google-travel-explore/search Google Travel Explore에서 여행지를 탐색합니다.
인증 및 요금
기본 요금은 성공한 요청당 $0.0003(300 credits)입니다. API Hop API 키를 사용합니다. 접근은 활성 게이트웨이와 권한에 따라 결정됩니다. 성공한 요청 요금은 카탈로그와 계정을 확인하세요. 계정별 요금이 우선하며 성공한 빈 결과도 과금됩니다. 실패하면 예약 금액을 해제합니다. 제한 시간은 60초이며 자동 재시도와 페이지 처리가 없습니다. 정산 오류도 공급자 요청을 반복하지 않습니다.
Authorization: Bearer YOUR_API_KEYGoogle Travel Explore: 여행지 탐색
GET https://api.apihop.ai/v1/google-travel-explore/search
매개변수
| 필드 | 유형 | 제약 | 예시 |
|---|---|---|---|
departure_id | string | 출발 공항 또는 도시 식별자 (departure_id); departure_id: REQUIRED; ^(?:[A-Z]{3}|/[mg]/[A-Za-z0-9_]+)(?:,(?:[A-Z]{3}|/[mg]/[A-Za-z0-9_]+))*$ | JFK |
arrival_id | string | 도착 공항, 도시 또는 지역 식별자 (arrival_id); arrival_id: optional; UTF-8 bytes: 128; ^(?:[A-Z]{3}|/[mg]/[A-Za-z0-9_]+)$ | - |
arrival_area_id | string | 도착 공항, 도시 또는 지역 식별자 (arrival_area_id); arrival_area_id: optional; UTF-8 bytes: 128; ^/[mg]/[A-Za-z0-9_]+$ | - |
travel_mode | integer | 항공편 또는 목적지 필터 (travel_mode); travel_mode: optional; min: 0; max: 1 | 0 |
interest | string | 항공편 또는 목적지 필터 (interest); interest: optional; 0, /g/11bc58l13w, /m/0b3yr, /m/09cmq, /m/03g3w, /m/071k0 | 0 |
type | integer | 항공편 또는 목적지 필터 (type); type: optional; 1, 2 | 1 |
outbound_date | string | 여행 날짜 (YYYY-MM-DD) 또는 지원 날짜 범위 (outbound_date); outbound_date: optional; ^[0-9]{4}-[0-9]{2}-[0-9]{2}$ | - |
return_date | string | 여행 날짜 (YYYY-MM-DD) 또는 지원 날짜 범위 (return_date); return_date: optional; ^[0-9]{4}-[0-9]{2}-[0-9]{2}$ | - |
month | integer | 여행 기간 필터 (month); month: optional; min: 0; max: 12 | 0 |
travel_duration | integer | 여행 기간 필터 (travel_duration); travel_duration: optional; min: 1; max: 3 | 1 |
travel_class | string | 좌석 등급 (travel_class); travel_class: optional; economy, premium_economy, business, first | economy |
adults | integer | 성인 수 (adults); adults: optional; min: 1; max: 9 | 1 |
children | integer | 어린이 수 (children); children: optional; min: 0; max: 8 | 0 |
infants_in_seat | integer | 유아 수 (infants_in_seat); infants_in_seat: optional; min: 0; max: 8 | 0 |
infants_on_lap | integer | 무릎에 앉는 유아 수 (infants_on_lap); infants_on_lap: optional; min: 0; max: 8 | 0 |
stops | integer | 항공편 또는 목적지 필터 (stops); stops: optional; min: 0; max: 3 | 0 |
include_airlines | string | 항공사 또는 동맹 필터 (include_airlines); include_airlines: optional; UTF-8 bytes: 1000; ^(?:[A-Z][A-Z0-9]|[0-9][A-Z]|STAR_ALLIANCE|SKYTEAM|ONEWORLD)(?:,(?:[A-Z][A-Z0-9]|[0-9][A-Z]|STAR_ALLIANCE|SKYTEAM|ONEWORLD))*$ | - |
exclude_airlines | string | 항공사 또는 동맹 필터 (exclude_airlines); exclude_airlines: optional; UTF-8 bytes: 1000; ^(?:[A-Z][A-Z0-9]|[0-9][A-Z]|STAR_ALLIANCE|SKYTEAM|ONEWORLD)(?:,(?:[A-Z][A-Z0-9]|[0-9][A-Z]|STAR_ALLIANCE|SKYTEAM|ONEWORLD))*$ | - |
bags | integer | 항공편 또는 목적지 필터 (bags); bags: optional; min: 0; max: 9 | 0 |
max_price | integer | 최고 가격 (max_price); max_price: optional; min: 1; max: 2147483647 | 1 |
max_duration | integer | 여행 기간 필터 (max_duration); max_duration: optional; min: 1; max: 2147483647 | 1 |
currency | string | 통화 코드 (currency); currency: optional; ALL, DZD, ARS, AMD, AWG, AUD, AZN, BSD, BHD, BYN, BMD, BAM, BRL, GBP, BGN, XPF, CAD, CLP, CNY, COP, CRC, CUP, CZK, DKK, DOP, EGP, EUR, GEL, HKD, HUF, ISK, INR, IDR, IRR, ILS, JMD, JPY, JOD, KZT, KWD, LBP, MKD, MYR, MXN, MDL, MAD, TWD, NZD, NOK, OMR, PKR, PAB, PEN, PHP, PLN, QAR, RON, RUB, SAR, RSD, SGD, ZAR, KRW, SEK, CHF, THB, TRY, USD, UAH, AED, VND; ^[A-Z]{3}$ | ALL |
country | string | 국가 또는 스토어 코드 (country); country: optional; ^[A-Za-z]{2}$ | - |
language | string | 언어; language: optional | - |
limit | integer | 결과 수 제한; limit: optional; min: 1; max: 100 | 10 |
device | string | 기기; device: optional; desktop, mobile, tablet | desktop |
zero_trace | boolean | 응답 보관 안 함; zero_trace: optional | true |
검증
쿼리 매개변수만 허용하며 요청 본문은 사용하지 않습니다. 알 수 없거나 중복된 값, 빈 값, 잘못된 값은 거부됩니다. JSON만 지원하며 자동 페이지 조회나 재시도는 없습니다. 규칙: AND = 모두, OR = 또는, XOR = 하나만, NOT = 제외, => = 필요.
GET query only; body = null; response = JSON; html, output, json_restrictor, no_cache: NOT supportedstring: UTF-8 bytes <= maxLength (default 8192); boolean = true OR false; integer: safe integerlanguage: /^[A-Za-z]{2,3}(?:[-_][A-Za-z]{2,4})?$/adults (default 1) + children + infants_in_seat + infants_on_lap <= 9; infants_on_lap <= adultsbags <= adults + children + infants_in_seatoutbound_date, return_date: valid YYYY-MM-DD; return_date >= outbound_date; type = 2 => NOT return_date
예시
curl --get "https://api.apihop.ai/v1/google-travel-explore/search" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "departure_id=JFK" \
--data-urlencode "limit=10"응답 및 오류
원본 JSON과 숫자 정밀도를 유지합니다. 예시는 성공한 빈 결과입니다. HTTP 400: 입력; 401: 인증; 402: 잔액; 403: 접근; 405: 메서드; 429: 제한; 5xx: 서비스. X-Request-Id를 보관하세요.
{
"success": true,
"request_id": "example-request",
"data": {
"format": "json",
"content": {
"results": []
}
}
}