API Hop 문서
Google Shopping API 참조
Google Shopping 상품을 검색하고 필터, 상품 상세 정보 및 판매점 가격을 조회합니다.
동시 실행 한도
AI와 Data는 각각 계정 전체의 동시 실행 슬롯을 공유합니다. 기본값은 AI 5 / Data 2이며 구독에 따라 달라집니다. 엔드포인트별 한도도 카테고리 전체 한도를 초과할 수 없습니다. 어느 한도든 도달하면 HTTP 429를 반환합니다. 비동기 작업은 실행이 끝날 때까지 슬롯을 차지합니다.
GET /v1/google-shopping/search GET /v1/google-shopping/light GET /v1/google-shopping/filters GET /v1/google-shopping/product GET /v1/google-shopping/immersive-product Google Shopping 상품을 검색하고 필터, 상품 상세 정보 및 판매점 가격을 조회합니다.
인증 및 요금
기본 요금은 성공한 요청당 $0.0003(300 credits)입니다. API Hop API 키를 사용합니다. 접근은 활성 게이트웨이와 권한에 따라 결정됩니다. 성공한 요청 요금은 카탈로그와 계정을 확인하세요. 계정별 요금이 우선하며 성공한 빈 결과도 과금됩니다. 실패하면 예약 금액을 해제합니다. 제한 시간은 60초이며 자동 재시도와 페이지 처리가 없습니다. 정산 오류도 공급자 요청을 반복하지 않습니다.
Authorization: Bearer YOUR_API_KEYGoogle Shopping: 상품 검색
GET https://api.apihop.ai/v1/google-shopping/search
매개변수
| 필드 | 유형 | 제약 | 예시 |
|---|---|---|---|
query | string | 검색어; query: optional | coffee grinder |
country | string | 국가 또는 스토어 코드 (country); country: optional; ^[A-Za-z]{2}$ | - |
language | string | 언어; language: optional | - |
page | integer | 페이지 번호, 1부터; page: optional; min: 1; max: 1000 | 1 |
device | string | 기기; device: optional; desktop, mobile, tablet | desktop |
zero_trace | boolean | 응답 보관 안 함; zero_trace: optional | true |
location | string | 검색 위치; location: optional | - |
latitude | number | 위도; latitude: optional; min: -90; max: 90 | -90 |
longitude | number | 경도; longitude: optional; min: -180; max: 180 | -180 |
safe | string | 플랫폼 기본 필터 (safe); safe: optional; active, off | active |
uule | string | 플랫폼 기본 필터 (uule); uule: optional; UTF-8 bytes: 4096 | - |
google_domain | string | 지역 도메인 (google_domain); google_domain: optional | - |
start | integer | 결과 오프셋; start: optional; min: 0; max: 1000 | 0 |
shoprs | string | 플랫폼 기본 필터 (shoprs); shoprs: optional; UTF-8 bytes: 16384 | - |
min_price | number | 최저 가격 (min_price); min_price: optional; min: 0; max: 1000000000 | 0 |
max_price | number | 최고 가격 (max_price); max_price: optional; min: 0; max: 1000000000 | 0 |
sort_by | string | 정렬; sort_by: optional; 1, 2 | 1 |
free_shipping | boolean | 무료 배송 (free_shipping); free_shipping: optional | true |
on_sale | boolean | 할인 상품 (on_sale); on_sale: optional | true |
small_business | boolean | 소규모 업체 (small_business); small_business: 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})?$/latitude => longitude; longitude => latitudeNOT (page AND start)min_price <= max_pricequery OR shoprs: requireduule => NOT location AND NOT latitude AND NOT longitude
예시
curl --get "https://api.apihop.ai/v1/google-shopping/search" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "query=coffee grinder"Google Shopping: 상품 검색 (경량)
GET https://api.apihop.ai/v1/google-shopping/light
매개변수
| 필드 | 유형 | 제약 | 예시 |
|---|---|---|---|
query | string | 검색어; query: optional | coffee grinder |
country | string | 국가 또는 스토어 코드 (country); country: optional; ^[A-Za-z]{2}$ | - |
language | string | 언어; language: optional | - |
page | integer | 페이지 번호, 1부터; page: optional; min: 1; max: 1000 | 1 |
device | string | 기기; device: optional; desktop, mobile, tablet | desktop |
zero_trace | boolean | 응답 보관 안 함; zero_trace: optional | true |
location | string | 검색 위치; location: optional | - |
latitude | number | 위도; latitude: optional; min: -90; max: 90 | -90 |
longitude | number | 경도; longitude: optional; min: -180; max: 180 | -180 |
safe | string | 플랫폼 기본 필터 (safe); safe: optional; active, off | active |
uule | string | 플랫폼 기본 필터 (uule); uule: optional; UTF-8 bytes: 4096 | - |
google_domain | string | 지역 도메인 (google_domain); google_domain: optional | - |
start | integer | 결과 오프셋; start: optional; min: 0; max: 1000 | 0 |
shoprs | string | 플랫폼 기본 필터 (shoprs); shoprs: optional; UTF-8 bytes: 16384 | - |
min_price | number | 최저 가격 (min_price); min_price: optional; min: 0; max: 1000000000 | 0 |
max_price | number | 최고 가격 (max_price); max_price: optional; min: 0; max: 1000000000 | 0 |
sort_by | string | 정렬; sort_by: optional; 1, 2 | 1 |
free_shipping | boolean | 무료 배송 (free_shipping); free_shipping: optional | true |
on_sale | boolean | 할인 상품 (on_sale); on_sale: optional | true |
small_business | boolean | 소규모 업체 (small_business); small_business: 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})?$/latitude => longitude; longitude => latitudeNOT (page AND start)min_price <= max_pricequery OR shoprs: requireduule => NOT location AND NOT latitude AND NOT longitude
예시
curl --get "https://api.apihop.ai/v1/google-shopping/light" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "query=coffee grinder"Google Shopping: 상품 필터 조회
GET https://api.apihop.ai/v1/google-shopping/filters
매개변수
| 필드 | 유형 | 제약 | 예시 |
|---|---|---|---|
query | string | 검색어; query: REQUIRED | coffee grinder |
country | string | 국가 또는 스토어 코드 (country); country: optional; ^[A-Za-z]{2}$ | - |
language | string | 언어; language: optional | - |
location | string | 검색 위치; location: optional | - |
latitude | number | 위도; latitude: optional; min: -90; max: 90 | -90 |
longitude | number | 경도; longitude: optional; min: -180; max: 180 | -180 |
uule | string | 플랫폼 기본 필터 (uule); uule: optional; UTF-8 bytes: 4096 | - |
google_domain | string | 지역 도메인 (google_domain); google_domain: optional | - |
shoprs | string | 플랫폼 기본 필터 (shoprs); shoprs: optional; UTF-8 bytes: 16384 | - |
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})?$/latitude => longitude; longitude => latitudeuule => NOT location AND NOT latitude AND NOT longitude
예시
curl --get "https://api.apihop.ai/v1/google-shopping/filters" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "query=coffee grinder"Google Shopping: 상품 상세 정보 조회
GET https://api.apihop.ai/v1/google-shopping/product
매개변수
| 필드 | 유형 | 제약 | 예시 |
|---|---|---|---|
id | string | 검색 결과의 상품 또는 판매자 식별자 (id); id: optional | 17755277695162489284 |
query | string | 검색어; query: optional | sony wh-1000xm5 |
country | string | 국가 또는 스토어 코드 (country); country: optional; ^[A-Za-z]{2}$ | - |
language | string | 언어; language: optional | - |
zero_trace | boolean | 응답 보관 안 함; zero_trace: optional | true |
page_token | string | 최신 응답에서 복사한 상품 선택 토큰 (page_token); page_token: optional; UTF-8 bytes: 16384 | - |
offer_view | boolean | 다른 판매자 제안 (offer_view); offer_view: 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})?$/id XOR page_token: required; page_token => NOT query AND NOT country AND NOT language AND NOT offer_viewid: /^[0-9]{1,30}$/Tokens: copy the exact token from a fresh response; do not invent or reuse expired tokens
예시
curl --get "https://api.apihop.ai/v1/google-shopping/product" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "id=17755277695162489284" \
--data-urlencode "query=sony wh-1000xm5"Google Shopping: 몰입형 상품 상세 정보 조회
GET https://api.apihop.ai/v1/google-shopping/immersive-product
매개변수
| 필드 | 유형 | 제약 | 예시 |
|---|---|---|---|
page_token | string | 최신 응답에서 복사한 상품 선택 토큰 (page_token); page_token: REQUIRED; UTF-8 bytes: 16384 | gprod1.eyJ2IjoxLCJpZCI6IjE3NzU1Mjc3Njk1MTYyNDg5Mjg0IiwicSI6InNvbnkgd2gtMTAwMHhtNSIsImdsIjoidXMiLCJobCI6ImVuIn0 |
more_stores | boolean | 추가 스토어 제안 (more_stores); more_stores: optional | true |
next_page_token | string | 다음 페이지 토큰; next_page_token: optional; UTF-8 bytes: 24576 | - |
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})?$/page_token: copy immersive_product_page_token from a fresh search result; next_page_token requires more_stores = trueTokens: copy the exact token from a fresh response; do not invent or reuse expired tokens
예시
curl --get "https://api.apihop.ai/v1/google-shopping/immersive-product" \
-H "Authorization: Bearer YOUR_API_KEY" \
--data-urlencode "page_token=gprod1.eyJ2IjoxLCJpZCI6IjE3NzU1Mjc3Njk1MTYyNDg5Mjg0IiwicSI6InNvbnkgd2gtMTAwMHhtNSIsImdsIjoidXMiLCJobCI6ImVuIn0"응답 및 오류
원본 JSON과 숫자 정밀도를 유지합니다. 예시는 성공한 빈 결과입니다. HTTP 400: 입력; 401: 인증; 402: 잔액; 403: 접근; 405: 메서드; 429: 제한; 5xx: 서비스. X-Request-Id를 보관하세요.
{
"success": true,
"request_id": "example-request",
"data": {
"format": "json",
"content": {
"results": []
}
}
}