Skip to main content
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

Cost: 10 credits per request

Parameters

Required Headers

string
required
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_KEY

Required Parameters

string
required
The search query.

Optional Parameters

string
default:"us"
Country for search results. ISO 3166-1 alpha-2 code (e.g. us, gb, eg, de, fr).
string
default:"en"
Language for results. IETF language tag (e.g. en, ar, fr, de).
string
Time-based filter for results freshness.
integer
default:"1"
Page number of results (1-indexed).
integer
default:"10"
Number of results per page (1–100).
string
default:"search"
Search type. Controls which vertical of Google results to query.

Example Requests

Response

A successful response returns structured SERP data:
object
Echo of the query parameters used for this request.
array
Array of organic search result objects.
object
Google Knowledge Graph data (when available).
array
“People Also Ask” questions and answers (when available).
Related search query suggestions (when available).
object
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 named google_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

Use Cases

Track keyword rankings, featured snippets, and People Also Ask blocks for your target queries. Compare positions over time using the tbs time filter.
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.
Search for competitor brand names or product categories to see what SERP features they own — knowledge graphs, answer boxes, shopping results.
Use type=news with tbs=qdr:d to get today’s news coverage for any topic, brand, or keyword. Ideal for PR monitoring pipelines.
Use type=shopping to fetch product listings, prices, and merchant names across Google Shopping results.
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.
Retrieve peopleAlsoAsk data to discover content gaps, FAQ opportunities, and audience questions at scale.
Last modified on April 21, 2026