SerpApi Search
18 credits/call
ae_serpapi_search
Search Google and other engines for web results, news, images, shopping products, and local business listings.
18 credits/call
Pricing
18 credits/call
| Condition | Charge |
|---|---|
| Each call | 18 credits/call |
Parameters
Optional parameters use the platform defaults when omitted.
| Parameter | Type | Required | Description | Default |
|---|---|---|---|---|
mode | string | No | Response mode. Use "complete" by default for full SerpApi JSON. Use "compact" only when a reduced response is enough and metadata can be omitted. | complete |
params | object | No | Dictionary of SerpApi engine-specific parameters. Common parameters include: - q: search query, required for most search engines - engine: search engine name, such as google, google_light, google_news, google_images, google_shopping, google_local, google_flights, google_hotels, bing, yahoo, duckduckgo, youtube_search, baidu, or ebay - location: geographic location for localized results - num: number of results to return Put all SerpApi parameters inside params, not at the top level. Do not include api_key, Authorization, x-api-key, account credentials, or wrapper/runtime fields. Avoid account/admin/archive engines unless the user explicitly asks for SerpApi account management or historical search archive data. | null |
Invocation example
Copy the request and explore its response example.
POST
/agent-api/v1/tool/executeX-Api-KeyRequest coderequest.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_serpapi_search' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"mode": "complete",
"params": {
"engine": "google_ads_transparency_center",
"text": "extechnology.com"
}
}
}'Response exampleresponse.json
{
"ad_creatives": [
{
"ad_creative_id": "CR03306011089950474241",
"advertiser": "Extechnology",
"advertiser_id": "AR17158604337061036033",
"details_link": "https://adstransparency.google.com/advertiser/AR17158604337061036033/creative/CR03306011089950474241?region=anywhere&domain=extechnology.com",
"first_shown": 1770624000,
"format": "text"
}
],
"search_information": {
"total_results": 5
},
"search_metadata": {
"created_at": "2026-10-11 13:38:31 UTC",
"google_ads_transparency_center_url": "https://adstransparency.google.com?region=anywhere&domain=extechnology.com",
"id": "6acb9157868180955554dfb2",
"json_endpoint": "https://serpapi.com/searches/[REDACTED]/6acb9157868180955554dfb2.json",
"markdown_endpoint": "https://serpapi.com/searches/[REDACTED]/6acb9157868180955554dfb2.md",
"status": "Success"
},
"search_parameters": {
"engine": "google_ads_transparency_center",
"text": "extechnology.com"
}
}This example shows part of the response. Copied content is valid JSON.





