❯serpapisget_key()
01 · search results api · early access

$ search results,
as JSON

SerpAPIs is a pay-as-you-go search results API that returns structured JSON from Google, Bing, YouTube, Google Maps and Autocomplete, with free browser tools, official SDKs and an MCP server for AI agents.

┌ requestGET
curl -G https://api.serpapis.com/v1/google/search \
  -H "Authorization: Bearer $SERPAPIS_KEY" \
  --data-urlencode "q=best running shoes" \
  -d gl=us -d device=desktop
Live mode: Google only on the homepage.
┌ response200 · example data
{
  "search": {
    "engine": "google",
    "q": "best running shoes",
    "gl": "us",
    "device": "desktop",
    "took_ms": 812
  },
  "features": [
    "ai_overview",
    "people_also_ask",
    "video"
  ],
  "organic": [
    {
      "position": 1,
      "title": "Best running shoes: the complete 2026 guide",
      "url": "https://example-guide.com/start",
      "snippet": "Everything you need to know about best running shoes, compared side by side."
    },
    {
      "position": 2,
      "title": "Best best running shoes options, tested",
      "url": "https://reviewlab.example/best",
      "snippet": "We tested 14 options over three months. Here is what held up."
    }
  ]
}
02

This page, as data.

Every block on a results page comes back as a typed field: organic links, ads, the AI Overview, People Also Ask, maps and videos. Same shape on every engine.

Googletrail running shoes
✦ AI Overview

Trail shoes trade cushioning for grip and a rock plate…

trailtested.example
Best trail running shoes of 2026, tested
runfit.example
How to choose trail shoes: a fit guide
People also ask
Are trail shoes good for road running? ⌄
How long do trail shoes last? ⌄
└ response.json■ ai_overview■ organic■ paa
{
  "ai_overview": {
    "text": "Trail shoes trade cushioning for grip and a rock plate…",
    "sources": 3
  },
  "organic": [
    {
      "position": 1,
      "title": "Best trail running shoes of 2026, tested",
      "url": "trailtested.example"
    },
    {
      "position": 2,
      "title": "How to choose trail shoes: a fit guide",
      "url": "runfit.example"
    }
  ],
  "people_also_ask": [
    "Are trail shoes good for road running?",
    "How long do trail shoes last?"
  ]
}

// example data

03

Eight endpoints. One key.

Pick an engine, pay for what you call. Prices are per 1,000 successful requests.

p50 · ~700 ms
illustrative latency
GET$2.50 / 1k

Google Search

/v1/google/search

Organic results, ads, SERP features and AI Overview blocks.

organicadsai_overviewpeople_also_ask
GET$2.50 / 1k

Bing Search

/v1/bing/search

Bing web results in the same JSON shape as Google.

organicrelated_searchesnews
GET$2.50 / 1k

YouTube Search

/v1/youtube/search

Videos with channel, views, duration and publish date.

videoschannelviewsduration
GET$3.00 / 1k

Google Maps

/v1/google/maps

Local listings with rating, reviews, address and phone.

placesratingreviewsaddress
GET$1.00 / 1k

Autocomplete

/v1/google/autocomplete

Search suggestions as people type, A to Z expansion.

suggestionsrelevance
GET$2.50 / 1k

People Also Ask

/v1/google/people-also-ask

Related questions, expanded up to three levels deep.

questionsanswersourcechildren
GET$3.00 / 1k

Google Trends

/v1/google/trends

Interest over time and related queries for up to 5 terms.

timelinerelated_queriesregions
GET$2.50 / 1k

Google News

/v1/google/news

Headlines with source, date and thumbnail.

articlessourcepublished
04 · free tool

SERP snippet preview

A SERP simulator is a tool that previews how a page title and meta description will appear in Google search results and flags text that will be truncated.

title width384 / 600 px
description width1000 / 920 px

48 / 125 characters · Google may still rewrite titles.

