Google Shopping offers and price history

GET https://api.api.sh/google/v1/shopping/offers
2 credits / call search & seo try it in the playground →

The stores' offers Google Shopping shows for one product: store, price, old price, discount, availability, delivery, returns, store rating and link; plus Google's price insight and the 12-month price history per store (the days the price changed, or every day with history=daily). Use the ids /google/v1/shopping returns.

Every response includes credits_used: the credits this call cost.

Parameters

nametypedescription
catalog_id string Product catalog id (from /google/v1/shopping). Example: 17755277695162489284
product_id string Product id (from /google/v1/shopping), with offer_id and q when there is no catalog_id.
offer_id string Offer id (from /google/v1/shopping).
url string A Google Shopping product link holding these ids.
q string The search the product came from (helps for product_id-only lookups).
history changes | daily | none Price history: changes (default, the days a price changed), daily, none.
language string Language (default en).
country string Two-letter country (default us).

Every endpoint also takes fresh, raw, fields (see lean responses and caching).

Example

curl "https://api.api.sh/google/v1/shopping/offers?catalog_id=17755277695162489284" \
  -H "x-api-key: $APISH_KEY"

Response

A JSON object with the fields described above, plus raw (the source's own data), cached, fetched_at and credits_used. Errors return {"success": false, "error": "…"} with the HTTP status (see errors). A lookup that ran but found nothing (404) costs the price above; refused calls and errors on our side are free (what's charged).

The fastest way to see the full response is the playground: it runs this endpoint with your account and shows the exact JSON.