Zum Inhalt springen

Antwortstruktur

Eine erfolgreiche Suche gibt 200 mit einem JSON-Objekt zurück:

{
"search": "mount everest",
"page": 1,
"knowledgeGraph": {
"title": "Mount Everest",
"description": "Earth's highest mountain above sea level…",
"attributes": { "Elevation": "8,849 m", "First ascent": "1953" }
},
"organic": [
{
"position": 1,
"title": "Mount Everest - Wikipedia",
"link": "https://en.wikipedia.org/wiki/Mount_Everest",
"snippet": "Mount Everest is Earth's highest mountain…",
"sitelinks": [{ "title": "Height", "link": "https://…" }]
}
],
"ads": [
{ "position": 1, "title": "Everest Treks", "link": "https://…", "block": "top" }
],
"peopleAlsoAsk": ["How tall is Mount Everest?"],
"relatedSearches": [{ "query": "k2 mountain" }],
"stats": { "balance": 9988, "cost": 6, "cached": false }
}
FeldTypHinweise
searchstringDie ausgeführte Suchanfrage.
pageintegerDie zurückgegebene Seite (1-indiziert).
organicarrayGerankte organische Ergebnisse.
adsarray?Gesponserte Ergebnisse, sofern vorhanden.
knowledgeGraphobject?Das Google-Entity-Panel, sofern vorhanden.
peopleAlsoAskstring[]?„People also ask”-Fragen.
relatedSearchesarray?„People also search for”.
statsobject?Abrechnungsinfo — siehe Preise.

position, title, link, snippet, optional date und optional sitelinks[] { title, link }.

position, title, link, optional displayedLink, optional snippet, block ("top" oder "bottom") und optional sitelinks[].

title, optional imageUrl, description, descriptionSource, descriptionLink und eine attributes-Map mit Schlüssel/Wert-Fakten.

Das vollständige, stets aktuelle Schema (inklusive jeder Fehlerstruktur) findest du in der API-Referenz, generiert aus dem OpenAPI-Vertrag.