Google Shopping API

Google Shopping Search API

Search Google Shopping by keyword and get up to 10 product offers (title, price, store, rating, and link), localized by country and language.

$18.00/1k req, pay per request, no subscription.

What the API returneditems[0]
{
"title": "Apple AirPods Pro 2 with USB-C",
"url": "https://www.google.com/shopping/product/11029384756?q=airpods",
"image": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:airpods-pro-2-usb-c",
"productId": "11029384756",
"seller": "Best Buy",
"brand": "Apple",
"price": 219.99,
"priceText": "$219.99",
... 6 more fields
}
Uptime
97.65%
30d · 469 calls
Requests
473
30d · weekly, last 12 wks
Response
8.3s
median · 30d

Pricing and providers

Google Shopping Search API pricing: one API, 2 interchangeable providers

The cheapest provider serves first. If it fails, the next one takes over in the same call.

You pay
$180.00
$18.00/1k req, only for what you use. No monthly plan.
Your first 5 requests are free with the $0.10 starting balance.

Call it

Get Google Shopping search in one request

import os, requests

res = requests.post(
    "https://api.getanyapi.com/v1/run/google_shopping.search",
    headers={"Authorization": f"Bearer {os.environ['ANYAPI_KEY']}"},
    json={
        "query": ""
    },
)
print(res.json())
Open in
Get a free key
Sample response

This sample shows 17 of 18 fields. See every field

{
  "found": true,
  "data": {
    "items": [
      {
        "title": "Apple AirPods Pro 2 with USB-C",
        "url": "https://www.google.com/shopping/product/11029384756?q=airpods",
        "image": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:airpods-pro-2-usb-c",
        "productId": "11029384756",
        "seller": "Best Buy",
        "brand": "Apple",
        "price": 219.99,
        "priceText": "$219.99",
        "currency": "USD",
        "listPrice": 249,
        "listPriceText": "$249.00",
        "discountPercent": "12% OFF",
        "rating": 4.8,
        "reviewsCount": 15234
      },
      {
        "title": "Apple AirPods 4",
        "url": "https://www.google.com/shopping/product/11029384812?q=airpods",
        "image": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:airpods-4",
        "productId": "11029384812",
        "seller": "Target",
        "brand": "Apple",
        "price": 129,
        "priceText": "$129.00",
        "currency": "USD",
        "listPrice": 0,
        "listPriceText": "",
        "discountPercent": "",
        "rating": 4.7,
        "reviewsCount": 8921
      },
      {
        "title": "Apple AirPods Max",
        "url": "https://www.google.com/shopping/product/11029384930?q=airpods",
        "image": "https://encrypted-tbn0.gstatic.com/shopping?q=tbn:airpods-max",
        "productId": "11029384930",
        "seller": "Walmart",
        "brand": "Apple",
        "price": 449,
        "priceText": "$449.00",
        "currency": "USD",
        "listPrice": 549,
        "listPriceText": "$549.00",
        "discountPercent": "18% OFF",
        "rating": 4.6,
        "reviewsCount": 3021
      }
    ]
  }
}

Full parameter and response reference - every field, type, and example for this endpoint.

Reference

One request, one response shape.

Every field you send and every field you get back, each with a real example.

Last verified 2026-10-31 · uptime and latency measured over 30d

Request body

JSON, posted to this endpoint.

  • querystring

    airpods

    Product name, brand, or keywords to search for (e.g. "Nike running shoes").

  • conditionenum

    NEW

    Only return products in this condition (e.g. "USED"); defaults to any condition.

  • countrystring

    us

    ISO 3166-1 alpha-2 country code for localized results (e.g. "us", "gb", "de").

  • languagestring

    en

    ISO 639-1 language code for results (e.g. "en", "es", "fr").

  • limitinteger

    3

    Maximum number of results to return (1-10, default 10).

  • requireFieldsarray

    Optional; omit it and routing is unchanged, with the cheapest source serving. Name the output fields this request must be able to return, for example `listPriceText` or `discountPercent`, and it is served only by a source that returns every one of them. Fields you do not name are still returned whenever the serving source has them. This can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a product that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge.

  • sortByenum

    BEST_MATCH

    Sort order for results (e.g. "LOWEST_PRICE"); defaults to relevance.

You send. A small JSON body. The values shown are examples to replace with your own.

