Get Google search results and rankings (live · detailed data)
Live SERP provides real-time data on top search engine results for the specified keyword, search engine, and location. This API will supply a complete overview of featured snippets and other extra elements of SERPs.
/v1/dataforseo/serp/google/organic/live/advancedRequest parameters
| Parameter | Type | Meaning |
|---|---|---|
| browser_screen_heightOptional or conditional | integer | browser screen height |
| browser_screen_resolution_ratioOptional or conditional | integer | browser screen resolution ratio |
| browser_screen_widthOptional or conditional | integer | browser screen width |
| calculate_rectanglesOptional or conditional | boolean | calcualte pixel rankings for SERP elements in advanced results |
| depthOptional or conditional | integer | parsing depth |
| deviceOptional or conditional | string | device type |
| find_targets_inOptional or conditional | array | SERP element types to check for targets |
| group_organic_resultsOptional or conditional | boolean | display related results |
| ignore_targets_inOptional or conditional | array | SERP element types to exclude from target search |
| keywordRequired | string | keyword |
| language_codeOptional or conditional | string | search engine language code |
| language_nameOptional or conditional | string | full name of search engine language |
| load_async_ai_overviewOptional or conditional | boolean | load asynchronous ai overview |
| location_codeOptional or conditional | integer | search engine location code |
| location_coordinateOptional or conditional | string | GPS coordinates of a location |
| location_nameOptional or conditional | string | full name of search engine location |
| match_typeOptional or conditional | string | target match type |
| match_valueOptional or conditional | string | target domain, subdomain, or wildcard value |
| max_crawl_pagesOptional or conditional | integer | page crawl limit |
| osOptional or conditional | string | device operating system |
| people_also_ask_click_depthOptional or conditional | integer | clicks on the corresponding element |
| remove_from_urlOptional or conditional | array | remove specific parameters from URLs |
| se_domainOptional or conditional | string | search engine domain |
| search_paramOptional or conditional | string | additional parameters of the search query |
| stop_crawl_on_matchOptional or conditional | array | array of targets to stop crawling |
| tagOptional or conditional | string | user-defined task identifier |
| targetOptional or conditional | string | target domain, subdomain, or webpage to get results for |
| target_search_modeOptional or conditional | string | target matching mode |
| urlOptional or conditional | string | direct URL of the search query |
Response
The JSON response includes status_code, status_message, tasks and task results. Check both the HTTP status and each task's status_code. A depth of 10 can include special search blocks, so it does not always mean ten organic links. The response's cost field is native API data; your final APIMaster fee is shown in the response headers and usage log.
task_post creates a task. Save its task ID, then use the matching tasks_ready and task_get APIs. Task results are private to the account that created them.
Model-restricted API keys must allow dataforseo. Callback URLs are not supported; retrieve asynchronous results with task_get.
Pricing and settlement
$0.042Estimated priceGoogle SERP API: ~$0.042/task. USD estimates at default account pricing, checked 2026-12-04. Parameters, data volume and account rates affect final charges; estimates are not spending caps.
Request a free estimate before running a call. An estimate is not a fixed price or a hard spending cap. Your fee uses the actual settled usage and your account's current group multiplier once. The estimated amount is reserved from your wallet; unused funds are returned after settlement. Model subscriptions and trial credits do not cover these calls.
Use a unique Idempotency-Key for each intended call. Keep the same key and parameters when recovering a call. If the outcome or fee is pending, query /v1/data-requests/{request_id}; do not start another paid call with a new key.
400: invalid parameters; 401: invalid or expired key; 403: key permissions; 402: insufficient wallet or key quota; 409: idempotency conflict or request pending; 429: rate limit; 502/503: request or settlement unavailable. For every failure, preserve the request ID and check settlement before repeating a paid operation.
Code examples
curl --request POST 'https://apimaster.ai/v1/dataforseo/serp/google/organic/live/advanced' \
--header 'Authorization: Bearer YOUR_APIMASTER_KEY' \
--header 'Idempotency-Key: YOUR_UNIQUE_REQUEST_KEY' \
--header 'Content-Type: application/json' \
--data '[
{
"keyword": "Cheapseedance",
"location_code": 2840,
"language_code": "en",
"device": "desktop",
"depth": 10
}
]'