Google Scraper APIsGoogle SERP API
Google SERP API

Google SERP Scraper API for Complete Search Results and Ranking Data

Retrieve Google organic results, ads, AI Overviews, People Also Ask questions, Knowledge Graphs, Local Packs, news, videos, Shopping results and pagination data as structured JSON.

1,000 free credits
No credit card required

Use the same API key and credit balance across every ScrapeBadger API.

GET /v1/google/search
{
  "search_information": {
    "query_displayed": "best project management software",
    "total_results": 2840000000,
    "time_taken": 0.82
  },
  "organic_results": [
    {
      "position": 1,
      "title": "Best Project Management Software",
      "link": "https://example.com/project-management",
      "snippet": "Compare the leading project management tools..."
    }
  ]
}
Endpoints

Explore the Google SERP Scraper API

See what the endpoint does, choose the search experience you need, review the available parameters and understand the structured JSON returned to your application.

  1. Enter a search query
  2. Send a GET request with your x-api-key
  3. Use the structured JSON
GET/v1/google/search7 credits

Google Web Search

Search Google and receive a structured representation of the results page. Use mode=full for all rich SERP features or mode=fast when you only need organic results and related searches. Supports standard text queries and Google search operators such as site: , inurl: and intitle: .

Parameters
qrequiredThe Google search query. Supports standard text queries and Google search operators.
Request
curl --request GET \
  --url "https://scrapebadger.com/v1/google/search?q=best+project+management+software&gl=us&hl=en&domain=google.com&device=desktop&mode=full" \
  --header "x-api-key: YOUR_API_KEY"
Response200 OK
{
  "search_information": {
    "query_displayed": "best project management software",
    "total_results": 2840000000,
    "time_taken": 0.82,
    "organic_results_state": "Results for exact spelling",
    "url": "https://www.google.com/search?q=best+project+management+software"
  },
  "organic_results": [
    {
      "position": 1,
      "title": "Best Project Management Software",
      "link": "https://example.com/project-management",
      "displayed_link": "example.com/project-management",
      "snippet": "Compare leading project management platforms, features and pricing.",
      "source": "Example",
      "rank": 1,
      "page_rank": 1
    }
  ],
  "related_questions": [
    {
      "question": "What is the best project management software?",
      "rank": 1,
      "title": "Project management software guide",
      "link": "https://example.com/guide",
      "snippet": "The best platform depends on team size, workflow and reporting needs."
    }
  ],
  "related_searches": [
    {
      "query": "best project management software for small business",
      "link": "https://www.google.com/search?q=best+project+management+software+for+small+business"
    }
  ],
  "pagination": {
    "current": 1,
    "next": "https://www.google.com/search?...&start=10",
    "page_no": 1
  }
}
View Google Web Search documentation

What Can You Build With the Google SERP Scraper API?

SERP position and share-of-voice tracking

Monitor where a domain appears for target keywords across countries, languages, devices and result pages. Store each organic result's position, rank and page rank to measure visibility over time, compare competitors and power client-facing SEO dashboards.

qglhldomaindevicestartorganic_results.position

SERP feature and content research

Identify which queries trigger People Also Ask, AI Overviews, Knowledge Graphs, Local Packs, news, videos or Shopping results. Use the returned questions, sources and related searches to plan content around the formats and subtopics Google currently rewards.

related_questionsai_overviewknowledge_graphlocal_resultsrelated_searches

AI agents and retrieval pipelines

Ground AI-generated answers in current web results. Send organic snippets, linked sources, news and AI Overview references into an agent, retrieval pipeline or internal research tool without making the model parse raw Google HTML.

organic_resultsnews_resultsai_overview.text_blocksai_overview.references

Competitor, advertising and market monitoring

Track new organic competitors, changes in ad messaging and shifts in the composition of important result pages. Compare desktop and mobile searches or repeat the same query across markets to understand how visibility changes by location.

adsorganic_resultsgldomaindevicelocation
Sign Up For Free

1,000 free credits · No credit card required

More Google Data APIs

Use the same ScrapeBadger account and API key to enrich Search results with business, news, demand and visual-search data from other Google surfaces.

Why Choose ScrapeBadger?

Build Faster

Structured JSON responses remove browser automation, proxy orchestration, and HTML parsing from your roadmap. Make your first request in minutes and move from proof of concept to production without maintaining scrapers.

Scale Confidently

99.9% uptime SLA. Your data pipeline does not stop because Google changes a page, rotates an anti-bot challenge, or moves a result block. Monitoring, session management, browser infrastructure, and parsing are all us.

All Google Data on One Platform

Search, Maps, News, Hotels, Trends, Jobs, Shopping, Patents, Scholar, Images, Videos, Finance, AI Mode, Lens, Local, Shorts, Flights, Products, and Autocomplete — every Google surface under one API key.

Integrate Anywhere

RESTful API, SDK support, MCP, CLI, and no-code options. Use ScrapeBadger in an existing system or a new application with consistent authentication, structured JSON, and unified billing.

Integrate With Your Stack

Use ScrapeBadger through an official SDK, a standard API request, MCP, CLI, or the tools already in your workflow.

Python SDK

Build asynchronous data pipelines with typed responses, retry handling, and access to the complete Google API suite.

Node.js SDK

Add Google data to Node.js and TypeScript applications with type definitions and support for both ESM and CommonJS.

