Get results by ID
get_serp_resultsReturns searches already created (google_search or google_maps), by their IDs (serp_...), e.g. the pending_ids of a previous call. Free: the searches were paid when created.
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": {
"ids": "<ids>"
},
"name": "get_serp_results"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ids | Yes | IDs returned by a previous search (serp_...). | |
| blocks | No | Only return these result blocks, e.g. ["organic"] or ["ai_overview*"] (a trailing * matches a prefix). Block types: organic, paid_top, paid_bottom, local_pack, people_also_ask, featured_snippet, knowledge_graph, top_stories, videos, images, shopping, sitelinks, ai_overview_citation, ai_overview_citation_source, ai_overview_panel, related_searches... | |
| domain | No | Only return the positions of this domain (e.g. "example.com", subdomains included) in every block, with its best organic rank and whether it appears in the AI Overview, instead of the whole SERP. Much shorter: use it to answer "where does this site rank". | |
| wait_seconds | No | How long this call waits for searches still running, in seconds (default 45, max 55). Call again while pending_ids remain. | |
| max_items_per_block | No | Maximum number of items returned per block, to keep the answer short. |