Skip to main content
The Google Product API allows users to retrieve detailed product information from Google, with options to specify product ID, location, search type, and filters for offers and reviews.

Get Your API Key

Sign in at hasdata.com, go to your account settings, and copy your API key. All requests must include your key in the x-api-key header.

Request Cost and API Credits

Each request to the Google Product API consumes API Credits from your account balance.
  • Cost per request: 5 API Credits
  • Credits are deducted only for successful requests.
  • Your total available credits depend on your active plan.
You can use your credits across all HasData APIs. The same credit balance is shared platform-wide.
Unused credits do not roll over. Any remaining credits expire at the end of the current billing period.
To monitor your credit usage and remaining balance, sign in to your account dashboard at app.hasdata.com.

Make Your First Request

curl --request GET \
  --url 'https://api.hasdata.com/scrape/google/product?productId=6543846486633453096&location=Austin%2CTexas%2CUnited%20States' \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <your-api-key>'

API Parameters

ParameterDefault ValueRequiredDescription
productId6543846486633453096YesThe product ID to get results for.
locationAustin,Texas,United StatesNoGoogle canonical location for the search.
uule-NoThe encoded location parameter.
domain-NoGoogle domain to use. Default is google.com.
gl-NoThe two-letter country code for the country you want to limit the search to.
hl-NoThe two-letter language code for the language you want to use for the search.
searchType-NoParameter for fetching specific product information, such as ‘offers’, ‘specs’, or ‘reviews’.
start-NoThis parameter specifies the number of search results to skip and is used for pagination. For example, a value of 0 (default) indicates the first page of results, 10 refers to the second page, and 20 to the third page.

This parameter is applicable only when searchType=offers is specified. For reviews pagination use filter parameter.
filter-NoFilter parameter for refining search results. Supports various filters for offers and reviews. Multiple filters can be passed using a comma. The available filters are:

Offers filters:
- freeship:1: Show only products with free shipping.
- ucond:1: Show only used products.
- scoring:p: Sort by base price.
- scoring:tp: Sort by total price.
- scoring:cpd: Sort by current promotion deals (special offers).
- scoring:mrd: Sort by seller’s rating.

Reviews filters:
- rnum:{number}: Number of results (100 is max).