For AI agents: a documentation index is available at /llms.txt
Skip to main content

Scrape Google Shopping results

Query Google Shopping and pull product names, prices, and links out of the results page.

Prerequisites

Steps​

Use the Browserless MCP server to scrape product results from Google Shopping from any MCP-compatible AI agent (Claude Desktop, Cursor, Windsurf, ChatGPT, etc.).

One prompt that installs the Browserless MCP server and runs this example. Paste it into your AI agent.

1. Connect the MCP server

Send this prompt to your AI agent to install the Browserless MCP server:

Go to https://github.com/browserless/browserless-mcp/blob/main/install.md
and follow the instructions to install the Browserless MCP server
for my client.

2. Scrape Google Shopping

Use browserless_smartscraper. Google has bot detection and smartscraper handles it automatically.

Use the browserless_smartscraper tool to scrape product listings
from https://www.google.com/search?q=headphones&tbm=shop
and return the results as markdown

Next steps​

Was this page helpful?