API Reference

Google Shopping Search

Search Google Shopping for product listings with prices, merchant info, and actual product URLs. Supports currency, language, and geographic targeting.

Use this to get product listings, prices, and merchant info from Google Shopping. Great for price monitoring, competitive analysis, and product research.

5 credits per request.

Quick example

curl -G "https://api.webscraperapi.ai/v1/google_shopping_search" \
  -H "Authorization: Bearer $WEBSCRAPERAPI_API_KEY" \
  --data-urlencode "query=sony wh-1000xm5" \
  --data-urlencode "currency=USD" \
  --data-urlencode "output=json"

Use the country and currency parameters to see regional pricing. Combine with language to get localized product titles.

Full API reference

GET
/v1/google_shopping_search

Query Parameters

query?|

Search query for Google Shopping.

domain?|

Google domain TLD (e.g., 'com', 'cl', 'uk').

locale?|

Interface language in IETF BCP 47 (e.g., 'en-US').

geo_location?|

Geographic location (e.g., 'Brazil', 'Germany').

language?|

Results language in ISO 639-1 (e.g., 'en', 'es').

currency?|

ISO 4217 currency code (e.g., 'USD', 'EUR').

prompt?|

Optional prompt for LLM processing.

render_js?|

Whether to render JavaScript.

output?|

Output format.

Default"markdown"
timeout_ms?|

Request timeout in milliseconds.

Response Body

application/json

application/json

curl -X GET "https://api.webscraperapi.ai/v1/google_shopping_search"
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}