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.
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)
{"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ù}
Prezzi e provider
Prezzi dell'API Google Shopping Ricerca: una sola API, 3 provider intercambiabili
Serve per primo il provider più economico. Se fallisce, subentra il successivo nella stessa chiamata.
con tetto di 0,0696 USD a richiesta1 risultato0,0156 USD5 risultati0,0396 USD10 risultatitetto di 0,0696 USDPaghi per ciò che torna indietro. Abbassa il limite per pagare meno - e nessuna singola richiesta può costare più del tetto, per quanto torni indietro.
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())
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.
Risposta
JSON, un valore di esempio per campo.
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.
- 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.
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.