Google Search API
Search APIs
Google Search API
Real-time Google search results with structured SERP data including organic results, knowledge graphs, People Also Ask, news, images, shopping, and more. Ideal for SEO monitoring, lead generation, and competitor research.
GET
Google Search API
Overview
The Google Search API delivers real-time Google search results powered by Serper. Get structured SERP data including organic results, knowledge graphs, People Also Ask, news, images, shopping, and more.Which Search API should I use? Use the Bing Search API for LLM and RAG pipelines (with auto-crawling and content extraction). Use the Google Search API for SEO monitoring, lead generation, competitor research, and structured SERP analysis.
Endpoint
Parameters
Required Headers
Your Crawleo API key for authentication. (Alternatively, use the
Authorization: Bearer YOUR_API_KEY header.)Example: x-api-key: YOUR_API_KEY or Authorization: Bearer YOUR_API_KEYRequired Parameters
The search query.
Optional Parameters
Country for search results. ISO 3166-1 alpha-2 code (e.g.
us, gb, eg, de, fr).Language for results. IETF language tag (e.g.
en, ar, fr, de).Time-based filter for results freshness.
| Value | Meaning |
|---|---|
qdr:h | Past hour |
qdr:d | Past day |
qdr:w | Past week |
qdr:m | Past month |
qdr:y | Past year |
Page number of results (1-indexed).
Number of results per page (1–100).
Search type. Controls which vertical of Google results to query.
| Value | Description |
|---|---|
search | Standard web search |
news | Google News results |
images | Google Images |
places | Google Maps / local business results |
shopping | Google Shopping product listings |
Example Requests
Basic Search
News Search
Local Business Search
Shopping Search
Response
A successful response returns structured SERP data:Echo of the query parameters used for this request.
Array of organic search result objects.
Google Knowledge Graph data (when available).
“People Also Ask” questions and answers (when available).
Related search query suggestions (when available).
Direct answer box content (when available).
knowledgeGraph, peopleAlsoAsk, relatedSearches, answerBox, and other enriched fields are only present when Google returns them for the query.MCP Integration
The Google Search API is available as an MCP tool namedgoogle_search. It works with your existing Crawleo MCP configuration — no extra setup needed.
Tool name: google_search
Inputs: Same parameters as the HTTP API (q, gl, hl, tbs, page, num, type)
MCP Setup
Already configured Crawleo MCP? The
google_search tool is automatically available.Error Responses
| Status Code | Description |
|---|---|
400 | Missing required parameter q |
401 | Invalid or missing API key |
402 | Insufficient credits |
429 | Rate limit exceeded |
500 | Internal server error |
Use Cases
SERP Analysis & SEO Monitoring
SERP Analysis & SEO Monitoring
Track keyword rankings, featured snippets, and People Also Ask blocks for your target queries. Compare positions over time using the
tbs time filter.Lead Generation
Lead Generation
Use
type=places to surface local businesses in a target region. Combine with gl to geo-target specific markets and extract business names, addresses, and URLs.Competitor Research
Competitor Research
Search for competitor brand names or product categories to see what SERP features they own — knowledge graphs, answer boxes, shopping results.
News Monitoring
News Monitoring
Use
type=news with tbs=qdr:d to get today’s news coverage for any topic, brand, or keyword. Ideal for PR monitoring pipelines.Price Comparison
Price Comparison
Use
type=shopping to fetch product listings, prices, and merchant names across Google Shopping results.AI Agent Grounding
AI Agent Grounding
Feed real-time search results into LLMs via MCP to ground responses with current information. The
google_search MCP tool is drop-in compatible with Claude, Cursor, and GitHub Copilot.Content Intelligence
Content Intelligence
Retrieve
peopleAlsoAsk data to discover content gaps, FAQ opportunities, and audience questions at scale.Last modified on April 21, 2026