Skip to main content

SerpApiGoogleShoppingTool

Description

Leverage SerpApiGoogleShoppingTool to query Google Shopping via SerpApi and retrieve product-oriented results.

Installation

Environment Variables

  • SERPAPI_API_KEY (required): API key for SerpApi. Create one at https://serpapi.com/ (free tier available).

Example

Code

Notes

  • Set SERPAPI_API_KEY in the environment. Create a key at https://serpapi.com/
  • See also Google Web Search via SerpApi: /en/tools/search-research/serpapi-googlesearchtool

Parameters

Run Parameters

  • search_query (str, required): Product search query.
  • location (str, optional): Geographic location parameter.