Clair API
  • All APIs
  • Pricing
  • Docs
Web Scraping
  • Web Scraper API
E-commerce
  • Amazon API
    • Product
    • Reviews
    • Search
    • Price
    • Best sellers
    • Seller
    • ASIN lookup
  • Google Shopping API
SERP & Search
  • Google Search API
  • Google Maps API
    • Scraper
    • Place
AI Search
  • ChatGPT API
  • Google AI Overview API
  • Google AI Mode API
Jobs & Hiring
  • Glassdoor API
    • Jobs
    • Reviews
    • Salary
  • Indeed API
Company Data & Reviews
  • Trustpilot API
  • Crunchbase API
    • Company
    • People
Video & Social
  • YouTube API
  • TikTok API
  • Instagram API
News & Media
  • Google News API
  • Reuters API
  • Bloomberg API
  • Associated Press API
  • Use cases
  • Comparisons
  • Glossary
Ecommerce and reviews
  • Amazon price monitoring
  • Trustpilot review monitoring
  • MAP enforcement on Amazon
  • Amazon rating monitoring
  • Amazon category research
  • Trustpilot competitor benchmarking
  • Google Shopping price tracking
Search and local
  • Google rank tracking
  • Local lead generation
  • Local SEO competitor audit
  • Grounding LLM answers in search results
  • Content research from People also ask
AI search
  • AI visibility tracking
  • Find the sites AI answers cite
  • AI Overview tracking for SEO keywords
Leads and companies
  • Account research briefs
Jobs and hiring
  • Salary benchmarking
  • Job market analytics
  • Employer reputation tracking
News
  • Brand and media monitoring
  • Financial news tracking
  • News corpus for research and RAG
Social and video
  • YouTube transcripts for RAG
  • Instagram engagement rate
  • Influencer campaign tracking
Comparisons
  • Clair vs SerpApi
  • Clair vs Google Places API
  • Clair vs Google Custom Search API
GlossarySERPSERP APIPeople also askGoogle place IDASINBuy BoxGTINSalary percentilesTrustScoreRating distributionAll 47 terms →
PricingDocsStatus
Dashboard
  • Use cases
  • Google Search API
  • SERP
  • Organic results
  • People also ask

Google rank tracking

Kaan Ersoy·3 min read·Oct 29, 2026

{ }
Check where your domain ranks on Google for a list of keywords, record which SERP blocks surround the results, and keep the history. This is the core of every rank tracker and SEO report, and here it is built on one Clair endpoint.
Try the Google Search API →

On this page

  1. Who
  2. Pipeline
  3. Code
  4. Cost
  5. Response times
  6. Limits
  7. FAQ

Who runs this, and what for

TeamWhat they decide with it
SEO teamsWhich pages gained or lost positions after a release, and which keywords to work on next.
Agencies with national clientsWhat to report to each client every week, from one keyword set per client and country.
Content teamsWhich queries show People also ask or video blocks worth writing for.
Retrieval and research toolsWhich sources Google ranks for a question, as input to a pipeline rather than a report.

