API di Google Shopping

Google Shopping Ricerca API

Cerca su Google Shopping per parola chiave e ottieni fino a 10 offerte di prodotto (titolo, prezzo, negozio, valutazione e link), localizzate per paese e lingua.

16,00 USD/1k richieste, paghi a richiesta, nessun abbonamento.

airpods - Google Shopping
google.com/search?q=airpods&tbm=shop
Google
airpods
AllShoppingImagesVideosNewsWeb

Apple AirPods Pro 2 with USB-C

$219.99$249.00

12% OFF

Best Buy

★ 4.8 (15,234)

Apple AirPods 4

$129.00

Target

★ 4.7 (8,921)

Apple AirPods Max

$449.00$549.00

18% OFF

Walmart

★ 4.6 (3,021)

Cosa ha restituito l'APIitems[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 campi in più
}
Disponibilità
99,33%
30d · 2075 chiamate
Richieste
2079
30 g · settimanale, ultime 12 sett.
Risposta
5,7s
mediana · 30d

Chiamalo

Ottieni Google Shopping Ricerca in una sola richiesta

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": "airpods",
        "country": "us",
        "language": "en",
        "limit": 10
    },
)
print(res.json())
Apri in
Risposta di esempio

Questo esempio mostra 17 campi su 18. Vedi tutti i campi

{
  "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
      }
    ]
  }
}

Riferimento completo di parametri e risposta - ogni campo, tipo ed esempio per questo endpoint.

Riferimento

Una richiesta, una sola forma di risposta.

Ogni campo che invii e ogni campo che ricevi, ciascuno con un esempio reale.

Ultima verifica 2026-11-21 · disponibilità e latenza misurate su 30d

Corpo della richiesta

JSON, inviato a questo endpoint.

  • querystring

    airpods

    Nome del prodotto, brand o parole chiave da cercare (es. "Nike running shoes").

  • conditionenum

    NEW

    Restituisci solo i prodotti in questa condizione (es. "USED"); il valore predefinito è qualsiasi condizione.

  • countrystring

    us

    Codice paese ISO 3166-1 alpha-2 per risultati localizzati (es. "us", "gb", "de").

  • languagestring

    en

    Codice lingua ISO 639-1 per i risultati (es. "en", "es", "fr").

  • limitinteger

    3

    Numero massimo di risultati da restituire (1-10, predefinito 10).

  • requireFieldsarray

    Facoltativo; se lo ometti l'instradamento resta invariato, e serve la fonte più economica. Indica i campi di output che questa richiesta deve poter restituire, per esempio `listPriceText` o `discountPercent`, e verrà servita solo da una fonte che li restituisce tutti. I campi che non indichi vengono comunque restituiti ogni volta che la fonte che serve li ha. Può far salire il prezzo: quando la fonte più economica non può restituire un campo indicato, serve una fonte più cara, e ti viene quotato e addebitato il suo prezzo. Un campo indicato può comunque mancare su un prodotto che davvero non lo ha. Indicare una combinazione che nessuna singola fonte restituisce insieme viene rifiutato come input non valido, senza addebito.

  • sortByenum

    BEST_MATCH

    Ordinamento dei risultati (es. "LOWEST_PRICE"); il valore predefinito è la rilevanza.

Tu invii. Un piccolo corpo JSON. I valori mostrati sono esempi da sostituire con i tuoi.

Risposta

JSON, un valore di esempio per campo.

each itemdata.items[]

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

  • brandstringpuò richiedere

    Apple

    Product brand; empty when not reported.

  • currencystringpuò richiedere

    USD

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

  • discountPercentstringpuò richiedere

    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.

  • listPriceTextstringpuò richiedere

    $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).

  • priceTextstringpuò richiedere

    $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.

Tu ricevi. Campi con nome e tipo nella stessa struttura, qualunque fonte risponda.

FAQ

Sull'API Google Shopping Ricerca

L'API Google Shopping Ricerca di AnyAPI restituisce dati Google Shopping come JSON normalizzato da una sola chiamata POST a /v1/run/google_shopping.search. Cerca su Google Shopping per parola chiave e ottieni fino a 10 offerte di prodotto (titolo, prezzo, negozio, valutazione e link), localizzate per paese e lingua. AnyAPI instrada ogni richiesta su 3 fonti e passa automaticamente a un'altra quando una fallisce. Costa da 16 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Negli ultimi 30 giorni, il 99,3% delle chiamate Google Shopping Ricerca tramite AnyAPI è riuscito, con un tempo di risposta mediano di 5,7 secondi su 2075 chiamate misurate.

Costa da 16 USD ogni 1.000 richieste, in dollari statunitensi, senza abbonamento e senza minimo mensile. Ricarichi un portafoglio in USD e ogni chiamata lo scala. Alcune richieste fallite finanziate dal portafoglio comportano costi di elaborazione che trasferiamo al costo, senza ricarico; la risposta di errore mostra l'importo addebitato.

Cerca su Google Shopping per parola chiave e ottieni fino a 10 offerte di prodotto (titolo, prezzo, negozio, valutazione e link), localizzate per paese e lingua. La risposta è JSON normalizzato con la stessa busta che restituisce ogni endpoint AnyAPI, quindi analizzare un secondo endpoint significa cambiare l'URL e nient'altro.

Negli ultimi 30 giorni, il 99,3% delle chiamate Google Shopping Ricerca tramite AnyAPI è riuscito, con un tempo di risposta mediano di 5,7 secondi su 2075 chiamate misurate. Sono misurazioni di AnyAPI sul traffico che passa dal gateway, ricalcolate di continuo, non un obiettivo di livello di servizio pubblicato.

Sì. Un nuovo account AnyAPI parte con 0,10 USD di saldo gratuito e senza bisogno di carta, che copre 6 chiamate Google Shopping Ricerca a 0,016 USD ciascuna.

AnyAPI interroga la successiva delle sue 3 fonti nella stessa richiesta, partendo dalla più economica, quindi una fonte che cade non fa fallire la tua chiamata.

Invia una richiesta POST a https://api.getanyapi.com/v1/run/google_shopping.search con la tua chiave AnyAPI in un header "Authorization: Bearer" e l'input come corpo JSON. La stessa chiave e lo stesso portafoglio funzionano su ogni endpoint AnyAPI.

No. Aggiungi dollari statunitensi a un unico saldo prepagato AnyAPI e ogni richiesta lo scala. Non c'è un piano mensile né un minimo, e lo stesso saldo paga ogni endpoint AnyAPI.

Sì. Installa @getanyapi/sdk da npm per TypeScript o getanyapi da pip per Python. Entrambi chiamano ogni endpoint AnyAPI con la stessa chiave, e funziona anche qualsiasi client HTTP.

Sì. Un agente può collegarsi al server MCP di AnyAPI su https://api.getanyapi.com/mcp, oppure creare da solo la propria chiave di prova gratuita con un POST non autenticato a https://api.getanyapi.com/agent/signup e chiamare questo endpoint via HTTP.