Google Search

Data & APIs

Search the web using Google via AceDataCloud API. Use when searching for web pages, images, news, maps, local places, or videos. Supports localization, time filtering, and pagination. Returns structured results with titles, snippets, URLs, and rich data.

Install

openclaw skills install acedatacloud-google-search

Google Search (SERP)

Search the web through AceDataCloud's Google SERP API.

Authentication

export ACEDATACLOUD_API_TOKEN="your-token-here"

Quick Start

curl -X POST https://api.acedata.cloud/serp/google \
  -H "Authorization: Bearer $ACEDATACLOUD_API_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"query": "latest AI news", "search_type": "search"}'

Search Types

TypeDescriptionReturns
searchWeb search (default)Organic results, knowledge graph, rich snippets
imagesImage searchImage URLs, titles, sources
newsNews articlesHeadlines, sources, publish dates
mapsMap resultsLocations, coordinates
placesLocal businesses/placesName, address, rating, reviews
videosVideo resultsVideo URLs, thumbnails, duration

Parameters

POST /serp/google
{
  "query": "your search query",
  "search_type": "search",
  "country": "us",
  "language": "en",
  "time_range": "qdr:w",
  "number": 10,
  "page": 1
}
ParameterTypeDescription
querystringSearch query (required)
search_typestringOne of: search, images, news, maps, places, videos
countrystringCountry code (e.g., "us", "uk", "cn", "jp")
languagestringLanguage code (e.g., "en", "zh", "ja")
time_rangestringTime filter (see below)
numberintNumber of results per page
pageintPage number for pagination

Time Range Options

ValuePeriod
qdr:hPast hour
qdr:dPast 24 hours
qdr:wPast week
qdr:mPast month
qdr:yPast year

Response Structure

Web search returns structured data including:

  • organic_results: Main search results with title, link, snippet
  • knowledge_graph: Entity information panel (when available)
  • related_searches: Related query suggestions

MCP Server

pip install mcp-serp

Or hosted: https://serp.mcp.acedata.cloud/mcp

Key tool: serp_google_search

Gotchas

  • Default search type is "search" (web). Always specify search_type for non-web searches
  • Country and language codes affect result localization significantly
  • number controls results per page, not total results — use page for pagination
  • Time range only applies to web search and news, not images or places
  • Image search returns thumbnail and full-size URLs — use full-size for downloads
  • Places search works best with location-specific queries (e.g., "restaurants near Times Square")