serp
Retrieve Google or Yandex search results and organic ranking positions by query, region, and device, with optional target-domain filtering.
Instructions
Query XMLRiver. Requests may charge your account; retries may also be charged. SERP positions count organic documents, not visual search blocks.
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": {
"query": "<query>"
},
"name": "serp"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pages | No | ||
| query | Yes | ||
| device | No | mobile | |
| engine | No | yandex | |
| region | No | ||
| target_domain | No | ||
| include_subdomains | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | ||
| device | Yes | ||
| engine | Yes | ||
| region | Yes | ||
| results | Yes | ||
| results_count | Yes |