Shopping API

Google Shopping Scraping API for Product Search, Seller Offers, and Merchant URLs

Search Google Shopping, retrieve structured product details and seller offers, and resolve direct merchant destinations through three purpose-built API endpoints.

1,000 free credits
No credit card required

Use the same API key and credit balance across every ScrapeBadger API.

GET /v1/google/shopping/search
{
  "results": [
    {
      "product_id": "example_product_id",
      "title": "Example wireless headphones",
      "price": {
        "value": 89.99,
        "currency": "USD",
        "extracted": "$89.99"
      },
      "source": "Example Store",
      "rating": 4.6
    }
  ]
}

The product, merchant, price, and identifier above are illustrative and are not a live Google Shopping result.

Endpoints

Explore All 3 Google Shopping API Endpoints

Move from product discovery to seller comparison and merchant-destination enrichment with structured JSON responses.

  1. Search products
  2. Reuse the returned product data
  3. Retrieve details or resolve the merchant URL
GET/v1/google/shopping/search7 credits

Search Products

Search Google Shopping for a product query and receive organic product results, ads, available filters, and pagination metadata in structured JSON. The endpoint uses browser rendering because Shopping content is loaded dynamically.

Filter by country, language, minimum or maximum price, free shipping, and sale status. Sort results by ascending price, descending price, rating, or reviews, and use the start offset to request later result pages.

Parameters
qrequiredProduct search query.
Request
curl --get \
  'https://scrapebadger.com/v1/google/shopping/search' \
  --data-urlencode 'q=wireless headphones' \
  --data-urlencode 'gl=us' \
  --data-urlencode 'hl=en' \
  --data-urlencode 'max_price=150' \
  --data-urlencode 'sort_by=rating' \
  --data-urlencode 'free_shipping=true' \
  --data-urlencode 'start=0' \
  --header 'x-api-key: YOUR_API_KEY'
Response200 OK
{
  "pagination": {
    "current": 1,
    "next": "example-next-page-reference",
    "total_results": 120,
    "total_pages": 5,
    "page_no": {}
  },
  "results": [
    {
      "title": "Example wireless headphones",
      "position": 1,
      "product_id": "example_product_id",
      "price": {
        "value": 89.99,
        "currency": "USD",
        "extracted": "$89.99"
      },
      "old_price": "$109.99",
      "old_price_extracted": 109.99,
      "on_sale": true,
      "tag": "Sale",
      "rating": 4.6,
      "reviews": "4.6",
      "reviews_count": 2480,
      "source": "Example Store",
      "source_icon": "https://images.example.com/store-icon.png",
      "thumbnail": "https://images.example.com/product.png",
      "link": "https://www.google.com/shopping/product/example",
      "click_link": "https://scrapebadger.com/v1/google/shopping/product/click?title=Example%20wireless%20headphones&source=Example%20Store",
      "page_token": null,
      "delivery": "Free delivery",
      "return_policy": "30-day returns",
      "extensions": ["Noise cancelling"]
    }
  ],
  "filters": [
    {
      "name": "Price",
      "options": [
        {
          "label": "Under $100",
          "value": "example-filter-value",
          "type": "price",
          "aria_label": "Under $100"
        }
      ]
    }
  ],
  "ads": []
}
View Search Products documentation

What Can You Build With the Google Shopping Scraping API?

Product discovery and catalog research

Search product categories, brands, models, and attributes across country and language contexts. Capture structured titles, product IDs, prices, ratings, review counts, merchant sources, thumbnails, delivery or return text, available filters, and ads for downstream catalog analysis.

Search Products

Price, promotion, and seller comparison

Use Shopping search results to identify comparable listings, then open individual product records to compare available seller offers. Track displayed prices, former prices, sale indicators, shipping, tax, and total cost without treating a missing value as zero.

Search ProductsProduct Details

Shopping-result and merchandising intelligence

Measure how products and merchants appear for commercially relevant queries. Analyze result position, organic versus ad placement, ratings, review counts, badges, filters, delivery messaging, and return-policy text across consistent query, country, and language settings.

Search Products

Merchant destination enrichment

Turn a Shopping product result into a merchant-domain record or direct product destination for price-comparison tools, research dashboards, or catalog QA. Preserve the original title, source, query, and product ID so downstream systems can assess confidence when a source is not domain-mapped.

Resolve Merchant URL for a Product
Sign Up For Free

1,000 free credits · No credit card required

More Google Data APIs

Use the same ScrapeBadger account, API key, and credit balance to connect Shopping listings with deeper product pages, visual discovery, demand signals, and broader search visibility.

Why Choose ScrapeBadger?

Build Faster

Structured JSON responses remove browser automation, proxy orchestration, and HTML parsing from your roadmap. Make your first request in minutes and move from proof of concept to production without maintaining scrapers.

Scale Confidently

99.9% uptime SLA. Your data pipeline does not stop because Google changes a page, rotates an anti-bot challenge, or moves a result block. Monitoring, session management, browser infrastructure, and parsing are all us.

All Google Data on One Platform

Search, Maps, News, Hotels, Trends, Jobs, Shopping, Patents, Scholar, Images, Videos, Finance, AI Mode, Lens, Local, Shorts, Flights, Products, and Autocomplete — every Google surface under one API key.

Integrate Anywhere

