AI Overview APIGoogle’s AI answer and its citations, as JSON

Fast, Accurate Search Data Built for Developers

Zenserp lets you fetch live Google search results through a fast and stable SERP API.

Supported platforms
GET /api/v2/search?q=pied+piper

what the API returns

{
  "organic": [
    {
      "position": 1,
      "title": "Pied Piper of Hamelin...",
      "url": "https://en.wikipedia.org/...",
      "description": "The Pied Piper of..."
    }, {
      "position": 2,
      "questions": [ ... ]
    }, {
      "position": 3,
      "videos": [ ... ]
    }
  ]
}

what a searcher sees

pied piper
1

en.wikipedia.org › wiki › Pied_Piper_of_Hamelin

Pied Piper of Hamelin - Wikipedia

The Pied Piper of Hamelin is the titular character of a legend from the town of Hamelin, Lower Saxony.

2
People also ask What is the meaning of the Pied Piper?
What is the legend of the Pied Piper?
3
Videos Walt Disney’s Fables - Pied Piper

Drag to see the JSON behind the results page.

Google AI Overview API

Add ai_overview=1 to a search and the response carries the AI-generated answer Google shows above the organic results, split into text blocks, with every source it cites.

GET /api/v2/search?q=what+makes+the+best+pizza&ai_overview=1&hl=en&gl=us

what a searcher sees

what makes the best pizza

AI Overview

text_blocks[0]

The best pizza comes down to a balance of a well-fermented dough, quality tomatoes, fresh mozzarella, and a very hot oven. A thin, airy crust with a slight char is widely considered ideal.

text_blocks[1]

Key qualities of a great pizza

  • Dough fermented at least 24 hours for flavor and texture.
  • San Marzano-style tomatoes for a sweet, low-acid sauce.
  • A bake temperature of 430-480°C (800-900°F).
citations[]
  • 0doreenspizzeria.com
  • 1seriouseats.com
  • 2bonappetit.com
  • 3ooni.com

what the API returns

{
  "ai_overview": {
    "present": true,
    "text_blocks": [
      {
        "type": "paragraph",
        "text": "The best pizza comes down to..."
      },
      {
        "type": "list",
        "title": "Key qualities of a great pizza",
        "items": [ ... ]
      }
    ],
    "citations": [
      {
        "title": "7 Qualities of a Perfect Pizza Slice",
        "url": "https://www.doreenspizzeria.com/...",
        "domain": "doreenspizzeria.com",
        "position": 0
      },
      { "domain": "seriouseats.com", "position": 1, ... },
      { "domain": "bonappetit.com", "position": 2, ... },
      { "domain": "ooni.com", "position": 3, ... }
    ]
  }
}
  • ai_overview=1

    One parameter, on the same endpoint as every other search.

  • Text blocks

    The answer split into paragraphs and lists, each typed.

  • Every citation

    Title, URL, domain and source for each page the answer cites.

  • present: false

    A query with no AI Overview is a successful response, not an error.

Available from the Small plan at $49.99 a month. An AI Overview request is billed at three times the standard search rate.

One API, Endless Possibilities

Scrape Google, YouTube, and Shopping Results with ease using our SERP API. We cover all major search engines and frequently add new endpoints to our search API.

GET /api/v2/search tbm= Six Google surfaces web, images, video, local, news, shopping search_engine= Three other engines Bing, Yandex, YouTube image_url= /api/v1/shopping /api/v1/trends Three that take another input an image, a product id, or a list of keywords

Google

Six tabs of the same results page, one parameter apart.

GET /api/v2/search?q=pied+piper

what the API returns

{
  "organic": [
    {
      "position": 1,
      "title": "Pied Piper of Hamelin - Wikipedia",
      "url": "https://en.wikipedia.org/wiki/...",
      "description": "The Pied Piper of Hamelin is..."
    },
    {
      "position": 2,
      "questions": [
        { "question": "What is the meaning of..." },
        { "question": "What is the legend of..." }
      ]
    }
  ]
}

what a searcher sees

pied piper
1

en.wikipedia.org › wiki › Pied_Piper_of_Hamelin

Pied Piper of Hamelin - Wikipedia

The Pied Piper of Hamelin is the titular character of a legend from the town of Hamelin, Lower Saxony.

2
People also ask What is the meaning of the Pied Piper?
What is the legend of the Pied Piper?

Pick a search type, then drag to see the JSON behind it.

Other engines

Three more engines, on the same endpoint and the same key.

Bing Search API search_engine=bing.com

Organic results, ads and video results from Bing.

Yandex Search API search_engine=yandex.com

