Google Shopping-API

Google Shopping-Suche-API

Durchsuche Google Shopping per Keyword und erhalte bis zu 10 Produktangebote (Titel, Preis, Shop, Bewertung und Link), lokalisiert nach Land und Sprache.

16,00 USD/1k Anfr., Zahlung pro Anfrage, kein Abo.

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)

Was die API zurückgegeben hatitems[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 weitere Felder
}
Verfügbarkeit
99,33%
30d · 2.075 Aufrufe
Anfragen
2.079
30 T · wöchentlich, letzte 12 Wochen
Antwort
5,7s
Median · 30d

Aufrufen

Google Shopping Suche mit einer Anfrage abrufen

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())
Öffnen in
Beispielantwort

Dieses Beispiel zeigt 17 von 18 Feldern. Alle Felder ansehen

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

Vollständige Parameter- und Antwortreferenz: jedes Feld, jeder Typ und jedes Beispiel für diesen Endpoint.

Referenz

Eine Anfrage, eine Antwortstruktur.

Jedes Feld, das du sendest, und jedes Feld, das du zurückbekommst, jeweils mit einem echten Beispiel.

Zuletzt geprüft 2026-11-21 · Verfügbarkeit und Latenz gemessen über 30d

Request-Body

JSON, per POST an diesen Endpoint gesendet.

  • querystring

    airpods

    Produktname, Marke oder Keywords für die Suche (z. B. „Nike running shoes“).

  • conditionenum

    NEW

    Nur Produkte in diesem Zustand zurückgeben (z. B. „USED“); Standard ist jeder Zustand.

  • countrystring

    us

    ISO-3166-1-alpha-2-Ländercode für lokalisierte Ergebnisse (z. B. „us“, „gb“, „de“).

  • languagestring

    en

    ISO-639-1-Sprachcode für die Ergebnisse (z. B. „en“, „es“, „fr“).

  • limitinteger

    3

    Maximale Zahl der zurückgegebenen Ergebnisse (1-10, Standard 10).

  • requireFieldsarray

    Optional; wenn weggelassen, bleibt das Routing unverändert, und die günstigste Quelle bedient. Nenne die Ausgabefelder, die diese Anfrage zurückgeben können muss, zum Beispiel `listPriceText` oder `discountPercent`, und sie wird nur von einer Quelle bedient, die jedes davon zurückgibt. Felder, die du nicht nennst, werden weiterhin zurückgegeben, sobald die bedienende Quelle sie hat. Das kann deinen Preis erhöhen: Wenn die günstigste Quelle ein genanntes Feld nicht zurückgeben kann, bedient eine teurere Quelle, und dir wird ihr Preis genannt und berechnet. Ein genanntes Feld kann bei einem Produkt, das es tatsächlich nicht hat, trotzdem fehlen. Eine Kombination zu nennen, die keine einzelne Quelle zusammen zurückgibt, wird als ungültige Eingabe ohne Berechnung abgelehnt.

  • sortByenum

    BEST_MATCH

    Sortierreihenfolge der Ergebnisse (z. B. „LOWEST_PRICE“); Standard ist Relevanz.

Du sendest. Ein kleiner JSON-Body. Die gezeigten Werte sind Beispiele, die du durch deine eigenen ersetzt.

Antwort

JSON, ein Beispielwert pro Feld.

each itemdata.items[]

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

  • brandstringkann erfordern

    Apple

    Product brand; empty when not reported.

  • currencystringkann erfordern

    USD

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

  • discountPercentstringkann erfordern

    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.

  • listPriceTextstringkann erfordern

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

  • priceTextstringkann erfordern

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

Du bekommst zurück. Benannte, typisierte Felder in derselben Struktur, egal welche Quelle antwortet.

FAQ

Über die Google Shopping-Suche-API

Die AnyAPI-Google Shopping-Suche-API liefert Google Shopping-Daten als normalisiertes JSON aus einem POST-Aufruf an /v1/run/google_shopping.search. Durchsuche Google Shopping per Keyword und erhalte bis zu 10 Produktangebote (Titel, Preis, Shop, Bewertung und Link), lokalisiert nach Land und Sprache. AnyAPI routet jede Anfrage über 3 Quellen und weicht automatisch aus, wenn eine ausfällt. Sie kostet ab 16 USD pro 1.000 Anfragen, in US-Dollar, ohne Abo und ohne monatliches Minimum. In den letzten 30 Tagen waren 99,3% der Google Shopping Suche-Aufrufe über AnyAPI erfolgreich, bei einer mittleren Antwortzeit von 5,7 Sekunden über 2.075 gemessene Aufrufe.

Sie kostet ab 16 USD pro 1.000 Anfragen, in US-Dollar, ohne Abo und ohne monatliches Minimum. Du lädst ein USD-Guthabenkonto auf, und jeder Aufruf bucht davon ab. Bei manchen fehlgeschlagenen, vom Guthabenkonto bezahlten Anfragen fallen Bearbeitungsgebühren an, die wir zum Selbstkostenpreis ohne Aufschlag weitergeben. Die Fehlerantwort zeigt den berechneten Betrag.

Durchsuche Google Shopping per Keyword und erhalte bis zu 10 Produktangebote (Titel, Preis, Shop, Bewertung und Link), lokalisiert nach Land und Sprache. Die Antwort ist normalisiertes JSON mit demselben Envelope, den jeder AnyAPI-Endpoint liefert, sodass das Parsen eines zweiten Endpoints nur eine geänderte URL bedeutet.

In den letzten 30 Tagen waren 99,3% der Google Shopping Suche-Aufrufe über AnyAPI erfolgreich, bei einer mittleren Antwortzeit von 5,7 Sekunden über 2.075 gemessene Aufrufe. Das sind AnyAPIs eigene Messungen des Traffics durch das Gateway, laufend neu berechnet, kein veröffentlichtes Service-Level-Ziel.

Ja. Ein neues AnyAPI-Konto startet mit 0,10 USD Gratis-Guthaben, ohne Karte. Das deckt 6 Google Shopping-Suche-Aufrufe zu je 0,016 USD.

AnyAPI fragt in derselben Anfrage die nächste seiner 3 Quellen, die günstigste zuerst, sodass der Ausfall einer Quelle deinen Aufruf nicht scheitern lässt.

Sende eine POST-Anfrage an https://api.getanyapi.com/v1/run/google_shopping.search mit deinem AnyAPI-Schlüssel in einem Header „Authorization: Bearer“ und der Eingabe als JSON-Body. Derselbe Schlüssel und dasselbe Guthabenkonto funktionieren bei jedem AnyAPI-Endpoint.

Nein. Du lädst US-Dollar auf ein Prepaid-AnyAPI-Guthaben, und jede Anfrage bucht davon ab. Es gibt keinen Monatstarif und kein Minimum, und dasselbe Guthaben bezahlt jeden AnyAPI-Endpoint.

Ja. Installiere @getanyapi/sdk von npm für TypeScript oder getanyapi von pip für Python. Beide rufen jeden AnyAPI-Endpoint mit demselben Schlüssel auf, und jeder HTTP-Client funktioniert ebenfalls.

Ja. Ein Agent kann sich mit dem AnyAPI-MCP-Server unter https://api.getanyapi.com/mcp verbinden oder mit einem unauthentifizierten POST an https://api.getanyapi.com/agent/signup einen eigenen kostenlosen Test-Schlüssel erstellen und diesen Endpoint über HTTP aufrufen.