serp_results
Fetch current Google search results for a keyword, returning up to the top 20 organic results with each page’s own URL.
Instructions
Get current Google search results for a keyword (up to the top 20 organic results).
Fetching a SERP takes about 1 to 3 minutes (Google's result links are resolved to each page's own URL), so a
call either returns it (`status: "complete"`) or answers `status: "pending"`. A later call with the same
keyword and location_code returns the same SERP once it is ready, waiting up to about 45 seconds for it, and
within 6 hours of its fetch (`fetched_at`) returns it again without fetching it anew. The SERP is charged once,
on the call that first returns it; the other calls are free.
Each result carries its page's own URL. `unresolved_dropped` (when present) counts organic results
left out because Google gave only a redirect link that couldn't be resolved to the page; `partial: true`
means some of the SERP's pages couldn't be retrieved.
Args:
keyword: Search query (e.g. "best project management tools")
location_code: Google Ads location code (default: 2840 = United States)
[Provider: DataForSEO]
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"keyword": "<keyword>"
},
"name": "serp_results"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyword | Yes | ||
| location_code | No |