Skip to content
APIHiver

SERP API Explained: How It Works and What It Costs (2026)

A SERP API returns search results as clean JSON. How it works, what you get back, what seven providers charge, and the Google rules you should know.

9 min readBy Mivaan Sanghani
In this post

You type a keyword into Google and get a page of results. Now imagine your program needs that same page, 1,000 times a day, for 1,000 different keywords, from different countries. Doing it by hand is impossible, and doing it with code is harder than it sounds.

That is the job of a SERP API. This guide explains what it is, how it works behind the scenes, what comes back, what seven providers charge, and the Google rules you should know before you build on one. Prices and field names below come from the providers' own pricing, documentation and sample responses as of 5 November 2026.

A wooden library card catalogue drawer with index cards fanned out in ranked order, one card lifted slightly above the rest

What is a SERP?#

A SERP is a search engine results page: the page you see after you search. Google's own documentation lists the pieces of that page. A normal result has a title link, a snippet, a visible URL and sometimes a date or sitelinks. Around it you can find image and video results and "exploration" boxes such as related searches and related questions.

Part of the pageWhat it is
Organic resultsThe ranked list of web pages
AdsPaid results at the top and bottom
Featured snippet or answer boxA short answer pulled from one page
People Also AskRelated questions that expand
Knowledge panelA fact box about a person, place or thing
Local pack and mapsNearby businesses with ratings
Images, videos, shoppingResult types with their own layouts
AI OverviewAn AI-written summary above the results

What is a SERP API?#

A SERP API is a service that visits the search results page for you and hands back the contents as structured data. You send a keyword, a country, a language and a device type. You get back JSON with each part of the page already separated.

If APIs are new to you, our beginner guide What Is a REST API? takes about ten minutes.

Why not just fetch the page yourself? Because search engines treat automated visitors differently from people. You hit IP blocks, CAPTCHAs, pages that need JavaScript, and layouts that change without warning. A SERP API provider takes on that work and charges you per search.

How a SERP API works#

Providers describe roughly the same pipeline. This is the providers' own description of the process.

  1. You send a request with the keyword, location, language and device.
  2. The provider picks a route. It sends the search through an IP address in the right country, from a large pool, so results match what a local would see.
  3. It loads the page. Some parts of the page need a real browser engine to appear, so providers run browsers on their side.
  4. It parses the page into fields such as position, title, link and snippet.
  5. It returns JSON and bills you, usually only for searches that succeeded.

You never see steps 2 to 4. That hidden work is what you are paying for.

What you get back#

A typical response has a small block of information about the search, then one list for each part of the page. Each organic result usually carries a position, a title, a link and a snippet.

The names are where it gets messy. Here are the field names in the public sample responses on three providers' own sites, as of 5 November 2026:

Part of the pageSerperSerpApiSearchAPI
Organic resultsorganicorganic_resultsorganic_results
Knowledge panelknowledgeGraphknowledge_graphknowledge_graph
People Also AskpeopleAlsoAskrelated_questionsnot in the sample
Related searchesrelatedSearchesrelated_searchesrelated_searches
Maps and localplaceslocal_resultsnot in the sample

Two things stand out. Serper uses camelCase and the other two use snake_case. And the same box, People Also Ask, is called peopleAlsoAsk at one provider and related_questions at another. If your code reads one provider's field names, changing provider means changing your code.

The fix is a small adapter that turns every provider into one shape you control. This one handles two of them:

def normalise(vendor, data):
    if vendor == "serper":        # camelCase names
        organic = data.get("organic", [])
        paa = data.get("peopleAlsoAsk", [])
    elif vendor == "serpapi":     # snake_case names
        organic = data.get("organic_results", [])
        paa = data.get("related_questions", [])
    else:
        raise ValueError("unknown vendor")
    return {
        "results": [{"rank": r["position"], "title": r["title"], "url": r["link"]} for r in organic],
        "questions": [q["question"] for q in paa],
    }

Run on two small samples that use the field names above, it gives the same output for both. That shows the adapter logic works, so check the field names against the provider's current documentation before relying on it.

What a SERP API costs#

Here are the prices each provider shows on its own pricing page, converted to the price per 1,000 searches so you can compare them.

ProviderFree planPaid exampleAbout per 1,000
SerpApi250 searches a month$25 for 1,000; $75 for 5,000; $150 for 15,000; $275 for 30,000 a month$25 down to $9.17
Serper2,500 free queriesSee provider pagen/a
Zenserp50 searches a month$49.99 for 25,000; $149.99 for 100,000 a month$2.00 and $1.50
VALUE SERPSee provider page$50 for 25,000 credits a month, billed annually$1.60 to $1.00 on larger plans
SearchAPI100 requests$40 for 10,000; $100 for 35,000 a month$4.00 and $3.00, as stated by the provider
DataForSEOSee provider pagePay as you go, $0.0006 per SERP in the standard queue to $0.002 live$0.60 to $2.00
Google Custom Search JSON API100 queries a day$5 per 1,000, closed to new customers$5

