Scrapingdog

Google Product API

The Google Product API retrieves detailed Google Shopping product data including pricing, seller offers, specifications, and customer reviews. Each successful request costs 5 API credits.

Endpoint: https://api.scrapingdog.com/google_product

API Parameters

🔑

Authentication

  • api_key Required
    Your personal API key. Available on your dashboard

    Type: String
🔗

Request Parameters

  • product_id Required
    The id of the Google Shopping Product you want to get results for. It can be found from the URL: https://www.google.com/shopping/product/product_id

    Type: String
  • country Optional
    ISO code of the country from which you are seeking Google search results. Default: us

    Type: String
  • page Optional
    Page number for pagination (0 for first page, 1 for second, etc.). Used with online sellers and reviews only. Default: 0

    Type: String
  • filters Optional
    Parameter for filtering and sorting reviews and offers results

    Type: String
  • uule Optional
    Encodes a place with latitude and longitude into a value used in cookies, URLs, or HTTP headers

    Type: String
  • offers Optional
    Set to 1 to scrape offers results. Default: 0

    Type: String
  • specs Optional
    Set to 1 to scrape product specifications. Default: 0

    Type: String
  • reviews Optional
    Set to 1 to scrape product reviews. Default: 0

    Type: String

API Examples

Code to Integrate
curl "https://api.scrapingdog.com/google_product?api_key=APIKEY&product_id=2515929089120399478&country=us"
API Response
{
  "product_results": {
    "title": "Google Pixel 6 Pro 5G Unlocked (128GB) - Cloudy White",
    "prices": ["$899.00", "$888.00", "$609.99"],
    "rating": "3.7"
  },
  "online_sellers": [
    {
      "position": 1,
      "name": "store.google.com",
      "base_price": "$899.00",
      "total_price": "$968.67"
    },
    {
      "position": 2,
      "name": "www.visible.com",
      "base_price": "$888.00",
      "total_price": "$956.82"
    },
    {
      "position": 3,
      "name": "www.ebay.com",
      "base_price": "$609.99",
      "total_price": "$657.26"
    }
  ]
}