Get SERP results
DATA_getSerpResultsRetrieve SERP results for given queries, including organic, ads, and featured snippets. Advanced mode adds AI Overview, Maps, and Reviews with progress updates.
Instructions
Data Tool: Runs a SERP query and returns results. Creates task, polls every 5 seconds until complete (5 min timeout), and returns organic/ads/featured snippets (standard) or all SERP types including AI Overview, Maps, Reviews (advanced). Supports progress notifications.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Tag | |
| query | Yes | List of queries | |
| device | No | Device type | desktop |
| location_id | Yes | Location ID from SERP locations method | |
| max_wait_ms | No | Maximum wait time in milliseconds (default: 300000 = 5 minutes) | |
| result_type | No | Result type: 'standard' for organic/ads/featured_snippet, 'advanced' for all SERP types (costs 10 credits) | standard |
| language_code | Yes | Language code | |
| search_engine | No | Search engine | |
| poll_interval_ms | No | Polling interval in milliseconds (default: 5000) |