Before you pick on price, also check whether the provider returns only the search results or also the text of each page. A SERP API returns titles, links and snippets. If your project needs the full text of those pages, you need a second step on top, and that cost is not on the SERP invoice.

The Google rules you should know#

Google's spam policies define "machine-generated traffic" as sending automated queries to Google, including scraping results for rank-checking, without express permission. They say it violates both the spam policies and the Terms of Service.

SERP API providers sit in that grey area, and the legal fight around them is still moving. We cover the lawsuit and the options in our Google search API guide. Google's official route, the Custom Search JSON API, is now closed to new customers, and existing customers have until 1 January 2027 to move.

Practical advice:

  • Use a SERP API for rank tracking, monitoring and research, not as the engine of a product that must never fail.
  • Pick a provider that is open about its legal position.
  • Keep the adapter above, so you can switch.
  • Running this for client reports? Our SEO API guide for agencies compares what each route costs for 25 clients.
  • Cache results. Rankings do not change by the minute.

When a SERP API is the right tool#

You want to...SERP API?
Track where your site ranks for 500 keywordsYes
Watch competitors' ads or local rankingsYes
Collect People Also Ask questions for content ideasYes
See what shows in AI Overviews for your topicsMaybe, check the provider
Add "search the web" to an AI appOften not; an AI search API may fit better
Search only your own websiteNo; use a site search

How to choose one#

  1. Which search engine and which result types do you need? Not every provider covers maps, shopping or AI Overviews.
  2. How many searches a month? Work out the price per 1,000 at your volume.
  3. Do you pay only for successful searches? This matters when pages fail.
  4. How fast must it be? Providers state different response times. Test with your own keywords.
  5. How are the fields named? Plan the adapter from day one.
  6. What is the legal position? Read the terms and any legal-protection promise.

Before you decide#

  • Prices are from each provider's page on 5 November 2026 and change often. Free tiers and some prices vary, so confirm on the provider's page.
  • Speed, accuracy and uptime claims in provider docs are the providers' own, so test with your own keywords.
  • Google's own policy says automated queries break its rules, so weigh that risk before you build on a SERP API.
  • This is not legal advice.

Sources#

SerpApi's guides "What is a SERP?" and "Getting started with SerpApi", the You.com guide to SERP APIs, OpenWeb Ninja's "What is a SERP API?", Bright Data's SERP API introduction, Semrush, Backlinko and SiteGuru on what a SERP is, the SerpApi, Serper, Zenserp, VALUE SERP, SearchAPI and DataForSEO pricing and product pages, Google Search Central's spam policies and Visual Elements gallery, Google's Terms of Service, and Google's Custom Search JSON API overview. Where a claim is a provider's own, we say so.

Try APIs on the APIHiver marketplace

Discover free and paid APIs for travel, finance, AI, weather, maps and more. Test each endpoint in your browser and use one key for all of them.

Share this post

Frequently asked questions

What is a SERP API?
A SERP API is a paid service that runs a search for you and sends back the results page as structured data (JSON). You send a keyword, a country and a language, and you get the organic results, ads, People Also Ask questions, maps results and other parts of the page, already separated into fields.
What does SERP stand for?
SERP stands for search engine results page, the page a search engine shows after you type a query. In finance, SERP can also mean a Supplemental Executive Retirement Plan, which is unrelated to search.
Is using a SERP API legal?
It is a grey area, not a clear yes. Google's own spam policies say that sending automated queries to Google, including scraping results for rank checking, without express permission violates its policies and Terms of Service. SERP API providers run that risk on your behalf, and some offer legal-protection programmes. Ask a lawyer before building a business on it.
How much does a SERP API cost?
From about $0.60 per 1,000 searches to $25 per 1,000, depending on the provider, plan and speed. Free plans range from 50 to 2,500 searches. The cheap and expensive options are not like for like, because speed, success-only billing and support differ. See the price table in this guide.
What is the difference between a SERP API and web scraping?
With scraping you fetch and read the page yourself, and you also have to handle IP blocks, CAPTCHAs and layout changes. A SERP API does that work for you and returns clean JSON. You are still relying on scraping, just done by someone else.
Can a SERP API track Google AI Overviews?
Some can. SerpApi lists separate Google AI Overview and Google AI Mode APIs, and other providers say they support AI Overviews too. Check the provider's documentation for the exact field names and whether results are returned on every search.
Is there a free SERP API?
There are free plans, not unlimited free use. SerpApi gives 250 searches a month, Serper 2,500 free queries, SearchAPI 100 free requests and Zenserp 50 searches a month. Google's own Custom Search JSON API is closed to new customers.