Sand AISand AI MAGI-2MAGI-2가 이제 SandBase에서 제공됩니다: 네이티브 오디오가 포함된 1080p 동영상지금 사용해 보기

Google Shopping Product Details

API 문서
https://api.sandbase.ai/v1/api/google-shopping/product

One Google Shopping product's merchant offers, prices, specifications, reviews and related products.

가격
$0.00015USD / 호출
메서드
POST
응답
JSON
매개변수
필수 1개 · 선택 사항 11개

Playground

입력
Required search term from the shopping request that found the product. Google resolves the product page against it as well as the identifiers.
Product cluster ID from a shopping result. Required unless prds is supplied; follow litescrape_product_link for a ready-made request.
Optional headline offer document ID from the same shopping result; use with gpcid.
Optional image document ID from the same shopping result; use with gpcid.
Google product selector token from a previous response. Mutually exclusive with gpcid and its companion document IDs.
Human-readable search location, such as Austin, Texas. At most 63 UTF-8 bytes. Mutually exclusive with uule.
Pre-encoded Google location token. Mutually exclusive with location.
Google domain used for the request.
Two-letter country code used to localize results.
Language code such as en, en-GB, or de.
Google device layout. Each device is served Google's real layout for it.
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 an
출력준비됨

출력이 여기에 표시됩니다

입력을 완료한 다음 Run을 클릭하세요.

API README

Google Shopping Product Details API

Returns details for one Google Shopping product, including its title, description, specifications and thumbnail images. You pass a search term q and a product cluster ID gpcid, usually with the companion document IDs from the same shopping result.

Use cases

  • Pull the specification list for a coffee maker to build a side-by-side comparison table.
  • Fetch the product description and images to fill a catalog page for an item found in a shopping search.
  • Check which product title and gpcid Google resolves for a search term and ID pair.
  • Collect thumbnail URLs for a product to show in a price-tracking dashboard.

Request

curl -X POST "https://api.sandbase.ai/v1/api/google-shopping/product" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"q": "coffee maker", "gpcid": "3753285529675071078", "headline_offer_docid": "2823574139643882398", "image_docid": "5002652757944012799"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
qstringYesRequired search term from the shopping request that found the product. Google resolves the product page against it as well as the identifiers.
devicestringNoGoogle device layout. Each device is served Google's real layout for it.
glstringNoTwo-letter country code used to localize results.
google_domainstringNoGoogle domain used for the request.
gpcidstringNoProduct cluster ID from a shopping result. Required unless prds is supplied; follow litescrape_product_link for a ready-made request.
headline_offer_docidstringNoOptional headline offer document ID from the same shopping result; use with gpcid.
hlstringNoLanguage code such as en, en-GB, or de.
image_docidstringNoOptional image document ID from the same shopping result; use with gpcid.
locationstringNoHuman-readable search location, such as Austin, Texas. At most 63 UTF-8 bytes. Mutually exclusive with uule.
prdsstringNoGoogle product selector token from a previous response. Mutually exclusive with gpcid and its companion document IDs.
timeoutnumberNoOptional 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 cal
uulestringNoPre-encoded Google location token. Mutually exclusive with location.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "offers": null,
  "product_result": {
    "description": "Kickstart your mornings with the invigorating aroma of freshly brewed coffee, th…",
    "gpcid": "3753285529675071078",
    "headline_offer_docid": "2823574139643882398",
    "image_docid": "5002652757944012799",
    "specifications": [
      {
        "name": "Capacity",
        "value": "10 cups"
      }
    ],
    "thumbnail": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcSE-TeJ2k_-GjVS30DtuitDDc…",
    "thumbnails": [
      "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:ANd9GcSE-TeJ2k_-GjVS30DtuitDDc…"
    ],
    "title": "Starfrit 10-Cup Drip Coffee Maker"
  }
}

Response fields

FieldMeaning
product_result.titleProduct name as Google Shopping shows it.
product_result.descriptionText description of the product. Long descriptions may be cut off in the sample.
product_result.gpcidProduct cluster ID of the product. It matches the gpcid you sent.
product_result.headline_offer_docid / product_result.image_docidDocument IDs for the headline offer and the product image. Use them with gpcid in later requests.
product_result.specifications[].nameName of a product attribute, such as Capacity or Depth.
product_result.specifications[].valueValue of that attribute, written with its unit, such as 10 cups or 7.97 in.
product_result.thumbnailURL of the main product thumbnail image.
product_result.thumbnails[]URLs of additional thumbnail images for the product.
offersMerchant offers for the product. This is null in this response, so no offers were returned for this request.

Notes

  • Get gpcid, headline_offer_docid and image_docid from one result of the same shopping search, for example with Google Shopping Search.
  • Send q with every request. It is the only required parameter.
  • Use either prds or gpcid with its companion IDs, not both. location and uule are also mutually exclusive.
  • The data is in outputs[0].data. The offers key can be null, so check it before you read it.

Pricing

$0.00015 per successful call. Failed calls are not charged. It is included in the daily free quota of each organization.

더 살펴보기

관련 API

모든 API
API가격응답
Google Shopping$0.00015 / 호출JSON
Google Shopping$0.01 / 호출JSON
Google Shopping$0.015 / 호출비동기 JSON

가이드:Best Google Shopping API in 2026: Pricing Compared

질문

FAQ

Google Shopping Product Details API를 어떻게 사용하나요?

Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/google-shopping/product에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.

Google Shopping Product Details API 비용은 얼마인가요?

호출당 $0.00015, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.

Google Shopping Product Details API는 어떤 매개변수를 받나요?

필수: q (string). 선택: gpcid (string), headline_offer_docid (string), image_docid (string), prds (string), location (string) 및 uule (string) 외 5개. 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.

Google Shopping Product Details API는 무엇을 반환하나요?

같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.

Google Shopping 개발자 계정이나 API 키가 필요한가요?

아니요. Google Shopping Product Details은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. Google Shopping API 액세스를 별도로 신청할 필요는 없습니다.