A SERP API returns Google results as JSON for rank tracking, research and AI Overview monitoring. How it works, use cases, legal limits and how to choose.

On this page
In short
a SERP API is a paid web service that runs a search on Google (or Bing, YouTube, Amazon) for you and returns the results page as structured data, usually JSON: organic positions, URLs, titles, ads, featured snippets, People Also Ask, local pack and, with some providers, AI Overviews. It is used for rank tracking, competitor analysis, research and internal SEO tools. Google offers no official API for its web results, so these services are third parties, priced per request, with legal risks that you should understand before building on them.
Want to go further? Ask
Quick quiz
Which kind of SEO tool is right for you?
Sorank matches your answers
Test it for 3 days on your own site and see where you stand on Google, ChatGPT and the other AIs.
Start 3-day free trial3 days free, then stop whenever you want. 90-day results guarantee, conditions apply.
A SERP API saves you from maintaining your own scraper: the provider handles proxies, locations, devices, captchas and parsing, and you receive clean fields. This guide explains how it works and how to choose; for a ranked comparison of tools, see our review of the best tools for Google scraping.
| Field returned | Content | Typical SEO use |
|---|---|---|
| Organic results | Position, URL, title, snippet, domain | Rank tracking, competitor lists |
| Ads | Advertiser, position, text, display URL | Paid competition on a keyword |
| Featured snippet | Source URL, extracted text or list | Position zero opportunities |
| People Also Ask | Questions and source pages | FAQ ideas, content briefs |
| Local pack | Business names, ratings, addresses | Local SEO monitoring |
| AI Overview | Generated text and cited sources | Checking whether your pages are cited |
| Related searches, knowledge panel, videos, shopping | Other SERP features | Mapping what occupies the page |
The market includes specialists of search data and large proxy and web data companies. Among the best known: SerpApi (many engines, real-time JSON), DataForSEO (SEO-oriented data with real-time and cheaper queued modes), Bright Data and Oxylabs (proxy networks with dedicated SERP scraping products), and Zenserp or similar lighter services. Large SEO suites such as Semrush or Ahrefs also expose search data through their own APIs, but within their plans and data models. Prices change often and depend on volume, speed and features, so compare them on the providers' current pricing pages rather than on a figure quoted in an article.
| Criterion | What to check | Why it matters |
|---|---|---|
| Price per 1,000 requests | Real-time vs queued, cost of extra pages, minimum commitment | Rank tracking multiplies keywords x locations x devices x days |
| Location accuracy | Country, city, postal code or GPS coordinates | Local results change from one district to the next |
| Devices and engines | Desktop and mobile, Google, Bing, YouTube, marketplaces | Mobile and desktop rankings differ; Bing feeds Copilot |
| SERP feature coverage | Which blocks are parsed, and how fast new ones are supported | A tool that ignores AI Overviews misses a large part of the page |
| AI Overview parsing | Full text, cited sources, handling of answers that load after the page | Essential if you track AI visibility |
| Latency and reliability | Response time, success rate, uptime commitments | Matters for live tools and agents |
| Depth | Number of results per request (Google now shows about 10 organic results per page) | Tracking beyond page 1 costs more requests |
| Documentation and support | Libraries, examples, change logs | Google changes its layout often; parsers must follow |
Start with a test on 50 to 100 of your own keywords: compare positions with Google Search Console averages and with a manual check in a private window set to the right location.
The question has no single answer, and it has become more pressing. Google's Terms of Service forbid accessing its services through automated means other than the interfaces it provides, and in December 2025 Google sued SerpApi in a US federal court, accusing it of bypassing its anti-scraping protections. As a client, the main risk sits with the provider, but you depend on its continuity. Three precautions:
A scraper is code you write and run yourself: it sends the request to Google, handles proxies and captchas, and parses the HTML. A SERP API does the same work for you and returns JSON for a price per request. For a few dozen queries checked now and then, a script you run by hand is enough. For thousands of keywords tracked every day across cities and devices, an API often costs less once you count the engineering time.
| Factor | Your own scraper | SERP API |
|---|---|---|
| Time to first results | Days or weeks, including the parser | Minutes, with an API key and examples |
| Parser updates | Yours, every time Google changes its layout | The provider's, though you still check the output |
| Proxies and captchas | You buy, rotate and debug them | Included in the request price |
| Cost at scale | Proxies, servers and developer time | A price per 1000 requests, plus any extra pages |
| Control | Any parameter, any page, any field you need | Only the fields the provider parses |
| Legal exposure | Yours, as the party sending the requests | Mostly the provider's, but you depend on its continuity |
A scraper can be the right choice when no provider returns the field you need, or when your volume is small and steady. Keep it narrow: one engine, one country, a few hundred keywords. Save the raw HTML for a sample of queries, so you can see what changed when a parser breaks. Log the status code of every request. Without it, a blocked request and a keyword that returns no results look the same in your data.
Tip
Run both for two weeks on the same 50 keywords. If the API matches your script and saves you maintenance time, keep the API. If you need a field it never returns, that is the point where building makes sense.
Once you choose, use the same settings for every check. Our rank tracking guide explains how to set up daily checks, and SERP monitoring covers which features to track alongside the positions.
Only partly. The Custom Search JSON API searches a Programmable Search Engine, not the real Google results page: rankings, ads and SERP features differ, and quotas are low. Google has also closed it to new customers and announced its discontinuation on January 1, 2027 (checked October 2026), pointing to Vertex AI Search, which searches a limited set of sites. For your own site, the Search Console API remains the reliable official source of clicks, impressions and average positions.
A SERP API tells you what Google shows; it does not tell you what ChatGPT, Gemini or Perplexity answer to the same question. Since the AI build their answers from search results and their own retrieval, the two views complement each other: SERP data to track rankings and AI Overviews, prompt tracking to see whether assistants cite your brand. Sorank tracks your presence in ChatGPT, Claude and Gemini on autopilot and writes the content that helps you appear in both.
A SERP API turns Google results into data you can track at scale; choose it on location accuracy, feature coverage including AI Overviews, and real cost per keyword tracked. Then cross-check its numbers with Search Console before making decisions.
Most providers offer a free tier or a trial, usually limited to a few hundred searches per month, enough to test but not to track rankings at scale. Google's own Custom Search JSON API had a small free quota but does not return the real results page, is closed to new customers and is scheduled to stop in January 2027.
Web scraping means writing and maintaining your own code to load and parse pages, including proxies, captchas and layout changes. A SERP API is a managed service that does all of this for you and returns structured fields for each result. You pay per request instead of maintaining infrastructure.
Several providers now parse AI Overviews, returning the generated text and the cited sources when the summary appears. Coverage varies: some answers load after the page, and AI Overviews only show on part of the queries. Test a sample of your keywords and check the results manually before relying on them.
