Google
Google shopping API
Compare product prices and sellers on Google Shopping by country. Call the Google shopping API for JSON. 2 credits per call.
POST
Compare product prices and sellers on Google Shopping by country
Compares product prices and sellers on Google Shopping by country.
Request
query is required.
Response
If successful, the response body contains the standard envelope.data.results[] contains the products with price and seller, and filters lists the choices Google offers to narrow them.
The following example is a real response, truncated: each list shows one item and long strings are cut.
For every field, see the response schema on this page.
Optional parameters
Billing
Each successful request consumes 2 credits, regardless of the number of items returned. Requests that fail, or that return no items, are not billed.Pagination
Results are paginated. To retrieve the next page, incrementpage. An empty data.results indicates the last page. The maximum value of page is 20.
Related methods
- Google Shopping: Accepts a
filterfromfilters. Compares product prices and sellers on Google Shopping by country. - Amazon search: Accepts a product’s
titleasquery. Searches Amazon products.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
application/json
Required string length:
1 - 400A filter from a previous response's filters. Its page already holds earlier choices; a selected one removes it.
Required string length:
1 - 4000ISO 3166-1 alpha-2 country code, e.g. us. Any case is accepted.
Pattern:
^[A-Za-z]{2}$Two-letter language code like en or pt. Any case is accepted.
Pattern:
^[A-Za-z]{2}$Page number, starting at 1.
Required range:
1 <= x <= 20