// Google SERP API

The Google SERP API for
Real-Time Search Data

Turn any Google query into clean, structured JSON. DataBlue's Google SERP API returns real-time Google search results — organic listings, ads, People Also Ask, the knowledge graph and more — without proxies, CAPTCHAs, or a single line of HTML parsing. Flat 1-credit pricing, ~1.2s responses, and 1,000 free searches every month.

// What It Is

Google Results, Without the Scraping.

A Google SERP API takes a search query and hands back the search engine results page as structured data instead of raw HTML. That sounds simple until you try to do it yourself. Google actively defends its results against automation: rotating proxies, headless browsers, CAPTCHA challenges, and a layout that quietly changes every few weeks. A scraper that worked on Monday can silently break by Friday, and you only find out when your rankings dashboard goes blank.

DataBlue's Google search API removes all of that. You send a query, we fetch the live results page through a managed proxy and rendering layer, parse every block on it, and return clean JSON — organic results, ads, featured snippets, People Also Ask, the knowledge graph, the local pack and more, each in its own named field. There's no proxy pool to babysit, no parser to keep patching against Google's next redesign, and no CAPTCHA-solving budget to manage. You get the data; we carry the maintenance.

Because the results are scraped at request time rather than served from a cache, what you receive is exactly what a real searcher would see right now — the same ten blue links, the same ad placements, the same People Also Ask box. That freshness is the whole point of a real-time SERP API: rank tracking, competitive monitoring, and AI retrieval are only as good as the moment the data was captured.

// One Request, Clean JSON

From Query to Structured Data.

One call to the search endpoint returns the whole results page, parsed. Use the REST API directly or the typed Python and Node SDKs — whichever fits your stack.

request
# Python SDK
from datablue import DataBlue
client = DataBlue(api_key="wh_...")
res = client.search(
    q="best running shoes",
    location="United States",
    gl="us", hl="en",
)

# or REST
# curl https://api.datablue.dev/v1/search \
#   -H "Authorization: Bearer wh_..."
response.json
{
  "organic": [
    { "position": 1,
      "title": "The 12 Best...",
      "link": "https://..." }
  ],
  "people_also_ask": [...],
  "ads": [...],
  "knowledge_graph": {...},
  "related_searches": [...]
}
// What You Get

Every Block on the Page,
as Typed JSON.

Modern Google results are far more than ten links. DataBlue parses each SERP feature into its own field, so you can read exactly what you need.

Organic results

Titles, URLs, snippets, sitelinks and positions for every ranked page.

Ads

Top and bottom paid placements with advertiser, display URL, and copy.

Featured snippets

The answer box Google pulls above the organic results.

People Also Ask

The expandable related-questions block, with answers and sources.

Knowledge graph

Entity panels — companies, people, places — with their attributes.

Local pack

The map-backed three-pack with ratings, addresses, and phone numbers.

Shopping

Product listings with prices, merchants, ratings, and thumbnails.

Related searches

The suggested follow-up queries at the foot of the page.

News & Top Stories

Fresh articles with source, headline, and timestamp.

Images & Videos

Visual results with source links and thumbnails.

// Why DataBlue

Built for Production, Priced for Scale.

Plenty of SERP APIs can hand you a JSON blob. What sets DataBlue apart is how the details add up over thousands of queries a day. Pricing is the obvious one: one flat credit per Google search, with no premium multiplier for autoparse, JavaScript rendering, or geotargeting — the price you see is the price you pay. Credits never expire, so a slow week isn't money lost, and the free tier gives you 1,000 real searches a month to build against before you commit.

On the technical side, every request is scraped live for real-time accuracy, with a median response around 1.2 seconds and high, predictable concurrency instead of opaque hourly caps. You can target 100+ countrieswith full control over location, language, country, and device, so the SERP you read matches what a local user actually sees. Proxy rotation, headless rendering, and CAPTCHA handling all happen inside the API — and if a request doesn't return data, it doesn't cost you a credit.

And because DataBlue was built for the AI era, the output is LLM-ready by default. You get clean JSON and optional markdown that drops straight into a RAG pipeline, plus a native MCP server so agents like Claude and Cursor can search Google directly — no glue code, no separate orchestration layer to maintain.

// Use Cases

What Teams Build With It.

From rank tracking to AI agents, a real-time Google search API is the data layer under a surprising amount of software.

Rank tracking & SEO

Monitor keyword positions across countries and devices, watch competitors move, and feed clean position data straight into your dashboards — no scraper maintenance.

AI agents & RAG

Give LLMs and autonomous agents live web context. The JSON drops straight into a retrieval pipeline, and the MCP server lets tools like Claude and Cursor search Google directly.

Lead generation

