Google Search

Google Shopping Product

Returns one Google Shopping product's merchant offers, specifications, reviews and related products. Follow litescrape_product_link from a shopping result, or supply q with its product identifiers.

get/api/google/shopping/product

Request

  • Base URL: https://api.litescrape.com
  • URL: https://api.litescrape.com/api/google/shopping/product
  • Auth: one of:
    • HTTP bearer
    • API key in header zc-signature

Query parameters

qstring required
Example:coffee maker

Required search term from the shopping request that found the product. Google resolves the product page against it as well as the identifiers.

gpcidstring
Example:16418087637395758399

Product cluster ID from a shopping result. Required unless prds is supplied; follow litescrape_product_link for a ready-made request.

headline_offer_docidstring
Example:8780992468355455962

Optional headline offer document ID from the same shopping result; use with gpcid.

image_docidstring
Example:9437029998757085507

Optional image document ID from the same shopping result; use with gpcid.

prdsstring

Google product selector token from a previous response. Mutually exclusive with gpcid and its companion document IDs.

locationstring
Example:Austin, Texas

Human-readable search location, such as Austin, Texas. At most 63 UTF-8 bytes. Mutually exclusive with uule.

uulestring

Pre-encoded Google location token. Mutually exclusive with location.

google_domainstring
Example:google.com

Google domain used for the request.

glstring
Example:us

Two-letter country code used to localize results.

hlstring
Example:en

Language code such as en, en-GB, or de.

device'desktop' | 'tablet' | 'mobile'

Google device layout. Each device is served Google's real layout for it.

timeoutnumber

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.

Response

Successful response; one call consumed unless noted otherwise.

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.