desktop
◉
serpapis.com
https://serpapis.com › docs › api › google-search
SERP API for Google, Bing and YouTube | SerpAPIs
Structured JSON from Google, Bing, YouTube and Maps. 100 free searches a month, then pay per 1,000 requests. No …
mobile
serpapis.com
SERP API for Google, Bing and YouTube | SerpAPIs
Structured JSON from Google, Bing, YouTube and Maps. 100 free searches a month, …
title fitsdescription truncated
05

SDKs, MCP and no-code.

early access
$ pip install serpapis
✓ installed serpapis

$ python
>>> from serpapis import Client
>>> r = Client().google.search(q="crm for startups", gl="us")
>>> r.organic[0].url
'https://example-crm.com/startups'
>>> 
PythonNodeGoPHPRubycURL

MCP server for AI agents

Give Claude Desktop, Cursor or Windsurf live web search in one config block.

{
  "mcpServers": {
    "serpapis": {
      "command": "npx",
      "args": ["-y", "serpapis-mcp"],
      "env": { "SERPAPIS_KEY": "sk_live_..." }
    }
  }
}

No-code and frameworks

n8nMakeZapierLangChainLlamaIndex
06

Pay per search. That's it.

100 free searches every month, no card. After that you pay per 1,000 requests, and the rate drops as you grow. No plans, no seats, no credits that expire.

tierper 1k
First 100 each monthfree
First 100k$2.50
100k to 1M$2.20
Over 1M$2.05

Maps and Trends are $3.00 / 1k, Autocomplete $1.00 / 1k.

$ serpapis estimate --searches 50,000
free allowance-100
49,900 × $2.50/1k$124.75
monthly total$124.75
effective $2.50 per 1,000
Get an API key

Proposed pricing during early access. Nothing is charged yet.

07

What builders say.

$ tail -f feedback.log · sample entries
  • [01] @tomas_builds
    Indie rank tracker

    Swapped my scraper and three proxy subscriptions for one key. The JSON shape is the same for every engine, so my parser shrank by half.

  • [02] @ines.dev
    Data engineer

    Batch 40k keywords overnight, pay for 40k. No plan to outgrow, no credits expiring at the end of the month.

  • [03] @kofi_agents
    AI agent builder

    Dropped the MCP server into Claude Desktop and my research agent could search Google in two minutes.

// Sample reviews shown during early access. Real customer reviews will replace them.

08

serpapis --help

What is a SERP API?
A SERP API is a web service that returns search engine results as structured JSON instead of HTML, so developers can query Google or Bing without scraping. You send a query, a country and a device, and get back organic results, ads, AI Overviews and other blocks as typed fields.
How much does SerpAPIs cost?
The first 100 searches each month are free. After that Google, Bing and YouTube cost $2.50 per 1,000 requests, falling to $2.05 above a million a month. There is no subscription and no expiring credits. Pricing is proposed during early access and nothing is charged yet.
Is the Bing Web Search API still available?
The Bing Search API is Microsoft's interface for retrieving Bing results programmatically; since its retail retirement, developers get Bing data through third-party SERP APIs such as SerpAPIs. The Bing endpoint returns the same JSON shape as Google, so switching engines is a one-line change.
Is it legal to collect search results?
Collecting publicly visible search results for analysis, such as rank tracking or research, is widely practised, but the rules depend on your country and use case. SerpAPIs returns public results only and never logs in to any account. Check your own legal requirements before reusing results commercially.
Can AI agents use SerpAPIs?
Yes. The MCP server gives Claude Desktop, Cursor, Windsurf and other MCP clients a web search tool with one config block, and the LangChain and LlamaIndex integrations do the same for code-based agents. The MCP server and SDKs are in early access.
Why do my results differ from what I see in Google?
Google personalises results by location, language, device and search history. SerpAPIs requests results without personalisation for the country, language and device you specify, so they match what a new visitor in that place would see, not your logged-in browser.