Guide

Rank tracking APIs: where position data comes from

A rank tracking API returns where a site appears in Google for a query. There are three ways to get that number, and they differ in coverage, accuracy and what Google allows.

Updated 4 December 2026 · 6 min read

What a rank tracking API returns

At its core, a rank tracking API answers one question: for this query, where does this site show up in Google? Around that number sit the details that make it useful: the page that ranked, the date, the device, the country, and often clicks and impressions.

The number itself can come from three places. Which one a tool uses decides what it can tell you and how far you can trust it.

Source 1: Search Console

Google Search Console records how your verified sites appeared in Google Search: impressions, clicks, CTR and position, by query, page, country, device and date. The Search Analytics API returns the same data as JSON, up to 25,000 rows per request.

What makes it a good base:

  • It is Google's own measurement of real searches, not a sample.
  • It is an official API with published quotas.
  • It includes clicks and impressions, so a position change can be tied to traffic.

What it cannot do:

Source 2: live result checks

Many rank trackers load Google result pages for a keyword, location and device, then find the target site in the list. This gives a position for any site, competitors included, at the moment of the check, and shows result features such as maps or video blocks.

The catch is Google's rules. Its spam policies describe machine-generated traffic as including sending automated queries to Google, and name "scraping results for rank-checking purposes" as an example when done without express permission. If you use a service that checks result pages, ask how it gets them and read its terms.

Google's Custom Search JSON API returns results from a Programmable Search Engine. It was sometimes used as a rank source. As of 4 December 2026, Google's overview page says the API is not available for new customers, and that existing customers have until its discontinuation on 1 January 2027. Google points to Vertex AI Search as the alternative. Do not build anything new on it.

Side by side

Search Console APILive result checks
Sites coveredYour verified sitesAny site
Position typeAverage over all impressionsOne result page, one moment
Clicks and impressionsYesNo
FreshnessAbout 2-3 days behindAt check time
Google's position on itOfficial, documented APISpam policies name it without permission

What to build around position data

Whichever source you use, the raw number is rarely the product. The useful parts are what you compute from it:

  • Movers: which queries or pages gained or lost the most between two periods, with a minimum-impressions filter so noise does not dominate.
  • Striking distance: queries just off page one, ranked by impressions, as a work list.
  • CTR by position: your own click-through curve, to spot pages whose titles underperform for their position.
  • History: a daily store, so trends survive past the 16 months the report keeps.

If you build this yourself on the Search Console API, plan for the row and quota limits from the start: query one day at a time, page through results, and store what you fetch so you never need to ask twice.

Which one to use

For your own sites, start with Search Console. It answers most day-to-day questions: which queries dropped, which pages are close to page one, and whether a change in position changed clicks. The API limits guide covers how much you can pull.

RankTrackingAPI is being built on that source: daily Search Console rows stored past 16 months, with movers and striking-distance lists as endpoints. It is in early access and not live. To try the analysis on your own data today, use the free analyzer.

Key points

  • Search Console is Google's own record of your verified sites, through an official API.
  • Its position is an average over real impressions, about 2-3 days behind.
  • Live result checks cover any site but fall under Google's spam policies when done without permission.
  • The Custom Search JSON API is closed to new customers and ends on 1 January 2027.
  • For your own sites, build on Search Console: store it daily, and compute movers, striking distance and CTR curves from it. That covers most of what a rank tracker is used for.

Run this on your own export

The free analyzer reads a Search Console export in your browser.

Open the analyzer

Sources checked 4 December 2026.