APIs / Google Shopping / Search

Google Shopping: Search

Search from Google Shopping as JSON. 1 credit per successful call.

GET /v1/google-shopping/search

Parameters

Send parameters in the query string.

ParameterTypeRequiredAllowed values
qstringRequiredUp to 500 characters
glstringOptionalUp to 2 characters
hlstringOptionalUp to 2 characters
locationstringOptionalUp to 63 characters
uulestringOptionalUp to 500 characters
startintegerOptionalAny
devicestringOptionaldesktop, mobile, tablet
small_businessbooleanOptionalAny
shoprsstringOptionalUp to 2,000 characters

Example request

Google Shopping
GET/v1/google-shopping/search?q=iphone+15&gl=us&hl=en
{
  "search_parameters": {
    "q": "iphone 15",
    "gl": "us",
    "hl": "en",
    "start": 0,
    "device": "desktop"
  },
  "shopping_results": [
    {
      "position": 1,
      "category": "Popular products",
      "title": "Apple iPhone 15",
      "source": "Walmart - Wireless Source",
      "rating": 4.7,
      "reviews": 45000,
      "extensions": [
        " & more"
      ],
      "product_token": "eyJlaSI6InZaeUE0IiwicHJvZHVjdGlkIjoiNDI2MzYwNjAxNzQxMTU2NTk5MiIsImNhdGFsb2dpZCI6IjQwNjgzNTQwNDI3OTIyNjkzOCIsImhlYWRsaW5lT2ZmZXJEb2NpZCI6IjkwMTI3NzUzOTM1NjQzMzc3MzIiLCJpbWFnZURvY2lkIjoiMTE1NjE0NTY3NjY5MDA5Mzc3NTMiLCJyZHMiOiIiLCJncGNpZCI6IjY2…",
      "rank_absolute": 1,
      "product_id": "4263606017411565992",
      "link": "https://www.google.com/shopping/product/4263606017411565992",
      "price": "$393.73",
      "extracted_price": 393.73,
      "thumbnail": "data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
    },
    {
      "position": 2,
      "category": "Popular products",
      "title": "Apple iPhone 15 128GB",
      "source": "Best Buy",
      "rating": 4.4,
      "reviews": 94,
      "extensions": [
        " & more"
      ],
      "product_token": "eyJlaSI6InZaeUE0IiwicHJvZHVjdGlkIjoiNDM3OTAzMjYyMzYzODUyOTYzMSIsImNhdGFsb2dpZCI6Ijk0MDI2NTQ2OTYyNDQ5MzAwNzMiLCJoZWFkbGluZU9mZmVyRG9jaWQiOiIxODA3MzUyNjA3OTAxNzkzNzQ3MyIsImltYWdlRG9jaWQiOiI2MDIzMDEzODcyOTA3MTc0NDMiLCJyZHMiOiIiLCJncGNpZCI6IjQx…",
      "rank_absolute": 1,
      "product_id": "4379032623638529631",
      "link": "https://www.google.com/shopping/product/4379032623638529631",
      "price": "$441.00",
      "extracted_price": 441,
      "thumbnail": "data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
    },
    {
      "position": 3,
      "category": "Popular products",
      "title": "Apple iPhone 15 - Black - 128GB (with 36 monthly payments + plan)",
      "source": "T-Mobile",
      "rating": 4.7,
      "reviews": 45000,
      "rank_absolute": 1,
      "product_id": "8345423428288821281",
      "link": "https://www.google.com/shopping/product/8345423428288821281",
      "price": "$17.50/mo",
      "extracted_price": 17.5,
      "thumbnail": "data:image/gif;base64,R0lGODlhAQABAIAAAP///////yH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="
    }
  ],
  "pagination": {
    "current_page": 1,
    "start": 0,
    "next_start": 10
  }
}
200 OKJSONX-Credits-Used: 1
Recorded from our API and shortened.

Run this endpoint in the playground with your own parameters. 1 credit per successful call; failed calls are free.

Response fields

The response has these 3 fields, read from a recorded call. The recording leaves out fields that were empty, so a live call can return more.

FieldType
search_parametersobject
shopping_resultsobject[]
paginationobject