Yandex results in the same JSON shape.

YouTube Search API search_engine=youtube.com

Location based YouTube result pages.

Not a keyword query

Three that take something other than a phrase: an image, a product id, or a list of keywords.

Reverse Image Search API image_url=

Pages that contain a given image.

Google Shopping Product Page API /api/v1/shopping

One product by its Google Shopping product_id.

Google Trends API /api/v1/trends

How the popularity of search phrases compares over time.

Start building

Every endpoint, parameter and error code is in the documentation, with samples in cURL, Python, Node.js and PHP.

$ curl "https://app.zenserp.com/api/v2/search?q=Pied%20Piper" \
    -H "apikey: YOUR-APIKEY"
GET https://app.zenserp.com/api/v2/search?q=pied+piper 200

Try Our Complete and Easy-to-use API

Our Google search API provides plenty of setting parameters and filters that allow you to refine your search. For further testing, please visit our Playground.

01 / the request

Send a query, get structured JSON back.

One GET, with the key in an apikey header. What comes back is the results page: each link with the position it ranked at, its title, its URL and the snippet underneath it.

One results page carries up to 100 results, and over 400 results with pagination.

?q=pied+piper

02 / the same request

People also ask comes back too.

A results page is not a list of links. A People also ask block holds a position like anything else, and it arrives in the same array with questions where the link fields would be.

Nothing was added to the request to get this. It is what position two was.

organic[1].questions[]

03 / the same request

So do the inline video results.

Position three was a row of videos. It comes back as videos, each with the title and the URL that was behind it.

Read the array and you have the page in the order a searcher saw it.

organic[2].videos[]

04 / one parameter

Change one parameter, change the SERP type.

Images, video, the local pack, news and shopping are the same endpoint with tbm set. Bing, Yandex and YouTube are the same endpoint with search_engine set.

There is no second API to learn and no second key to manage.

&tbm=lcl

05 / another parameter

Get geolocated results, city by city.

Search results differ by city, so the request names the city. Rank tracking that ignores this is rank tracking for a place nobody is sitting.

The accepted values are not guesswork: three list endpoints return them.

&location=Manhattan,New York,United States

06 / the balance

Check your remaining requests before a big job.

One endpoint returns the requests remaining on the plan. Call it before a large job rather than finding the ceiling in the middle of one.

/api/v2/status
response

on the results page

{
  "organic": [
    {
      "position": 1,
      "title": "Pied Piper of Hamelin - Wikipedia",
      "url": "https://en.wikipedia.org/wiki/...",
      "destination": "https://en.wikipedia.org/wiki/...",
      "description": "The Pied Piper of Hamelin is..."
    }
  ]
}
response

on the results page

People also ask

  • What is the meaning of the Pied Piper?
  • What is the legend of the Pied Piper?
  • What is the moral of the story pied piper?
{
  "organic": [
    { "position": 1, ... },
    {
      "position": 2,
      "questions": [
        { "question": "What is the meaning of the Pied Piper?" },
        { "question": "What is the legend of the Pied Piper?" },
        { "question": "What is the moral of the story pied piper?" }
      ]
    }
  ]
}
response

on the results page

Videos

youtube
Walt Disney's Fables - Pied Piper
youtube
The True History of The Pied Piper...
{
  "organic": [
    { "position": 1, ... },
    { "position": 2, ... },
    {
      "position": 3,
      "videos": [
        {
          "title": "Walt Disney's Fables - Pied Piper",
          "url": "https://www.youtube.com/watch?v=UXOCHn7Vfec"
        },
        {
          "title": "The True History of The Pied Piper of Hamelin | Fairy...",
          "url": "https://www.youtube.com/watch?v=obIAwAAcAAg"
        }
      ]
    }
  ]
}
every parameter, one endpoint
Add thisAnd the endpoint returns
tbm=ischImages, with their source pages
tbm=vidVideo results
tbm=lclThe local pack
tbm=nwsNews results
tbm=shopShopping results
image_url=Pages containing a given image
search_engine=bing.comBing
search_engine=yandex.comYandex
search_engine=youtube.comYouTube
start=100Results from the hundredth
the list endpoints
EndpointReturns
/api/v2/locationsEvery location location= accepts
/api/v2/glCountry codes
/api/v2/hlInterface language codes
/api/v2/search_enginesEvery engine search_engine= accepts
GET /api/v2/status
{
    "remaining_requests": 1500
}

Scrape Google Search Results Without Limits

Unlock the full potential of Google search results with our API's many benefits.

Any language

Supports All Programming Languages

Zenserp can be used with any programming language, as data can be simply retrieved by any HTTP client.

