
To check your keyword position using the Google API, you use the Search Console API, which returns the average position, clicks, impressions, and CTR for queries on your own site. Google does not offer a live SERP rank API, so live, location-specific positions and competitor data require a third-party SERP API instead.
That distinction matters more than most guides admit. Mix the two up and you will either build the wrong pipeline or trust numbers that do not mean what you think. Below is the accurate version of each option, plus a real setup path.
The API approach scales in a way manual checks never will. Typing a query into an incognito window tells you one position, in one location, at one moment. An API pulls thousands of keywords on a schedule and stores the history, which is the only way to spot trends instead of noise.
The stakes are high because position drives clicks. According to Backlinko and Advanced Web Ranking data, the #1 organic result earns roughly 27 to 28% of clicks, and click-through rate falls sharply at each lower position. A two-spot drop is not cosmetic. It is lost traffic you can measure.
Organic search is also where the traffic lives. BrightEdge reports that organic search drives about 53% of all website traffic. If half your visitors arrive through Google, knowing exactly where you rank is not optional. For a structured way to act on what you find, our complete SEO site audit ties position data back to fixable on-page issues.
This is the only Google-owned API that reports your keyword positions, and it is free. The Search Console API exposes the same Performance data you see in the dashboard, but programmatically, so you can pull far more than the UI comfortably shows.
For each query and page, it returns four metrics:
That last metric is the one people misread. Average position is a blend, not a live rank. If your page showed at position 3 for half its impressions and position 15 for the other half, Search Console reports roughly position 9. The number is honest, but it describes a distribution, not a single SERP. Google documents this behavior in the Search Console and Webmaster Tools API reference.
A worked example makes the trap obvious. Say one query returns these impressions over a week:
Search Console reports an average position of 10. Yet you never actually ranked 10th for a single searcher. Half saw you near the top, half saw you on page two. A rank tracker checking one fixed location might report 2, or 18, depending on where it searched. All three numbers are correct. They just answer different questions, which is why chasing a single "true" position is the wrong goal.
The data is also yours alone. The API can only report on properties you own and have verified. It cannot show you where a competitor ranks, because Google never exposes that through this API. There is a two to three day reporting lag as well, so this is your source of truth for trends, not for what is happening on the SERP this minute.
Google does not sell or publish an API that returns live ranking positions for arbitrary keywords. This trips up a lot of people who assume such a thing must exist somewhere in the Cloud console. It does not.
The closest official product, the Custom Search JSON API, was built to power Programmable Search Engines over a defined set of sites, not to scrape the live Google results page. It returns a curated index, not the real SERP, so it is the wrong tool for rank checking. Google has also signaled that this product is being wound down.
The reason is consistent with how Google treats automated querying of its results pages: Google Search Central guidance discourages scraping the SERP, and the company keeps that data behind the products it controls. So when a tool advertises "live Google positions via API," what runs underneath is a third-party scraper, covered next, not a Google endpoint. Being clear-eyed about this saves you from building on a foundation that does not exist.
When you need a live position, a specific city, or a competitor's rank, you use a third-party SERP API. These services run automated searches from chosen locations and devices, then return the parsed results page as structured data.
What they add over Search Console:
The trade-offs are real. These positions are estimates, because the result depends on where the tool searched from and how Google personalized that query. They cost money, usually per query or per credit, and they sit outside Google's official surface. They are excellent for competitive monitoring and weak as a single source of absolute truth. Treat them as a complement to Search Console, not a replacement. Our guide to tracking your Google ranking walks through choosing between these approaches in practice.
Under the hood, every third-party SERP API follows the same loop: send a query, fetch the results page, parse it, return structured JSON. Understanding the request parameters tells you exactly how much control you have over the position you get back.
The parameters you set on each request decide what "position" even means:
q): the keyword you want to check.location, or a Google-encoded uule value): the city, region, or country to search from. Local results shift dramatically by location, so this is the single most important field.device): desktop, mobile, or tablet. Mobile and desktop SERPs differ, especially for local intent.gl and hl): the country of search and the interface language. Note that Google has phased out country-specific google_domain targeting in favor of gl.num, page): how many results to retrieve per call, up to 100, which lets you find rankings deep on page two or three.The response comes back as a JSON array of organic results, each carrying a position, the page title, the URL, and the snippet, plus blocks for SERP features like featured snippets, People Also Ask, local packs, and increasingly AI Overviews. Your rank for a keyword is simply the position of the first organic result whose URL matches your domain. That is the whole mechanism, dressed up in different brand names.
If you decide you need the live or competitor layer, these are the established players. Treat the categories below as the decision, not the brand: a pay-per-task API suits variable volume, a subscription suits steady monitoring, and an all-in-one platform suits teams that want dashboards rather than raw JSON. Prices change often, so confirm current rates on each vendor's site before committing.
| API / tool | Model | Best for | Notable strength |
|---|---|---|---|
| SerpApi | Freemium / subscription | Developers wanting clean JSON fast | Multi-engine, interactive playground, CAPTCHA handled |
| DataForSEO | Pay-per-task | Custom tools with variable volume | No monthly minimum, white-label, 200+ locations |
| Bright Data SERP API | Pay-per-request / custom | Enterprise, high-volume geo-targeting | City-level precision, scales to millions of queries |
| ScrapingBee | Subscription (credits) | Building a custom tracker yourself | General scraping plus SERP, many locations |
| AccuRanker | Subscription | Agencies needing on-demand refresh | Real-time refresh, share-of-voice tracking |
| SE Ranking / Serpstat | Subscription | All-in-one SEO platforms | Ranking plus audit, clustering, reporting |
Larger SEO suites such as Semrush, Ahrefs, and Moz also expose ranking and SERP endpoints, usually on higher or enterprise tiers, and pair position data with their own backlink and difficulty metrics. The right pick depends on whether you want raw SERP data to build on or a finished platform that reports for you.
You do not need a vendor dashboard to track positions, you need six moving parts. When teams build a custom tracker, the architecture is always the same:
This is exactly why the Search Console route is the gentler on-ramp for your own pages: it hands you the keyword store and the data in one call, leaving only the scheduling and storage to you. You only need the full SERP-API build when you are tracking keywords or competitors that Search Console cannot see.
| Option | What it reports | Covers competitors? | Live position? | Cost |
|---|---|---|---|---|
| Search Console API | Your own clicks, impressions, CTR, average position | No | No, 2 to 3 day lag, averaged | Free |
| Custom Search JSON API | Results from a Programmable Search Engine | No | No, curated index | Limited free tier, being wound down |
| Third-party SERP API | Full live SERP for any keyword, any location | Yes | Yes, but estimated | Paid, per query or credit |
The honest summary: start with Search Console for your own truth, add a SERP API only when you need live or competitive data. Most small teams never need more than the free option.
Here is the realistic path to pull your positions programmatically. You do not need to be an engineer, but you do need a Google account with verified Search Console access.
query and page, and a row limit. The response returns rows with clicks, impressions, CTR, and position.startRow until you have pulled everything you need.If code is a barrier, a Google Sheets script using the same API is the gentlest on-ramp, and it pulls daily data without a server. Google's official quickstart and the Search Console API documentation cover both routes in detail.
Search Console data is honest but imperfect, and ignoring its quirks leads to bad conclusions. Keep these in mind:
For SERP APIs, the headline limitation is different: positions are location-dependent estimates, and costs scale with volume. Budget your queries the way you would budget ad spend.
The biggest error is treating average position as a live rank. A reader sees "8.4" and assumes their page sits at slot eight today. It might sit at three for branded searches and fifteen for broad ones. Read the metric for what it is.
A few more traps to avoid:
These mistakes are common because position data feels simple and is not. Context matters in an environment where Google reports its AI Overviews now reach more than 1.5 billion users a month across over 100 countries as of 2025, which reshapes how often a classic blue-link position even appears.
That measurement-to-action gap is exactly what we close for clients. When Swordfish AI partnered with Rankite, they grew revenue 400% from organic search, because we treated position data as a starting point for fixes, not a scoreboard to admire.
Can I check live keyword positions with a free Google API? No. The free Search Console API reports your own average position with a two to three day lag, not a live rank. Live positions require a paid third-party SERP API, which is not a Google product.
Does the Google Search Console API show competitor rankings? No. It only reports data for properties you own and have verified. To see where competitors rank, you need a third-party SERP API that can query any keyword.
Why does my Search Console position differ from a rank tracker? They measure differently. Search Console averages your real impressions over time and location, while a rank tracker checks one location at one moment. Both can be accurate while disagreeing.
Is the Custom Search JSON API a SERP rank checker? No. It returns results from a Programmable Search Engine over a curated set of sites, not the live Google results page. It is the wrong tool for rank tracking, and Google is winding it down.
Do I need to write code to use the Search Console API? Not necessarily. A Google Sheets script using the same API pulls daily data without a server. A Python or service-account setup is better for fully automated, large-scale pulls.
How current is Search Console data? Expect a two to three day reporting lag, with dates measured in Pacific Time. It is built for spotting trends, not for monitoring the SERP minute by minute.
Which parameters control the position a SERP API returns? The location and device parameters matter most, because local and mobile results differ sharply. Country (gl), language (hl), and result count (num) round out the request. Change the location and the same keyword can return a completely different position.
Can I build my own keyword position tracker? Yes. You need a keyword store, a scheduler, SERP API requests, a parser that finds your URL in the results, a database for history, and a reporting layer. For your own pages, the Search Console API supplies the keyword list and data in a single call, so you only build the storage and schedule.
Do SERP APIs track AI Overviews and featured snippets? Many do. Their JSON responses include blocks for SERP features such as featured snippets, People Also Ask, local packs, and AI Overviews, alongside the classic organic positions. This matters as AI Overviews push standard blue-link results further down the page.
Start free. Verify your property, enable the Search Console API, and pull your queries into a sheet so you have a position history within a week. Use that data to find pages stuck on page two, where small improvements move the most traffic, then add a third-party SERP API only if you need live or competitor positions.
When you are ready to turn position data into ranking gains, book a free SEO audit and we will map your highest-leverage keywords to the fixes that move them.
Get a free, no-obligation SEO audit and a 30-minute strategy session. We'll show you exactly where the growth is hiding.
Fill out the form and we'll get back to you within one business day. Prefer email? Write to us directly at contact@rankite.com.