Shopping Merchant URL Enrichment Google has removed direct merchant links from organic Shopping HTML — every click in the real Shopping UI now routes through a JavaScript handler. The /v1/google/shopping/product/click endpoint materializes the direct merchant URL for any product title on demand. ## How It Works 1. Call /v1/google/shopping/search?q=laptop — you get product listings with title, price, source merchant, rating, thumbnail, and a per-product click_link.
- Call the product’s
click_link(or construct/v1/google/shopping/product/click?title=...&source=...) — the endpoint uses Google’s “I’m Feeling Lucky” redirect (btnI=1), scoped to the card’ssourcemerchant via asite:operator, to return the direct product page URL. Thesource-scopedsite:query guarantees the resolved URL matches the exact merchant whose price was shown in the card, not a generic top organic match. ## Two-Step Example
Response Shape
- Brand stores: HP, Dell, Lenovo, Apple, Razer, Asus, Acer, HyperX, MSI, Samsung For sources not in the map, the endpoint falls back to a bare-title query (no
site:scope) which still resolves a valid merchant URL — just not necessarily the one whose price was shown. ## Pricing The endpoint uses a lightweight HTTP request, not a browser. Per-call credit cost is configured in the admin panel and returned live fromGET /public/pricing— query that endpoint for the authoritative current rate. ## Why This Exists Google’s organic Shopping HTML doesn’t contain merchant URLs at all — clicking a product card opens a JavaScript modal that fetches merchant info only when you actually click “Visit site”. Attempting to capture that flow in a single synchronous scrape is impractical (~60-90s per query for 50 products). Instead, the ScrapeBadger Shopping click endpoint exposes merchant URL resolution as a per-product on-demand call — you only pay for enrichment when you actually need the link.