The calls, step by step

  1. 1. Fix the keyword set and the market

    Rankings differ by country and language, so each keyword is tracked for one market. Pass country (where the search is made from) and language (Google's interface language) on every call and keep them fixed; Clair echoes them in query so each stored page records what produced it. Google also personalizes by city, device, and history, which this API does not vary: treat results as a neutral desktop view of that country.

    The google.com page this step reads
    The page on google.com that this call reads, as a signed-out visitor sees it. The response below is what Clair returns from it.

    GET /v1/google-search?q=albert+einstein&country=us&page=1 · query

    {
      "q": "albert einstein",
      "language": "en",
      "country": "us",
      "page": 1
    }
    Recorded response. Live values differ.
  2. 2. Read pages until you find your domain

    Each call returns one page of about ten organic results, with ads removed and Google's redirect links resolved to the destination URL. position counts across pages, so page 2 starts at 11. Read page 1, look for your domain, and fetch page 2 or 3 only when it is not there. Most trackers stop at the top 30; page 10 (positions 91 to 100) is the deepest Google serves reliably.

    GET /v1/google-search?q=albert+einstein&country=us&page=1 · results.0

    {
      "position": 1,
      "title": "Albert Einstein",
      "url": "https://en.wikipedia.org/wiki/Albert_Einstein",
      "source": "Wikipedia",
      "displayed_url": "https://en.wikipedia.org › wiki › Albert_Einstein",
      "date": null,
      "snippet": "Albert Einstein (14 March 1879 – 18 April 1955) was a German-born theoretical physicist ...",
      "duration": null,
      "sitelinks": []
    }
    Recorded response. Live values differ.
  3. 3. Record the SERP around the results

    A position means less when a knowledge panel, a local pack, or People also ask sits above it. The same response carries those blocks as knowledge_graph, people_also_ask, local_results, videos, and related_searches, null or empty when Google did not show them. Storing which ones appeared tells you why clicks moved when positions did not.

    GET /v1/google-search?q=albert+einstein&country=us&page=1 · knowledge_graph

    {
      "title": "Albert Einstein",
      "type": "Theoretical physicist",
      "description": "Albert Einstein was a German-born theoretical physicist best known for developing the theory of relativity.",
      "description_source": {
        "title": "Wikipedia",
        "url": "https://en.wikipedia.org/wiki/Albert_Einstein"
      },
      "facts": {
        "Born": "March 14, 1879, Ulm, Germany",
        "Height": "5′ 9″"
      }
    }
    Recorded response. Live values differ.

A script to start from

rank_check.py

# Daily Google rank check: where does your domain rank for each keyword?
# Reads up to MAX_PAGES result pages per keyword and stops at the first hit.
import csv, datetime, os, requests
from urllib.parse import urlparse

API = "https://api.clair.im"
HEADERS = {"Authorization": f"Bearer {os.environ['CLAIR_API_KEY']}"}
DOMAIN = "example.com"
KEYWORDS = ["payment api", "accept payments online", "invoice software"]
COUNTRY, LANGUAGE, MAX_PAGES = "us", "en", 3  # each page is one request
FEATURES = ("knowledge_graph", "people_also_ask", "local_results", "videos")

def serp(q, page):
    r = requests.get(f"{API}/v1/google-search", headers=HEADERS, timeout=60, params={
        "q": q, "country": COUNTRY,
        "language": LANGUAGE, "page": page})
    r.raise_for_status()
    return r.json()

def ours(url):
    host = (urlparse(url).hostname or "").removeprefix("www.")
    return host == DOMAIN or host.endswith("." + DOMAIN)

today = datetime.date.today().isoformat()
with open("ranks.csv", "a", newline="") as f:
    out = csv.writer(f)
    for q in KEYWORDS:
        rank, url, features = None, None, []
        for page in range(1, MAX_PAGES + 1):
            body = serp(q, page)
            if page == 1:  # SERP blocks sit on the first page
                features = [k for k in FEATURES if body.get(k)]
            hit = next((r for r in body["results"] if ours(r["url"])), None)
            if hit:
                rank, url = hit["position"], hit["url"]
                break
            if len(body["results"]) < 10:
                break  # Google has no further pages for this query
        out.writerow([today, q, COUNTRY, rank, url, "|".join(features)])

Set CLAIR_API_KEY to your Clair key; one plan covers the Google Search API. Each call spends that API's rate from the plan's monthly balance.

What it costs per month

ScheduleRequestsPlanPer monthPer 1,000
100 keywords, daily, top 10100 keywords × 1 page × 30 days.3,000Starter$30$10
500 keywords, daily, top 30500 × 3 pages × 30 days, at most. The script stops once it finds the domain, so the real count is lower.45,000Advanced$300$6.67
2,000 keywords, weekly, top 202,000 × 2 pages × 4 weekly runs.16,000Standard$100$6.25
5,000 keywords, daily, top 105,000 × 1 page × 30 days.150,000Advanced$500$3.33
The cheapest Clair plan whose monthly balance covers each volume, every API spending from the same balance. USD, before tax. The free tier is $1 of usage a month, for trying the pipeline.

Response times

Google Search API
Succeeded18 of 20
Median response time6.2 s
95th percentile25.2 s
Had knowledge graph28%
Had people also ask94%
Had related searches78%
Had local results11%
Had videos33%
Google Search, first results page, United States, English. Queries mix navigational, informational, local, commercial, and news intent. 20 requests, one at a time, on September 27, 2026.

What to plan for

  • Location is set per country. There is no city, ZIP, or coordinate targeting, so local rank tracking for one city is out of reach; use the Google Maps API for local business rankings instead.
  • Results are the desktop page. Mobile rankings, which differ on many queries, are not available.
  • Ads, AI Overviews, and shopping carousels are not returned. If you track paid competitors or AI Overview citations, you need a different API.
  • Every call is billed, a repeated query too: Clair keeps a fetched page for at most ten minutes, so a repeat inside that window returns the same page at the same price. Deduplicate keywords before a run.
  • Rankings move during the day. Run each market at the same hour so day-to-day changes reflect Google, not your schedule.
  • Pages go up to 10. Google returns fewer results on some queries; a page with fewer than ten organic hits is usually the last.

Common questions

Does position include ads or the local pack?

No. position counts organic results only, in the order Google printed them, across pages. Blocks such as the local pack are returned separately.

How accurate is it compared with what I see in my browser?

Your browser applies your location, signed-in history, and device. Clair's request has none of those, so it is closer to what a new visitor in that country sees on desktop. Small differences against a personal search are expected.

Can I track several countries?

Yes. Each keyword and country pair is its own series, and each page is one request. The cost table counts one market; multiply by the number of countries.

Can I search a single site?

Yes. q accepts Google operators, so site:example.com pricing returns that site's pages for the word pricing.

Keep reading

APIs

  • Google Search API

Glossary

  • SERP
  • Organic results
  • People also ask
  • Knowledge Graph
  • Local pack

Comparisons

  • Clair vs SerpApi: Google Search API compared
    Clair API

    Live data APIs for search, news, jobs, marketplaces, companies, reviews, and social video, plus a scraper for any public page. Each call fetches the page when you ask.

    contact@serinlabs.com@clair_api

    APIs

    Web Scraping
    • Web Scraper API
    E-commerce
    • Amazon API
      • Amazon Product API
      • Amazon Reviews API
      • Amazon Search API
      • Amazon Price API
      • Amazon Best Sellers API
      • Amazon Seller API
      • Amazon ASIN Lookup API
    • Google Shopping API
    SERP & Search
    • Google Search API
    • Google Maps API
      • Google Maps Scraper API
      • Google Maps Place API
    AI Search
    • ChatGPT API
    • Google AI Overview API
    • Google AI Mode API
    Jobs & Hiring
    • Glassdoor API
      • Glassdoor Jobs API
      • Glassdoor Reviews API
      • Glassdoor Salary API
    • Indeed API
    Company Data & Reviews
    • Trustpilot API
    • Crunchbase API
      • Crunchbase Company API
      • Crunchbase People API
    Video & Social
    • YouTube API
    • TikTok API
    • Instagram API
    News & Media
    • Google News API
    • Reuters API
    • Bloomberg API
    • Associated Press API

    Use cases

    Ecommerce and reviews
    • Amazon price monitoring
    • Trustpilot review monitoring
    • MAP enforcement on Amazon
    • Amazon rating monitoring
    • Amazon category research
    • Trustpilot competitor benchmarking
    • Google Shopping price tracking
    Search and local
    • Google rank tracking
    • Local lead generation
    • Local SEO competitor audit
    • Grounding LLM answers in search results
    • Content research from People also ask
    AI search
    • AI visibility tracking
    • Find the sites AI answers cite
    • AI Overview tracking for SEO keywords
    Leads and companies
    • Account research briefs
    Jobs and hiring
    • Salary benchmarking
    • Job market analytics
    • Employer reputation tracking
    News
    • Brand and media monitoring
    • Financial news tracking
    • News corpus for research and RAG
    Social and video
    • YouTube transcripts for RAG
    • Instagram engagement rate
    • Influencer campaign tracking

    Compare and learn

    Comparisons
    • Clair vs SerpApi
    • Clair vs Google Places API
    • Clair vs Google Custom Search API
    Glossary
    • SERP
    • SERP API
    • People also ask
    • Google place ID
    • ASIN
    • Buy Box
    • All 47 terms
    Developers
    • Documentation
    • Quickstart
    • API catalog
    • Pricing
    • Status
    • All resources
    Featured onCITABLEClair API - Featured on Startup FameFeatured on Twelve Tools Listed on Turbo0 Featured on Wired BusinessClair API on Nick Launches Featured on neeed.directory Featured on DailyPings ShareSpeak on SaaSGrow Startup Benchmarks Featured on LaunchVault Featured on EasyLaunch Featured on SubmitMySaas Featured on DodoDirectory Featured on LaunchZone Featured on LemonLaunch 'LiftOff' Default v2 badge Launched on LaunchBoard - Product Launch Platform Listed on CurlShip aListed onamaze.directory Featured on Brick Launch Featured on saas.fyi Featured on Wall of Tools Featured onfreeboard.lolFeatured on Yo.directory Featured on TheDevToolsIndex
    Featured onCITABLEClair API - Featured on Startup FameFeatured on Twelve Tools Listed on Turbo0 Featured on Wired BusinessClair API on Nick Launches Featured on neeed.directory Featured on DailyPings ShareSpeak on SaaSGrow Startup Benchmarks Featured on LaunchVault Featured on EasyLaunch Featured on SubmitMySaas Featured on DodoDirectory Featured on LaunchZone Featured on LemonLaunch 'LiftOff' Default v2 badge Launched on LaunchBoard - Product Launch Platform Listed on CurlShip aListed onamaze.directory Featured on Brick Launch Featured on saas.fyi Featured on Wall of Tools Featured onfreeboard.lolFeatured on Yo.directory Featured on TheDevToolsIndex
    © 2026 Serin Technologies, LLC
    • About Clair
    • Terms of Service
    • Privacy Policy