Preferences

Privacy is important to us, so you have the option of disabling certain types of storage that may not be necessary for the basic functioning of the website. Blocking categories may impact your experience on the website. More information (Cookie Policy)

Accept all cookies

SERP API: How Search Result APIs Work and How to Pick the Right One

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.

Published on:
17/10/2026
-
Updated on:
17/10/2026
Cover of the Sorank guide to SERP APIs, with a Google results page turned into structured JSON data

Tools

Thibault Besson-Magdelain, founder of Sorank

About Author

Thibault Besson-Magdelain

Founder of Sorank, 7+ years of experience in SEO, GEO enthusiast.
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

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.

How does a SERP API work?

  1. You send a request with parameters: the query, the search engine, the country, city or coordinates, the language, the device (desktop or mobile), the page or number of results.
  2. The provider runs the search from an IP and a location that match your parameters, through its own pool of proxies and browsers.
  3. It parses the page: every block of the SERP is identified and turned into fields.
  4. You receive JSON in real time (a few seconds) or through a task queue that you poll later, which is often cheaper.
Field returnedContentTypical SEO use
Organic resultsPosition, URL, title, snippet, domainRank tracking, competitor lists
AdsAdvertiser, position, text, display URLPaid competition on a keyword
Featured snippetSource URL, extracted text or listPosition zero opportunities
People Also AskQuestions and source pagesFAQ ideas, content briefs
Local packBusiness names, ratings, addressesLocal SEO monitoring
AI OverviewGenerated text and cited sourcesChecking whether your pages are cited
Related searches, knowledge panel, videos, shoppingOther SERP featuresMapping what occupies the page

What are SERP APIs used for?

  • Rank tracking: daily positions for a list of keywords, by city and device, at a scale manual checks cannot reach. Our guide on checking keyword positions with an API shows the method.
  • Competitor analysis: which domains appear most often on your topics, and on which queries they beat you.
  • Research and studies: measuring the share of SERP features, the presence of forums or videos, the volatility of results across thousands of queries.
  • Content briefs: collecting the top 10 URLs, their titles and the People Also Ask questions before writing.
  • Monitoring AI Overviews: detecting on which queries an AI summary appears and whether it cites you or a competitor. Our glossary entry on Google AI Overviews explains the format.
  • Internal tools and AI agents: giving a chatbot or an automation fresh search results to ground its answers.

Who are the main SERP API providers?

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.

How do you choose a SERP API?

CriterionWhat to checkWhy it matters
Price per 1,000 requestsReal-time vs queued, cost of extra pages, minimum commitmentRank tracking multiplies keywords x locations x devices x days
Location accuracyCountry, city, postal code or GPS coordinatesLocal results change from one district to the next
Devices and enginesDesktop and mobile, Google, Bing, YouTube, marketplacesMobile and desktop rankings differ; Bing feeds Copilot
SERP feature coverageWhich blocks are parsed, and how fast new ones are supportedA tool that ignores AI Overviews misses a large part of the page
AI Overview parsingFull text, cited sources, handling of answers that load after the pageEssential if you track AI visibility
Latency and reliabilityResponse time, success rate, uptime commitmentsMatters for live tools and agents
DepthNumber of results per request (Google now shows about 10 organic results per page)Tracking beyond page 1 costs more requests
Documentation and supportLibraries, examples, change logsGoogle 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:

  • prefer providers that state their compliance approach clearly and that you can replace quickly;
  • store only the data you need, and never personal data from the results without a legal basis (GDPR in Europe);
  • keep your tools able to switch provider or fall back on first-party data such as Search Console.

Does Google offer an official alternative?

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.

How do SERP APIs fit into SEO and GEO?

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.

Frequently asked questions

Is there a free SERP API?

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.

What is the difference between a SERP API and web scraping?

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.

Can a SERP API track AI Overviews?

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.

Our Blog for Ambitious Company

Our free SEO tools

See all our free tools

THEY TRIED SORANK BEFORE YOU

Testimonials from ambitious founders

Organic growthE-commerce

0 to 10000 visitors in 5 months

Celio Fabianomonrobotlavevitre.fr
Organic growthSoftware

0 to 5000 clients in 8 months

Thibault BMsorank.com
Organic growthLeisure and aviation

0 to 1104 clicks in 4 months

Dominiqueflight-sensations-idf.com
Organic growthMusic software

x30 clicks in 4 months

Valentin Cordiertiger-sounds.com
Organic growthHealth and wellness

x30 clicks in 4 months

Rodrigue Bretonalthevia.com