CPythonJavaScriptRubySwiftGoJavaPHPC#
  • Works with any programming language over HTTP
  • apikey header, or a URL parameter
  • Up to 100 results a page, start= for pagination

Read the documentation

Request builder

Request Builder

Getting started is easy. We provide an extensive request builder, that converts your requests into production ready code snippets.

  • Every parameter, with its accepted values
  • The response as it will arrive
  • Signed in, the docs carry your own key

Open the playground

Generous free plan

Generous Free Plan

We believe in fair pricing. Hence, we offer you 50 API requests per month for free. No strings attached!

  • Many queries, one submission
  • /api/v1/batches/{id} for the result
  • Starts on the Medium plan

See the plans

Transform Your Search Strategy

Location based

Accurate and geolocated search engine results, city by city.

Highly scalable

Enough performance behind it however high the volume goes.

Maximum speed

Strong infrastructure returns results in realtime, under 500ms.

Affordable

Only pay for what you need, from the free plan upward.

Common use cases

Four jobs our customers run the API for. Each is the same endpoint with one parameter changed, and the request that does it is printed on the card.

rank tracking

Where a page sits this morning

Run the query, find the domain, store the position. A results page is not ten links, so the number you store has to count the answer boxes too.

/api/v2/search?q=pied+piper

  • 1en.wikipedia.orgorganic
  • 2People also askquestions[]
  • 3Video carouselvideos[]

local visibility

Where a business ranks in one city

Results differ by city, so the request names the city. Rank tracking that skips this is rank tracking for a place nobody is sitting.

/api/v2/search?q=Coffee+House+Vienna&tbm=lcl&location=

  • /api/v2/locations every city the API accepts
  • /api/v2/gl country codes
  • /api/v2/hl interface language codes

price monitoring

What a competitor charges today

Shopping results carry the sellers for a product query in the order the page listed them. Run it on a schedule and the diff is the story.

/api/v2/search?q=Iphone+12&tbm=shop

  • &location= prices as one market sees them
  • /api/v1/batches many queries as one job
  • &start=100 past the first ten

answer monitoring

What the page answers without a click

A People also ask block occupies a position like any other result. Read it to see which questions Google is answering on the page instead of sending traffic.

/api/v2/search?q=pied+piper → organic[1].questions[]

  • "What is the meaning of the Pied Piper?"
  • "What is the legend of the Pied Piper?"
  • "What is the moral of the story pied piper?"

Our Complete SERP API Covers All Available Snippets

Our SERP API consists of more than organic and paid results. We cover all snippet types and consistently add new ones, as they are added by the search engines. View our Documentation to see a complete list of all supported SERP snippets.

pied piper
1

en.wikipedia.org › wiki › Pied_Piper_of_Hamelin

Pied Piper of Hamelin - Wikipedia

The Pied Piper of Hamelin is the titular character of a legend from the town of Hamelin, Lower Saxony.

2
People also ask What is the meaning of the Pied Piper?
What is the legend of the Pied Piper?
3
Videos Walt Disney’s Fables - Pied Piper

Organic results

One results page can carry up to 100 results, and over 400 results with pagination.

Paid results

All types of Google ads, including their position on the results page.

News results

Inline news inside the organic results, with thumbnail, description and target url.

Video results

Inline video results inside the organic results, with their title and url.

Local results

Google places search. Results carry title, reviews, address and place_id.

Knowledge graph

The knowledge block, when the page carries one for the query.

Related questions

The People also ask block, when it appears on the results page.

Answerbox results

Calculations, weather reports, dictionary entries and the rest.

Maps results

Stores, restaurants and other local businesses from Google Maps.

New snippets

As the search engines release new SERP types, they are added to the API.

See every supported snippet in the documentation

Start Scraping Google pages for free today!

We offer you 50 API requests per month for free, no strings attached. Paid plans start at $49.99 for 25,000 searches.

Simple and Economical pricing

We believe in fair pricing, so every plan shows what a thousand searches costs. Plans are billed monthly, quotas do not roll over, and annual billing saves 20%.

Free

$0.00

50 searches a month

50 searches · $0 a month

Start on the free plan

Medium

$1.50

per 1,000 searches

100,000 searches · $149.99 a month

See the full plan

Large

$1.20

per 1,000 searches

250,000 searches · $299.99 a month

See the full plan

Premium

$1.00

per 1,000 searches

500,000 searches · $499.99 a month

See the full plan

Enterprise

$0.90

per 1,000 searches

1,000,000 searches · $899.99 a month

Ask about higher volume

What each plan includes

Everything each plan includes. Hover any row for what it means.

