API Reference

Google Shopping Search

Search Google Shopping for product listings with prices and the merchant selling each one. Only paid listings carry the merchant's URL: Google links its organic tiles back at its own product panel rather than out to whoever is selling. 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*string

Search query for Google Shopping.

Length1 <= length
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. Falls back to Accept header when not provided.

timeout_ms?|

Request timeout in milliseconds.

Response Body

application/json

application/json

curl -X GET "https://api.webscraperapi.ai/v1/google_shopping_search?query=string"
null
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {}
  }
}