Get Google Shopping product price history
Get a Google Shopping product's daily price over the last months and the price range Google calls typical.
Headers
Get your API keyAPI key (`sfk_...`)
`productId` of a product from Google Shopping search results. It names the product and the search that found it.
min 1 chars · max 1024 chars
Endpoint-specific response payload.
`not_found` when the search that found the product no longer lists it.
one of: found, not_found
The `productId` asked for.
Google's catalog id for the product, when it has one.
Product title; null when not found.
Currency code, e.g. `USD`.
Low end of the price Google calls typical; null when it shows none.
High end of the price Google calls typical.
Daily lowest price over the period Google charts (up to about a year), oldest first. Empty when Google charts none for the product.
Day, `YYYY-MM-DD`.
Lowest price that day, in `currency`.
Price as Google writes it.
Metadata describing the request and billing outcome.
Unique request identifier for tracing this API call.
min 1 chars
Credits charged for this request.
≥ 0
Public API version that served the response.
one of: v1
Present, and `true`, only when the source couldn't be reached and this is the last good answer for the same request instead, up to 24 hours old. Absent on every live answer.
one of: true
When a stale answer (`stale: true`) was originally fetched (ISO 8601, UTC). Absent on every live answer.
Code example
curl "https://api.socialfetch.dev/v1/google-shopping/product/price-history?productId=eyJ2IjoxLCJrIjoiYzU1MzE3OTM0Njk1Njc1Njc0MzEiLCJxIjoic3RhbmRpbmcgZGVzayIsImdsIjoidXMiLCJobCI6ImVuIiwicyI6MCwidCI6IlZpdm8gRWxlY3RyaWMgU3RhbmQgVXAgRGVzayJ9" \
-H "x-api-key: YOUR_API_KEY"Responses
Price history of a Google Shopping product.