Skip to main content
Glama

google_shopping

Scrape Google Shopping search results for ads, product listings, prices, and filter facets. Supports pagination and product filtering via helper IDs.

Instructions

Scrapes Google Shopping search results including ads, shopping listings, and available price/filter facets. Each successful request costs 10 credits. [Credits: 10 credits per successful request] Notes: Pagination via page (0-indexed). Product filtering is a two-step flow: read filters[].options[].scrapingdog_link from a response and reuse the shoprs/updated query values it encodes to apply/stack/remove filters. Each shopping result item includes scrapingdog_immersive_product_link, a ready-to-call URL for the Google Immersive Product API (contains the page_token). Returns: { filters: [{type, options: [{text, tbs}]}], ads: [{title, link, source, price, thumbnail}], shopping_results: [{title, product_link, product_id, scrapingdog_immersive_product_link, source, price, extracted_price, old_price_extracted, rating, reviews, extensions[], thumbnail, position}] }

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lrNoLimit search to one or multiple languages, formatted as lang_{language code}, e.g. lang_us.
tbsNoAdvanced parameter ('to be searched') to filter search results.
htmlNoReturn the response as raw HTML instead of JSON. (default: false)
nfprNoSet 1 to exclude auto-corrected/misspelled-query results, 0 to include them. (default: 0)
pageNoPage number of Google search results. 0 = first page, 1 = second page, etc. (default: 0)
safeNoAdult content filter. Allowed values: active, off. (default: off)
uuleNoEncoded parameter specifying the geographic location/locale to tailor results to, e.g. w+CAIQIFJlbGF5IFN0YXRlcw==.
queryYesAny Google query or a complete Google URL. Example: query=shoes
domainNoGoogle domain to obtain local results, e.g. google.co.in for India, google.co.uk for the UK. (default: google.com)
shoprsNoHelper ID used to apply search filters. Must be used together with an updated query (q) that includes the selected filter name alongside the original query, e.g. 'sugar free Coffee'. Obtain the value from filters[index].options[index].scrapingdog_link in the JSON response. Apply multiple filters by following each scrapingdog_link in sequence; each new request retains previously applied filters. Remove a filter by using its associated scrapingdog_link.
countryNoTwo-letter country code for the Google Shopping search (e.g. us, uk, fr). (default: us)
languageNoLanguage of the results, e.g. en, es, fr, de. (default: en)
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, description carries full burden; it discloses credit cost, pagination, filter flow, and return structure effectively.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Description is front-loaded with purpose and includes necessary notes, though could be slightly more concise.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Covers return structure, pagination, filtering, and credits. No output schema, but provides sufficient detail for a complex scraping tool.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so baseline is 3. Description adds some context for shoprs and page but doesn't significantly enhance meaning beyond schema.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states it scrapes Google Shopping search results including ads, listing, and filter facets. It distinguishes from siblings like bing_shopping or google_search by focusing on Google Shopping.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Provides pagination guidance and two-step filter flow, but lacks explicit alternatives or when-not-to-use scenarios.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/alessandrobenigni/ScrapingDog-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server