Google Search API
The full Google SERP as structured JSON — organic results, ads, knowledge graph, related questions and the AI Overview, in a single POST. Maps, Shopping, News, Trends, Flights, Hotels and AI Mode each have their own endpoint on the same key.
50 free credits on signup. No card, no Cloud project.
{ "search_parameters": { "query": "Best AI Model 2026", "hl": "en", "gl": "us", "device": "desktop", "start": 0, "google_domain": "google.com" }, "search_information": { "page_title": "Best AI Model 2026 - Google Search", "query_displayed": "Best AI Model 2026", "total_results": 123, "time_taken_displayed": 0.19, "organic_results_state": "Results for exact spelling" }, "ai_overview": { "state": "complete", "text_blocks": [ { "type": "paragraph", "snippet": "In 2026, there is no single…" } ] }, "credits_used": 1, "credits_remaining": 4742}Live call against the real endpoint — 3 free runs, then it's your own key.
What is the Scavio Google Search API?
The Scavio Google Search API is a REST API that returns the Google SERP as structured JSON. You send a query with an optional country and language to POST /api/v2/google with your API key, and get back organic results with position, link and snippet, plus ads, the knowledge graph, related questions and the AI Overview when Google generates one.
- 1
- credit per search, AI Overview included
- 8
- Google surfaces, one API key
- 0
- Cloud projects to configure
One call, the whole page
Organic, ads, knowledge graph and the generated overview arrive together.
Web search
POST /api/v2/googleThe full SERP for a query — organic results with link and snippet, plus ads, the knowledge graph and related questions, in one response.
AI Overview, included
POST /api/v2/googleWhen Google generates an overview for a query it comes back inside the same response as ai_overview, with its text blocks — no second call.
The Google Search endpoint
A POST that returns JSON and takes the same API key as every other platform. 1 credit per successful call.
| Endpoint | Returns | Credits |
|---|---|---|
Web search/api/v2/google | Organic results, ads, knowledge graph, AI Overview, related questions | 1 |
50 free credits on signup covers 50 searches. See plans
A full SERP in one call
Query, then read ranked results and the AI Overview together. The response on the right is a real capture — note the flat shape, with no data wrapper.
from scavio import ScavioClient
client = ScavioClient(api_key="sk_live_your_key")
res = client.google.search(query="Best AI Model 2026", gl="us", hl="en")
for r in res["organic_results"]:
print(r["position"], r["link"])
# AI Overview rides along in the same response
if res.get("ai_overview"):
print(res["ai_overview"]["state"]){
"search_parameters": {
"query": "Best AI Model 2026",
"hl": "en",
"gl": "us",
"device": "desktop",
"start": 0,
"google_domain": "google.com"
},
"search_information": {
"page_title": "Best AI Model 2026 - Google Search",
"query_displayed": "Best AI Model 2026",
"total_results": 123,
"time_taken_displayed": 0.19,
"organic_results_state": "Results for exact spelling"
},
"ai_overview": {
"state": "complete",
"text_blocks": [
{ "type": "paragraph", "snippet": "In 2026, there is no single…" }
]
},
"credits_used": 1,
"credits_remaining": 4742
}Why not Google's Custom Search JSON API?
It is cheap, and it is closing. It also does not search what your users see.
Custom Search JSON API
- Closed to new users, with shutdown scheduled for 1 January 2027
- 100 free queries a day, then billed per thousand with a hard daily ceiling
- Searches a Programmable Search Engine, so results differ from the real SERP
- No ads, no knowledge graph and no AI Overview in the response
Scavio Google Search API
- One API key, issued at signup — no Cloud project, no search engine to configure
- The real SERP, with ads, knowledge graph and AI Overview included
- Flat 1 credit per call, with no daily ceiling
- Same key and JSON envelope as 30 other Scavio platforms
Scavio returns publicly available search results only, and never authenticates as a Google user.
What developers build with it
Rank tracking at scale
Run a keyword set on a schedule and record position and link per result. One credit a query makes daily tracking across thousands of terms a budget line rather than a project.
web searchAI Overview monitoring
ai_overview arrives inside the same response, so you can measure how often Google answers a query itself — and whether the click you used to earn still exists.
web searchAgent grounding and RAG
Give an agent live search rather than a training cutoff. One call returns ranked results with links and snippets, ready to fetch and cite.
web search + ExtractCompetitive SERP analysis
Capture the full page — organic, ads, knowledge graph, related questions — to see how much of it a competitor owns, bought and earned combined.
web searchLead and citation research
Find who ranks for the problems your product solves, then extract the pages to build prospect or outreach lists grounded in what actually ranks today.
web search + ExtractMarket and content research
Read related questions and the knowledge graph to map what a market asks about a topic before committing a content calendar to it.
web searchHow to get Google search results as JSON
- 1
Get an API key
Sign up for a Scavio account and copy your key from the dashboard. You get 50 credits free on signup, with no card required and no Programmable Search Engine to configure.
- 2
POST a query
Send {"query": "Best AI Model 2026", "gl": "us", "hl": "en"} to https://api.scavio.dev/api/v2/google with an Authorization: Bearer header. Note the v2 path — v1 was retired.
- 3
Read the JSON
Google v2 responses are flat — organic_results, ai_overview and search_information sit at the top level, not under data, alongside credits_used and credits_remaining. Page with the start parameter.
Google Search API FAQ
What is the Scavio Google Search API?
+
It is a REST API that returns the Google SERP as structured JSON. One POST endpoint returns organic results with position, link and snippet, along with ads, the knowledge graph, related questions and the AI Overview when Google generates one. You authenticate with a Scavio API key.
Who is this endpoint for?
+
Developers embedding search in a product; AI agent builders grounding answers in live results; automation engineers running rank checks inside n8n, Zapier or Make; SEO teams tracking positions and AI Overviews; GTM teams researching demand; and analysts mapping competitive SERPs. Same API for all of them.
Is Google Maps, Shopping or News part of this endpoint?
+
No — each is its own endpoint and its own page. This one covers the web SERP at /api/v2/google. Maps, Shopping, Flights, Hotels, News, Trends and AI Mode are separate products with separate paths, all on the same key and the same flat 1-credit price.
How is this different from Google's Custom Search JSON API?
+
Custom Search is capped at 100 free queries a day, then billed per thousand, and it searches a Programmable Search Engine rather than the real SERP — so results differ from what a user sees. It also returns no ads, no AI Overview and no knowledge graph. Google has closed it to new users, with shutdown scheduled for 1 January 2027.
How much does a Google search cost?
+
1 credit per call, and that includes the AI Overview when one is present. New accounts get 50 free credits on signup, one time, with no card required. Paid plans start at $30 per month for 7,000 credits.
Does the response include AI Overview?
+
Yes, in the same response, as ai_overview with a state and typed text_blocks. For Google's dedicated conversational answer surface, use the separate AI Mode endpoint, which also returns the references it cited.
What does the response look like?
+
Google v2 responses are flat rather than wrapped: search_parameters, search_information, organic_results and ai_overview sit at the top level, alongside credits_used and credits_remaining. Organic results carry position, link, title and snippet.
Why is the path /api/v2/google and not v1?
+
v1 was retired in August 2026. v2 returns organic_results with link and snippet, where v1 used a different shape. If you are following an old snippet that posts to /api/v1/google, update the path and the field names.
Can I choose the country and language?
+
Yes. Set gl for the country and hl for the language on each call, and use start to page. The values you sent come back in search_parameters, so a stored response records the market it was collected for.
Which languages and tools are supported?
+
Official Python (pip install scavio) and JavaScript/TypeScript (npm i scavio) SDKs, a remote MCP server at mcp.scavio.dev for AI agents, and an n8n community node. Any language can call the REST endpoint directly with an HTTP client.
Explore more of Scavio
Google Maps API
Local search, place detail and reviews.
Google Shopping API
Products, prices and every seller.
Google News API
Headlines, sources and ISO dates.
Google Trends API
Interest over time and trending now.
Google AI Mode API
Generated answers and their citations.
Google Flights API
Fares, airlines, legs and insights.
Google Hotels API
Properties and vendor rates.
Extract
Any URL as Markdown, text or raw HTML.
Pricing
Credit packs and plans, no per-platform surcharge.
Start pulling Google results today
50 free credits on signup, no card. Your first request is a POST with a query in it.