Feature Free Small Medium Large Premium Enterprise
Searches a monthOne search is one request that returns one results page, which carries up to 100 results and over 400 results with pagination. The quota resets monthly and does not roll over.5025,000100,000250,000500,0001,000,000
Cost per 1,000The monthly price divided by the quota. Compare plans on this number rather than on the headline price.$0.00$2.00$1.50$1.20$1.00$0.90
All SERP typesAll twelve search endpoints: Google, image, video, maps, news and shopping search; Bing, Yandex and YouTube; reverse image; the shopping product page; and trends. Google web search runs on every plan, including Free.Not includedIncludedIncludedIncludedIncludedIncluded
AI OverviewGoogle’s AI-generated answer and every page it cites, from ai_overview=1 on /api/v2/search. Each AI Overview request is billed at three times the standard search rate.Not includedIncludedIncludedIncludedIncludedIncluded
Batch endpoint/api/v1/batches. Submit many queries as one job and collect the result later, instead of holding a queue open yourself.Not includedNot includedIncludedIncludedIncludedIncluded
Keyword search volumeHow many times a keyword is searched, so you can weigh a ranking against the traffic behind it.Not includedNot includedIncludedIncludedIncludedIncluded
Keyword CPCWhat advertisers pay for a click on a keyword, as a measure of what the term is worth.Not includedNot includedIncludedIncludedIncludedIncluded
Bulk index checkerA tool in the dashboard rather than an API endpoint: check many URLs at once for whether Google has them indexed.Not includedNot includedIncludedIncludedIncludedIncluded
Personal supportA named contact rather than the shared inbox. Everyone can reach support on any plan.Not includedNot includedIncludedIncludedIncludedIncluded
Concierge onboardingZenserp sets the integration up with you rather than pointing you at the documentation.Not includedNot includedIncludedIncludedIncludedIncluded
Service level agreementA contractual uptime commitment. Live status is published at zenserp.freshstatus.io on every plan; the agreement is what you can hold them to.Not includedNot includedIncludedIncludedIncludedIncluded
Custom queueYour requests run on their own queue rather than the shared one, so a busy hour somewhere else does not become your latency.Not includedNot includedNot includedNot includedIncludedIncluded

Don't see a plan that fits your needs?

Contact us for a quote if you require a volume that is larger than our enterprise plan.

Contact us for a quote

Frequently asked questions

Do failed requests count against my limit?

A 404 means the query ran and matched nothing, so it counts. A 403 means the request never ran, so it does not. /api/v2/status returns remaining_requests at any time.

How many results does one request return?

By default, 10 results are returned per request, matching a standard Google search results page. Use num (up to 100) to retrieve more results in a single request, and start to specify the offset for pagination. Each successful API request counts as one search against your quota, regardless of how many results it returns.

Can I get results as they rank in a specific city?

Yes. Pass location=Manhattan,New York,United States. /api/v2/locations returns every accepted value.

Which engines are covered?

Google, Bing, Yandex and YouTube, through search_engine. Google's images, video, local, news and shopping tabs are reached with tbm on the same endpoint.

Can I pay annually?

Yes, at 20% off the monthly rate. Plans can be upgraded, downgraded or cancelled at any time.

How much load can your API take?

Our API handles millions of API requests on a daily basis. For our standard plans, we encourage not to exceed 400 concurrent connections. If you need more, please let us know and we are happy to increase that limit for you. Also, we offer an asynchronous batch endpoint, which is useful for extremely large data sets.

Which payment methods do you support?

We accept all common payment methods, including credit cards (MasterCard, Visa, Diner's Club, American Express). Enterprise and high-volume customers may request annual bank transfer payments to be enabled.

What is the difference between the different plans?

The plans vary according to the number of the available search requests. Also, our larger plans come with unlimited support and come with a service level agreement (SLA). No matter how small or big your project is, there is the right plan for you.

What is zenserp.com?

Zenserp.com is a Google SERP API, that enables you to scrape search engine result pages in an easy and efficient way. In realtime and without interruption.

What is the API's uptime?

We are constantly tracking and monitoring the uptime of our service. We are doing every effort to ensure a maximum of availability and reliability, leading to an uptime of 99.9%, calculated on the past 12 months. You can see more detailed information about our API's status, here.

Will you notify me if I run out of requests?

Sure! We will send you an email notification when your monthly usage hits 90% and 100%, so you have enough time to react and adapt your plan.

Still have questions? Let's talk!

Still have questions or need more information? Our team is here to help. Contact us today and we'll be happy to assist you in finding the perfect plan for your needs.

[email protected]