Google Product Offers
The stores that sell a product with their prices, answered as the document: `search_metadata`, `search_parameters` (with `page`), `search_information` (`total_offers`: the number listed, not Google's total), `product` and `offers`.
The stores that sell a product with their prices, answered as the document: search_metadata,
search_parameters (with page), search_information (total_offers: the number listed, not
Google's total), product and offers. The viewer lists 4-5 offers; the rest are behind its
"More stores" button, which is not pressed, so only page 1 is offered (2 and up is a 400). Not
answered: delivery_price, total_price, payment_methods.
X-API-Key<token>Your API key.
cancel_token?stringA name you make up for this request (a UUID is fine), so you can later GET /v1/cancel
with it. Only you know it, so only you can cancel. Use a new one for every request, retries included: a cancelled token stays cancelled for a few minutes.
1 <= length <= 128product_token*stringThe product_token of a google_shopping result.
gl?stringCountry, two letters. Default: the token's.
hl?stringLanguage. Default: the token's.
location?stringThe place. Default: the token's. Not with uule.
uule?stringGoogle's own place string. Not with location.
page?integerOnly 1; 2 and up is a 400.
1link?stringresolved follows /goto redirects to the merchant.
"raw""raw""resolved"The offers, as the document. When the page could not be parsed, the usual envelope.
application/json- response
The first three keys of every parsed 200 (the answer is the document itself, no success/data
envelope): what the search was (search_metadata), what it asked (search_parameters), the
parser's own search_information ({} when it has none). The engine's blocks follow, at the same
level. An engine whose answer is a list puts it under results.
search_metadata*search_parameters*The request's own fields as sent, engine first, without cancel_token.
search_information*The parser's own, e.g. yelp_search's; otherwise {}.
product?offers?array<>[key: string]?anycurl -X GET 'https://api.justserp.com/v1/google/product/offers?product_token=eyJxIjoi...&gl=us&hl=en'{ "search_metadata": { "id": "string", "status": "Success", "created_at": "string", "request_url": "string", "html_url": "string" }, "search_parameters": {}, "search_information": {}, "product": { "product_id": "string", "title": "string", "link": "string", "brand": "string" }, "offers": [ { "position": 0, "title": "string", "link": "string", "price": "string", "extracted_price": 0, "original_price": "string", "extracted_original_price": 0, "rating": 0, "details": [ "string" ], "merchant": { "name": "string", "favicon": "string" } } ]}Google Product Page GET
The product alone, by its token, catalog id or `prds`: answered as the document with `product` (id, title, link, token, brand, description, pictures).
Google Product Specs GET
A product's attributes (brand, color, weight...), answered as the document with `product` and `specifications`.