REST API

Connect from any backend or programming language using standard HTTP requests. Responses arrive as structured JSON that can be stored, transformed, or passed into another service.

One API Key

Access Search, Maps, News, Trends, Shopping, Scholar, Flights, and every other supported Google product with one ScrapeBadger API key and one credit balance.

MCP for AI Tools

Give compatible AI agents access to Google Search, Maps, News, Trends, Shopping, Scholar, Images, Flights, and more through ScrapeBadger's MCP server.

ScrapeBadger CLI

Run Google searches, inspect trends, collect local business data, and export results as JSON, CSV, Markdown, or terminal-friendly tables without building an application.

Trusted by Developers Worldwide

See why developers choose ScrapeBadger for reliable, structured web data.

We switched from the official Twitter API and cut our costs by 95%. The pagination is seamless, and we've never hit a rate limit. Best decision we made this year.

MC
Marcus Chen
Lead Data Engineer at DataFlow Analytics
2 weeks ago

The follower and engagement endpoints are incredibly detailed. We use it for influencer research and competitor analysis. Response times are sub-100ms consistently.

SM
Sarah Mitchell
Marketing Director at SocialPulse Agency
1 month ago

Started with the Apify actor, then moved to the API for more control. The 1,000 free credits were enough to build our MVP. Now processing 2M+ tweets monthly.

JR
James Rodriguez
Founder at TweetMetrics
3 weeks ago

Perfect for academic research. The community and trends endpoints give us data we couldn't get anywhere else. Documentation could use more examples, but support is responsive.

EW
Emily Watson
Research Scientist at Stanford NLP Lab
1 month ago

We monitor 50,000+ accounts for our clients. ScrapeBadger handles it without breaking a sweat. The bulk ID endpoints are a game-changer for large-scale monitoring.

AP
Alex Petrov
CTO at MediaMonitor Pro
2 weeks ago

The geo and trends endpoints power our location-based analytics. Setup took 10 minutes. Their Apify actors are also great for quick one-off scrapes.

LP
Lisa Park
Product Manager at Trendy AI
3 weeks ago
Pricing

Simple, transparent pricing

Start with pay-as-you-go credits (never expire) or save up to 64% with a monthly or annual subscription. Failed requests never consume credits, and every Google API endpoint is included on every plan.

Not Sure Which Plan Fits Your Needs? Calculate Your Cost and Find the Right Plan.

Choose an endpoint and enter your expected request volume. Google APIs use flat per-request credits, making usage easy to forecast. Failed requests cost 0 credits.

FAQ

Frequently asked questions

Everything you need to know about the Google SERP API.

What is a Google SERP API?

A Google SERP API retrieves Google Search Engine Results Pages programmatically and converts the visible result types into structured data. ScrapeBadger's Google SERP API can return organic listings, ads, AI Overviews, People Also Ask questions, Knowledge Graph data, Local Pack listings, related searches, news, videos, Shopping results and pagination metadata as JSON.

Does Google offer an official API for its complete web search results?

No. Google does not currently offer a generally available, self-service API that reproduces the complete live Google SERP. ScrapeBadger provides a dedicated alternative for programmatic access to Google web search results.

What data does the Google SERP Scraper API return?

Depending on what Google displays for the query, the response can include search metadata, organic rankings, advertisements, AI Overview text and references, a Knowledge Graph, Local Pack businesses, People Also Ask questions, related searches, news stories, inline videos, Shopping products and pagination information. Optional sections may be empty when Google does not show that feature.

How do I get results from a specific country, city or device?

Use gl for the country, hl for language, domain for the Google country domain and device for desktop or mobile. Add location for city-level targeting or supply a valid uule value for encoded location targeting. Keep these settings consistent when comparing rankings over time.

How does pagination work?

Google generally returns about ten organic listings per page. The num parameter is deprecated and should not be used to request a larger page. Use start=0 for the first page, start=10 for the next page, then 20 , 30 and so on. Merge the page responses in your application if you need a larger result set.

What is the difference between full mode and fast mode?

Full mode returns organic listings and any available rich SERP modules, including ads, Knowledge Graph data, Local Pack results, AI Overview, news, People Also Ask, videos and Shopping. Fast mode returns organic results and related searches only. Use fast mode for lightweight ranking collection and full mode when the complete SERP composition matters.

Can the API retrieve Google AI Overviews?

Yes, when Google displays an AI Overview for the query. Set ai_overview=true to let ScrapeBadger follow a deferred overview token and merge the generated text and references into the response. Google does not show AI Overviews for every query or locale, so the field may be empty. A deferred follow-up can add time and one additional credit.

Do I need to manage proxies, CAPTCHAs or a headless browser?

No. You send a normal authenticated API request. ScrapeBadger manages the browser warmup, cookies, proxy sessions, challenge detection, IP rotation and parsing required to retrieve the Google result behind the endpoint.

Start Building With the Google SERP Scraper API

Use 1,000 free credits to test organic results, rankings, ads, AI Overviews, People Also Ask, Knowledge Graphs, Local Packs and other Google search features as structured JSON.

No credit card required · Failed requests cost 0 credits

Disclaimer: ScrapeBadger is not affiliated with, endorsed by, or in any way officially connected with Google LLC or any of its subsidiaries or affiliates. Google and related trademarks are the property of their respective owners.