Get a Google Shopping product
litescrape.google.shopping.productReturns one Google Shopping product's merchant offers, specifications, reviews and related products
- Price
- $0.00015/success제공업체 원가
- Success rate
- 58.3%Last 30 days · 124 calls
- Latency p50
- 5.6 sp95 18 s
- Last verified
- 2026. 9. 29.Verified working
GEThttps://toolswitch.dev/v1/tools/litescrape.google.shopping.product?q=coffee+maker&gpcid=3753285529675071078&image_docid=5002652757944012799&headline_offer_docid=2823574139643882398Preview- Uses platform quota
- Synchronous response
- Reads public data
파라미터
| 파라미터 | 유형 | 필수 | 설명 | 예시 |
|---|---|---|---|---|
| 쿼리 파라미터 | ||||
q | 문자열 | 필수 | Required search term from the shopping request that found the product. Google resolves the product page against it as well as the identifiers. | coffee maker |
gl | 문자열 | 선택 | Two-letter country code used to localize results. | us |
hl | 문자열 | 선택 | Language code such as en, en-GB, or de. | en |
prds | 문자열 | 선택 | Google product selector token from a previous response. Mutually exclusive with gpcid and its companion document IDs. | |
uule | 문자열 | 선택 | Pre-encoded Google location token. Mutually exclusive with location. | |
gpcid | 문자열 | 선택 | Product cluster ID from a shopping result. Required unless prds is supplied; follow litescrape_product_link for a ready-made request. | 16418087637395758399 |
device | 문자열 | 선택 | Google device layout. Each device is served Google's real layout for it. | |
timeout | 숫자 | 선택 | Optional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the call is not billed and returns 503 request_deadline_exceeded with retryable=true and a request ID. Omit to retain the standard server deadline. | |
location | 문자열 | 선택 | Human-readable search location, such as Austin, Texas. At most 63 UTF-8 bytes. Mutually exclusive with uule. | Austin, Texas |
image_docid | 문자열 | 선택 | Optional image document ID from the same shopping result; use with gpcid. | 9437029998757085507 |
google_domain | 문자열 | 선택 | Google domain used for the request. | google.com |
headline_offer_docid | 문자열 | 선택 | Optional headline offer document ID from the same shopping result; use with gpcid. | 8780992468355455962 |
- 쿼리 파라미터
q문자열필수Required search term from the shopping request that found the product. Google resolves the product page against it as well as the identifiers.
예시:
coffee makergl문자열선택Two-letter country code used to localize results.
예시:
ushl문자열선택Language code such as en, en-GB, or de.
예시:
enprds문자열선택Google product selector token from a previous response. Mutually exclusive with gpcid and its companion document IDs.
uule문자열선택Pre-encoded Google location token. Mutually exclusive with location.
gpcid문자열선택Product cluster ID from a shopping result. Required unless prds is supplied; follow litescrape_product_link for a ready-made request.
예시:
16418087637395758399device문자열선택Google device layout. Each device is served Google's real layout for it.
timeout숫자선택Optional budget for the entire request in seconds, measured from gateway receipt until the response is ready to send. Includes admission, queueing and settlement. Must be greater than 0 and at most 90. On expiry, the call is not billed and returns 503 request_deadline_exceeded with retryable=true and a request ID. Omit to retain the standard server deadline.
location문자열선택Human-readable search location, such as Austin, Texas. At most 63 UTF-8 bytes. Mutually exclusive with uule.
예시:
Austin, Texasimage_docid문자열선택Optional image document ID from the same shopping result; use with gpcid.
예시:
9437029998757085507google_domain문자열선택Google domain used for the request.
예시:
google.comheadline_offer_docid문자열선택Optional headline offer document ID from the same shopping result; use with gpcid.
예시:
8780992468355455962
코드 예제
$TOOLSWITCH_KEY를 콘솔에서 생성한 키로 바꾸세요.
curl -X GET 'https://toolswitch.dev/v1/tools/litescrape.google.shopping.product?q=coffee+maker&gpcid=3753285529675071078&image_docid=5002652757944012799&headline_offer_docid=2823574139643882398' \
-H "X-Toolswitch-Key: $TOOLSWITCH_KEY"import os
import requests
response = requests.request(
"GET",
"https://toolswitch.dev/v1/tools/litescrape.google.shopping.product?q=coffee+maker&gpcid=3753285529675071078&image_docid=5002652757944012799&headline_offer_docid=2823574139643882398",
headers={"X-Toolswitch-Key": os.environ["TOOLSWITCH_KEY"]},
)
response.raise_for_status()
print(response.text)const response = await fetch("https://toolswitch.dev/v1/tools/litescrape.google.shopping.product?q=coffee+maker&gpcid=3753285529675071078&image_docid=5002652757944012799&headline_offer_docid=2823574139643882398", {
method: "GET",
headers: {
"X-Toolswitch-Key": process.env.TOOLSWITCH_KEY ?? "",
},
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
console.log(await response.text());게이트웨이 API는 미리보기 버전이며 URL과 인증 방식이 변경될 수 있습니다. 예제 매개변수는 샘플 데이터입니다. 호출 요금은 $0.00015/success이며 서비스 수수료가 포함되어 있습니다.