analyze_serp
Analyze a keyword’s search engine results page to uncover ranking pages, SERP features, featured snippets, People Also Ask questions, and estimated search intent for SEO planning.
Instructions
Analyze the search engine results page (SERP) for a keyword. Returns organic results with position, URL, title, and description; detected SERP features (featured snippet, PAA, local pack, etc.); featured snippet content; People Also Ask questions; and estimated search intent. Requires DATAFORSEO_LOGIN and DATAFORSEO_PASSWORD.
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": "analyze_serp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Number of SERP results to return (10, 20, 50, or 100). Defaults to 10. | |
| device | No | Device type for the SERP query. Defaults to "desktop". | desktop |
| keyword | Yes | The search query to analyze. | |
| location | No | Location name for localized SERP (e.g. "United States"). Defaults to "United States". | United States |