All Tools

  1. SEORCH
  2. SEO API
  3. Ranking API

Ranking API

Request

The top Google results for a keyword, also for a specific location and on mobile, plus local results, the AI overview, related searches and the position of your URL.

https://seorch.net/api/ranking/?key=YOUR_KEY&keyword=pizza&country=de&location=Karlsruhe,Baden-Wurttemberg,Germany&url=https://www.lieferando.de

Parameters

ParametersRequiredMeaning
keyyesYour API key, alternatively in the X-API-Key header
keywordyesThe keyword
countrynoCountry code, for example de, us, uk. Default: de
languagenoLanguage of the search, for example de, en, fr. Default: matching the country
devicenodesktop (default) or mobile
locationnoLocation of the search as a Google location name: city, state, country in English, for example Karlsruhe,Baden-Wurttemberg,Germany (at most 63 characters)
uulenoInstead of location: the location as an encoded uule
resultsnoNumber of results: 10 (default), 20, 30 … 100
urlnoYour site: position then shows the first match of this domain

Response

FieldMeaning
positionRank of your domain or null
resultsThe organic results, up to results of them, with rank, url, url_resolved, host, title, description
url_resolvedfalse if Google only returns a redirect (google.com/goto?url=…) instead of the target page. The domain is still in host and counts for position. The redirect can only be followed after about one minute.
local_resultsThe local results from the map pack with rank, title, type, address, rating, reviews and description. Empty if Google shows none (always empty on mobile)
language, location, uuleThe values used, otherwise null
ai_overviewText and sources of the AI overview, null if Google shows none
people_also_ask, related_searchesFurther questions and related searches
Sample response
{
  "api_version": 1,
  "keyword": "pizza",
  "country": "de",
  "language": null,
  "device": "desktop",
  "location": "Karlsruhe,Baden-Wurttemberg,Germany",
  "uule": null,
  "url": "https://www.lieferando.de",
  "position": 6,
  "results": [
    {
      "rank": 1,
      "url": "https://www.google.com/url?q=CAESswEBxCJF11eLcyK0bCBjAUN3_qUKa4y4AcRe-PBUNXnu",
      "url_resolved": false,
      "host": "ubereats.com",
      "title": "Pizza-Lieferung in Stuttgart 2023 | DIE ZEHN BESTEN ... - Uber Eats",
      "description": "Heißhunger auf Pizza? Lass es dir schnell und bequem über dein Uber Konto liefern. Bestelle online von den besten Restaurants der Kategorie Pizza in ..."
    },
    {
      "rank": 2,
      "url": "https://www.google.com/url?q=CAESXwHEIkXXKQF6SJ9iQa0tlEMy4tP3OsIEt1xB9kTuBZ5-",
      "url_resolved": false,
      "host": "pizzeria.de",
      "title": "Pizza in Philippsburg bestellen beim Lieferservice",
      "description": "ganztägig geschlossen. ab: 20,00 €. Barzahlung. Pizza, Pasta, Salate, Schnitzel, Mexikanisch, Kepab, Indisch, Chinesisch, Big-Burger, ..."
    },
    {
      "rank": 3,
      "url": "https://mannheim.online-pizza.de/",
      "url_resolved": true,
      "host": "mannheim.online-pizza.de",
      "title": "Pizza Mannheim | Lieferservice Mannheim | Pizzataxi Mannheim ...",
      "description": "Hunger auf knusprige Pizza, knackige Salate, saftige Burger oder feinstes Sushi? Online-Pizza.de bietet italienische, asiatische und internationale ..."
    },
    {
      "rank": 4,
      "url": "https://www.google.com/url?q=CAESXgHEIkXXkIAkKN1IHQ8GKk0RQbxPEiFNsAb99gNUJSpC",
      "url_resolved": false,
      "host": "pizzeria.de",
      "title": "Pizza in Ludwigsburg online bestellen | pizzeria.de",
      "description": "Hier Pizza in Ludwigsburg online beim Lieferservice bestellen. Pizza in Ludwigsburg schnell und sicher bestellen bei pizzeria.de."
    },
    {
      "rank": 5,
      "url": "https://www.google.com/url?q=CAEScgHEIkXXzKV-0CA7gs2jCYgU8viwcFeSGjsPb3dhMY1k",
      "url_resolved": false,
      "host": "dasoertliche.de",
      "title": "Pizza in Darmstadt ⇒ in Das Örtliche",
      "description": "Gesamt 31 Adressen zu Pizza in Darmstadt mit Telefonnummer ☎, Öffnungszeiten ✓ und Bewertung ☆ Direkt Angebot vergleichen und Termin ..."
    },
    {
      "rank": 6,
      "url": "https://www.lieferando.de/lieferdienst/stuttgart-ost/pizza",
      "url_resolved": true,
      "host": "lieferando.de",
      "title": "Pizza-Lieferung & Takeaway in Stuttgart Ost | Bestelle bei Lieferando",
      "description": "Bestelle Pizza von Takeaways und Restaurants in deiner Nähe in Stuttgart Ost. Wähle aus einer Vielzahl von Restaurants – geliefert direkt bis vor deine ..."
    },
    {
      "rank": 7,
      "url": "https://www.google.com/url?q=CAESYQHEIkXXQpOVuKZOmsAhAHP4wPoI95OcNHnP9Bs_1Ort",
      "url_resolved": false,
      "host": "pizzeria.de",
      "title": "Pizza in Kaiserslautern online bestellen | pizzeria.de",
      "description": "New Yorks Pizza · 67655 Kaiserslautern · Pariser Str. 51 · Blue Pizza · 67663 Kaiserslautern · Kurt-Schumacher-Str.12 · Joeys Pizza · 67655 Kaiserslautern."
    },
    {
      "rank": 8,
      "url": "https://www.google.com/url?q=CAEShwEBxCJF16YoVAMjnM7EvtoeY6v7uRPQtYZbv7WGc_9P",
      "url_resolved": false,
      "host": "tripadvisor.de",
      "title": "Die Besten Pizzas in Essen - Tripadvisor",
      "description": "Beste Pizza Restaurants in Essen, Niedersachsen: Tripadvisor Bewertungen von Restaurants in Essen finden und die Suche nach Küche, Preis, Lage und mehr ..."
    },
    {
      "rank": 9,
      "url": "https://www.google.com/url?q=CAEShAEBxCJF1znlUgCcBCsu8dfKNH5Ysyr39-r2S-ACzppA",
      "url_resolved": false,
      "host": "dasoertliche.de",
      "title": "Pizza-Lieferdienst in Günzburg - Das Örtliche",
      "description": "Pizza-Lieferdienst in Günzburg ; Joginder Singh Pizzaservice. Essenbringdienste. Augsburger Str. 18 89312 Günzburg ; Pizza Express Venezia."
    }
  ],
  "local_results": [
    {
      "rank": 1,
      "title": "60 seconds to napoli Karlsruhe",
      "type": "Pizzeria",
      "address": "Karlstraße 11",
      "rating": 4.6,
      "reviews": 8857,
      "description": null
    },
    {
      "rank": 2,
      "title": "Pizza & Gusto",
      "type": "Pizza",
      "address": "Amalienstraße 14A",
      "rating": 4.5,
      "reviews": 885,
      "description": null
    }
  ],
  "ai_overview": {
    "text": [
      "Pizza ist ein italienisches Fladenbrot, das mit Tomatensauce und Käse belegt und im Ofen gebacken wird."
    ],
    "references": [
      {
        "rank": 1,
        "url": "https://de.wikipedia.org/wiki/Pizza",
        "host": "de.wikipedia.org"
      }
    ],
    "url_cited_at": null
  },
  "people_also_ask": [
    {
      "question": "Welche Pizza ist die beliebteste in Deutschland?",
      "answer": null,
      "url": null
    }
  ],
  "related_searches": [
    "Pizza in der Nähe",
    "Pizza bestellen",
    "Pizza Stuttgart"
  ]
}

Errors

Errors are returned as JSON with a fixed code. All APIs use missing_key and invalid_key (401), rate_limited (429) and missing or invalid parameters (400). Additionally for this API: invalid_language, invalid_location, invalid_uule, invalid_results, upstream_error.

Limits

Each key allows 10 requests per minute and 500 per day. Higher limits are available on request.

The Ranking API can additionally have its own daily and monthly limit. Once reached, you get rate_limited (429) with limit = ranking_per_day or ranking_per_month and retry_after in seconds. The headers X-RateLimit-Remaining-Api-Day and X-RateLimit-Remaining-Api-Month show what is left.