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)

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
Reading time
7 min
SERP API: How Search Result APIs Work and How to Pick the Right One

Tools

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?

Question 1 of 425%
How well do you know SEO?

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.

Scraping vs API: should you build your own SERP scraper?

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.

FactorYour own scraperSERP API
Time to first resultsDays or weeks, including the parserMinutes, with an API key and examples
Parser updatesYours, every time Google changes its layoutThe provider's, though you still check the output
Proxies and captchasYou buy, rotate and debug themIncluded in the request price
Cost at scaleProxies, servers and developer timeA price per 1000 requests, plus any extra pages
ControlAny parameter, any page, any field you needOnly the fields the provider parses
Legal exposureYours, as the party sending the requestsMostly the provider's, but you depend on its continuity

When a scraper makes sense

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.

Mistakes to avoid

  • Sending bursts of requests from one IP. Blocks arrive quickly, and they often look like missing data rather than errors.
  • Recording a failed request as position zero or as "not ranking". A failed request and a page outside the top 100 need different labels.
  • Comparing scraped or API positions with another tool without matching the location and device settings first.
  • Choosing a provider on price per request alone. Count failed calls, retries and the time you spend on fixes.

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.

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.

Get your content plan for 30 days for free

We analyse your competitors, your website and your AI visibility to create a tailored content plan for free.

Our free SEO tools

See all our free tools

Get your content plan for 30 days for free

We analyse your competitors, your website and your AI visibility to create a tailored content plan for free.

Man with dark hair and beard wearing a light brown shirt speaks in front of a microphone on a podcast or recording setup.Portrait of a man with short dark hair wearing a white shirt and dark jacket, looking directly at the camera with a neutral expression.Man with short dark hair, beard, and clear glasses wearing a black t-shirt with a white circular logo, standing in front of a stone wall.Celio fabianoSmiling young woman with long brown hair wearing a red top and necklace, outdoors in a tree-filled background.Profile photo of Xavier Breull, Sorank customer
Google
Solid yellow five-pointed star icon on transparent background.Solid yellow five-pointed star icon on transparent background.Solid yellow five-pointed star icon on transparent background.Solid yellow five-pointed star icon on transparent background.Solid yellow five-pointed star icon on transparent background.
5/5
+5,000
users

Testimonials from ambitious founders

0 to 10000 visitors in 5 months

Celio Fabianomonrobotlavevitre.frGoogleE-commerce

0 to 5000 visits in 8 months

Thibault BMsorank.comGoogleSoftware

0 to 1104 clicks in 4 months

Dominiqueflight-sensations-idf.comGoogleLeisure and aviation

0 to 163 clicks in 6 months

Coworking Pariscoworking-paris.frGoogleOffice broker

x92 clicks in 7 months

Guide Zanzibarguidezanzibar.comGoogleTravel