Rank tracking sounds simple: search a keyword, find a domain, record its position, and repeat the process over time.
In production, it becomes more complex. Rankings vary by country, language, device, location, and SERP feature. Search pages change constantly. Keyword lists grow. Competitor monitoring adds more volume.
A SERP tracker API — a rank tracking layer built on top of a SERP API — gives SEO tools a reliable way to monitor Google positions without maintaining search scraping infrastructure.
What Rank Tracking Really Requires
A useful rank tracker needs more than a single position number.
It should capture:
- Keyword
- Target domain
- Ranking URL
- Position
- Country
- Language
- Device
- Timestamp
- SERP features
- Competitor URLs
- Historical movement
This data lets users see whether rankings improved, declined, changed URL, or became affected by new SERP features.
Reading SERP Positions from the API
A SERP position API returns the whole results page as JSON, so your tracker reads positions instead of parsing HTML. With SerpBase, one Google Web Search request (1 credit) returns one page of results:
curl -X POST https://api.serpbase.dev/google/search \
-H "Content-Type: application/json" \
-H "X-API-Key: your_api_key" \
-d '{"q": "rank tracking api", "gl": "us", "hl": "en", "page": 1}'
Each item in organic carries two numbers, and a tracker should store both:
rank— the order within the organic list on that page. This is the classic "we rank #4" number. For page 2 and beyond, add the number of organic results you already counted on earlier pages.position— where the result sits on the whole page, counting each other module (AI Overview, People Also Ask, local pack, videos) as one block. A page can rank #1 organically yet sit at position 4 below three modules.
Single-card modules such as ai_overview, featured_snippet and knowledge_graph carry their own position too, which is what you need to explain a click drop that is not a ranking drop. Check status in the body: a failed search returns a non-zero status rather than an empty result list, so a missing domain is never confused with a failed request.
For a complete script that stores daily positions, see build a keyword rank tracker in Python.
Why Localization Matters
Google rankings are not universal. A keyword may rank differently in the United States, Canada, Germany, Japan, or Brazil. Local intent can make the difference even more dramatic.
If your SEO tool serves customers in multiple markets, your rank tracking workflow should support country and language parameters (gl and hl).
For local businesses, you may also need city-level checks. On SerpBase, mobile searches accept a location such as "Munich,Bavaria,Germany"; valid names come from the free /google/locations endpoint (see search locations). Maps results are a separate endpoint and should be tracked separately.
Scheduling and Volume Planning
Rank tracking cost is driven by volume.
The formula is simple:
Keywords x locations x devices x frequency = search volume
For example, 5,000 keywords across three countries and two devices becomes 30,000 checks per run. If you run that daily, the API cost matters.
This is why SEO tools should design rank tracking carefully:
- Track important keywords daily
- Track lower-priority keywords weekly
- Cache repeated queries when possible
- Avoid unnecessary device duplication
- Separate organic tracking from Maps tracking
- Use alerts for meaningful changes, not every small movement
Competitor Monitoring
A SERP API can help track more than one domain. By storing the full organic result page, you can monitor which competitors appear for each keyword.
This supports features such as:
- Share of SERP
- New competitor detection
- Ranking URL comparison
- Content gap analysis
- SERP volatility alerts
Instead of asking only “where do we rank,” the product can answer “who is winning this search intent.” For a worked example with alerts, see how to monitor competitor SEO rankings.
SERP Features Affect Ranking Interpretation
Modern Google results may include featured snippets, People Also Ask, local packs, videos, news boxes, images, and other modules.
These features can change user behavior. A domain may rank third organically but appear inside a featured snippet or video block. Another page may rank first organically but sit below a large local pack.
A good rank tracking system should store SERP features so users understand the full page, not only the organic order.
Why Use a SERP API Instead of Scraping?
SEO teams need historical consistency. If your parser breaks, your ranking history becomes noisy.
A SERP API reduces that risk by handling retrieval, parsing, and normalization. Your application can focus on storing results, calculating movement, and presenting insights.
This is especially useful when tracking many keywords across many locations.
Final Thoughts
A rank tracking API is only as good as its SERP data layer. Reliable positions, localization controls, structured JSON, and predictable pricing all matter.
SerpBase gives developers low-cost access to Google SERP data across Search, Maps, Images, News, and Videos, making it a practical foundation for SEO tools that need rank tracking without building their own scraper.