RESTful API, SDK support, MCP, CLI, and no-code options. Use ScrapeBadger in an existing system or a new application with consistent authentication, structured JSON, and unified billing.

Integrate With Your Stack

Use ScrapeBadger through an official SDK, a standard API request, MCP, CLI, or the tools already in your workflow.

Python SDK

Build asynchronous data pipelines with typed responses, retry handling, and access to the complete Google API suite.

Node.js SDK

Add Google data to Node.js and TypeScript applications with type definitions and support for both ESM and CommonJS.

REST API

Connect from any backend or programming language using standard HTTP requests. Responses arrive as structured JSON that can be stored, transformed, or passed into another service.

One API Key

Access Search, Maps, News, Trends, Shopping, Scholar, Flights, and every other supported Google product with one ScrapeBadger API key and one credit balance.

MCP for AI Tools

Give compatible AI agents access to Google Search, Maps, News, Trends, Shopping, Scholar, Images, Flights, and more through ScrapeBadger's MCP server.

ScrapeBadger CLI

Run Google searches, inspect trends, collect local business data, and export results as JSON, CSV, Markdown, or terminal-friendly tables without building an application.

Trusted by Developers Worldwide

See why developers choose ScrapeBadger for reliable, structured web data.

We switched from the official Twitter API and cut our costs by 95%. The pagination is seamless, and we've never hit a rate limit. Best decision we made this year.

MC
Marcus Chen
Lead Data Engineer at DataFlow Analytics
2 weeks ago

The follower and engagement endpoints are incredibly detailed. We use it for influencer research and competitor analysis. Response times are sub-100ms consistently.

SM
Sarah Mitchell
Marketing Director at SocialPulse Agency
1 month ago

Started with the Apify actor, then moved to the API for more control. The 1,000 free credits were enough to build our MVP. Now processing 2M+ tweets monthly.

JR
James Rodriguez
Founder at TweetMetrics
3 weeks ago

Perfect for academic research. The community and trends endpoints give us data we couldn't get anywhere else. Documentation could use more examples, but support is responsive.

EW
Emily Watson
Research Scientist at Stanford NLP Lab
1 month ago

We monitor 50,000+ accounts for our clients. ScrapeBadger handles it without breaking a sweat. The bulk ID endpoints are a game-changer for large-scale monitoring.

AP
Alex Petrov
CTO at MediaMonitor Pro
2 weeks ago

The geo and trends endpoints power our location-based analytics. Setup took 10 minutes. Their Apify actors are also great for quick one-off scrapes.

LP
Lisa Park
Product Manager at Trendy AI
3 weeks ago
Pricing

Simple, transparent pricing

Start with pay-as-you-go credits (never expire) or save up to 64% with a monthly or annual subscription. Failed requests never consume credits, and every Google API endpoint is included on every plan.

Not Sure Which Plan Fits Your Needs? Calculate Your Cost and Find the Right Plan.

Choose an endpoint and enter your expected request volume. Google APIs use flat per-request credits, making usage easy to forecast. Failed requests cost 0 credits.

FAQ

Frequently asked questions

Everything you need to know about the Shopping API.

What data can I retrieve with the Google Shopping Scraping API?

Search Products returns separate organic results and ads, available filters, and pagination metadata. A result can include title, position, product ID, current and former price, sale state, tag, rating, review data, merchant source, images, Google link, merchant-resolution link, delivery text, return-policy text, and extensions. Product Details adds available description, brand, price range, specifications, images, and seller offers. Resolve Merchant URL returns a merchant destination and domain when resolution succeeds.

How do I move from a Shopping search result to product and seller details?

Call GET /v1/google/shopping/search with q , then retain the returned product_id . Pass that identifier to GET /v1/google/shopping/product , using the same gl and hl when you want a consistent market context. The product response can include a sellers array with each merchant's available price, original price, shipping, tax, total cost, rating, review count, logo, and link.

Which search filters, sorting options, and pagination controls are supported?

Use min_price and max_price for integer price filters, free_shipping=true to request free-shipping results, and on_sale=true to request sale results. The documented sort_by values are price_low , price_high , rating , and reviews . Use gl and hl for country and language, and start as a non-negative pagination offset. The response also contains Google's available filter groups and pagination metadata.

What is the difference between `link` , `click_link` , and `merchant_url` ?

In a Shopping search result, link is the returned product link and click_link is the ScrapeBadger enrichment URL for resolving a merchant destination. Calling that enrichment route returns merchant_url and merchant_domain when Google supplies a usable redirect. Resolution is best-effort: mapped merchants can be site-scoped, while an unmapped source falls back to a title search and may not match the original seller. merchant_url can be null .

How much does the Google Shopping Scraping API cost?

The live pricing feed currently prices Search Products at 7 credits per successful request. Product Details has no explicit route override and currently resolves to the Google base cost of 1 credit. Merchant URL Resolution costs 1 credit per call. There is no per-item charge, and failed requests cost 0 credits. Because pricing configuration can change, the page calculator always loads the current public pricing feed.

Start Building With the Google Shopping Scraping API

Use 1,000 free credits to search product listings, compare available seller offers, and enrich Shopping results with direct merchant destinations through three structured JSON endpoints.

No credit card required · Failed requests cost 0 credits

Disclaimer: ScrapeBadger is not affiliated with, endorsed by, or in any way officially connected with Google LLC or any of its subsidiaries or affiliates. Google and related trademarks are the property of their respective owners.