Find businesses, extract local-pack details, and enrich prospect lists with real, current data instead of stale databases bought by the row.

Price & competitor monitoring

Track Shopping listings, ad copy, and where rivals rank so you can react to pricing and positioning the moment it changes.

Market & trend research

Sample what real users see at scale — questions, entities, and sources — to map demand and surface emerging topics in a space.

Brand & reputation monitoring

Watch what shows up for your brand terms — owned results, news, reviews, and the knowledge panel — and catch issues early.

// Getting Started

Your First Search in 60 Seconds.

No sales call, no contract, no proxy setup. Sign up, grab a key, and your first Google SERP is one request away.

01

Create a Free Account

Sign up and get an API key instantly, with 1,000 free searches a month and no credit card required. Keys use the wh_ prefix and never expire.

02

Send Your First Query

Call client.search(q="...") from the SDK or hit the REST endpoint with a Bearer token. Add location, gl, and hl to target any market you need.

03

Read the JSON

Pull organic, ads, people_also_ask, and the rest straight off the response — no HTML parsing, no proxies, no maintenance. Ship it.

// Pricing

Flat 1 credit per Google search.

Start free with 1,000 searches a month. The Starter plan is $29 for 50,000 credits — about $0.58 per 1,000 searches — and the rate drops as you scale. No premium multipliers, no monthly reset, and credits that never expire. You pay for the searches you run, full stop.

// FAQ

Google SERP API Questions.

What is a Google SERP API?

A Google SERP API is a service that returns Google search engine results pages (SERPs) as structured data — usually JSON — instead of raw HTML. Rather than building scrapers, rotating proxies, and solving CAPTCHAs yourself, you send a query to the API and get back the organic results, ads, featured snippets, People Also Ask, the knowledge graph and more, already parsed into named fields. DataBlue's Google SERP API does exactly that, with results scraped live at request time and a flat one-credit-per-search price.

How do I get Google search results in JSON?

Send a single request to the DataBlue search endpoint with your query and an API key, and the response comes back as clean JSON. With the SDK it's one line — client.search(q="...") — and you read results straight off fields like organic and people_also_ask. There's no HTML to parse, no BeautifulSoup, and no proxy management on your side; the API handles fetching, rendering, and parsing the page for you.

Is it legal to scrape Google search results?

Scraping publicly available search results is widely used for SEO, research, and competitive analysis, and courts in several jurisdictions have treated the scraping of public data as permissible. That said, legality depends on what you collect, where you operate, and how you use the data, and none of this is legal advice. DataBlue handles the technical side — proxies, rendering, and retries — so you can focus on the data, but you remain responsible for using it in line with the laws and terms that apply to you.

How much does a Google SERP API cost?

DataBlue charges a flat 1 credit per Google SERP, with no premium multipliers for autoparse, JavaScript rendering, or geotargeting. The Starter plan is $29 for 50,000 credits — roughly $0.58 per 1,000 searches — and the effective rate drops further on higher tiers. Credits never expire, so you only ever pay for the searches you actually run, with no monthly use-it-or-lose-it reset.

Is there a free Google SERP API?

Yes. DataBlue's free tier includes 1,000 credits every month — 1,000 real Google searches — with no credit card required, and those free credits never expire. It's enough to build a proof of concept or diff the JSON against your existing pipeline before you pay anything, and you can keep using it indefinitely for low-volume projects.

What search data can I extract?

Organic results, paid ads, featured snippets, People Also Ask, the knowledge graph, the local pack, related searches, and rich verticals like Shopping, Images, Videos, News, and Top Stories. Everything Google renders on the page is mapped to typed JSON fields, so you can pull exactly the blocks you need and ignore the rest.

How fast and how fresh are the results?

Results are scraped live from Google at request time, not served from a stale cache, so what you get reflects the current SERP. Median response time is around 1.2 seconds for a standard query, and high, predictable concurrency means you can run large rank-tracking or monitoring jobs without slamming into opaque hourly rate limits.

Can I target specific countries, languages, and devices?

Yes. You can set location, language (hl), country (gl), device, and the Google domain on every request, so you see the SERP exactly as a real user in that market would. That makes it straightforward to track rankings or watch competitors across 100+ countries from a single API, without managing a proxy pool yourself.

How is this different from Google's official Custom Search API?

Google's official Custom Search JSON API is built for searching your own site and returns a limited, filtered slice of results with low daily quotas and per-query fees. A dedicated Google SERP API like DataBlue returns the full, real-world results page — ads, People Also Ask, knowledge graph, local pack and all — at production scale, with location targeting and pricing designed for high-volume workloads.

Start Scraping Google in JSON.

Grab a free key, send your first query, and read real-time Google search results as clean JSON — 1,000 searches a month, no card, no expiry.