Response

JSON, one example value per field.

each itemdata.items[]

Matching Google Shopping product offers. Populated whenever the provider has data for the entity.

  • brandstringcan require

    Apple

    Product brand; empty when not reported.

  • currencystringcan require

    USD

    Price currency code, e.g. "USD"; empty when not reported.

  • discountPercentstringcan require

    12% OFF

    Discount label when on sale, e.g. "23% OFF"; empty otherwise.

  • imagestring

    https://encrypted-tbn0.gstatic.com/shopping?q=tbn:airpods-pro-2-usb-c

    Primary product image URL. Populated whenever the provider has data for the entity.

  • listPricenumber

    249

    Pre-discount list price as a numeric amount; 0 when not on sale or reported only as text.

  • listPriceTextstringcan require

    $249.00

    Pre-discount list price as displayed, e.g. "$130"; empty when not applicable.

  • pricenumber

    219.99

    Current price as a numeric amount; 0 when the lane reports price only as text (see priceText).

  • priceTextstringcan require

    $219.99

    Current price as displayed, e.g. "$99.99"; empty when the lane reports a numeric price instead.

  • productIdstring

    11029384756

    Provider product identifier.

  • ratingnumber

    4.8

    Average product rating, 0-5; null when unrated.

  • reviewsCountinteger

    15234

    Number of ratings / reviews; null when none reported.

  • sellerstring

    Best Buy

    Store / seller name offering the product, e.g. "Target".

  • titlestring

    Apple AirPods Pro 2 with USB-C

    Product title. Populated whenever the provider has data for the entity.

  • urlstring

    https://www.google.com/shopping/product/11029384756?q=airpods

    Google Shopping product page URL (query retained; it encodes the product identity). Populated whenever the provider has data for the entity.

top level
  • foundboolean

    true

    True when the search returned at least one product offer.

  • reason"not_found"

    Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.

You get back. Named, typed fields in the same shape whichever source answers.

FAQ

About the Google Shopping Search API

The AnyAPI Google Shopping Search API returns Google Shopping search data as normalized JSON from one POST call to /v1/run/google_shopping.search. Search Google Shopping by keyword and get up to 10 product offers (title, price, store, rating, and link), localized by country and language. AnyAPI routes each request across 2 sources and falls back automatically when one fails. It costs from $18 per 1,000 requests, in US dollars with no subscription and no monthly minimum. Over the last 30 days, 97.7% of Google Shopping search calls through AnyAPI succeeded, with a median response time of 8.3 seconds across 469 measured calls.

It costs from $18 per 1,000 requests, in US dollars with no subscription and no monthly minimum. You fund one USD wallet and each call draws it down. Some failed wallet-funded requests incur processing charges that we pass through at cost, with no markup; the error response shows the amount charged.

Search Google Shopping by keyword and get up to 10 product offers (title, price, store, rating, and link), localized by country and language. The response is normalized JSON with the same envelope every AnyAPI endpoint returns, so parsing a second endpoint is a change of URL and nothing else.

Over the last 30 days, 97.7% of Google Shopping search calls through AnyAPI succeeded, with a median response time of 8.3 seconds across 469 measured calls. These are AnyAPI's own measurements of traffic through the gateway, recomputed continuously, not a published service-level target.

Yes. A new AnyAPI account starts with $0.10 of free balance and no card required, which covers 5 Google Shopping Search calls at $0.018 each.

AnyAPI asks the next of its 2 sources in the same request, cheapest first, so one source going down does not fail your call.

Send a POST request to https://api.getanyapi.com/v1/run/google_shopping.search with your AnyAPI key in an "Authorization: Bearer" header and the input as a JSON body. The same key and the same wallet work on every AnyAPI endpoint.

No. You add US dollars to one prepaid AnyAPI balance and each request draws it down. There is no monthly plan and no minimum, and the same balance pays for every AnyAPI endpoint.

Yes. Install @getanyapi/sdk from npm for TypeScript or getanyapi from pip for Python. Both call every AnyAPI endpoint with the same key, and any HTTP client works too.

Yes. An agent can connect to the AnyAPI MCP server at https://api.getanyapi.com/mcp, or create its own free-trial key with one unauthenticated POST to https://api.getanyapi.com/agent/signup and call this endpoint over HTTP.