DataForSEO Google SERP (Advanced)
https://api.sandbase.ai/v1/api/dataforseo/v3/serp/google/organic/live/advancedGet live Google organic search results for any keyword, location and language, including AI Overviews, featured snippets, People Also Ask and other SERP features, with rank positions and URLs.
- Price
- Free
- Method
- POST
- Response
- JSON
- Parameters
- 0 required · 0 optional
Try the model
Playground
Your output will appear here
Complete the inputs, then click Run.
Model card
Specifications
Pricing
- Base price
- Free
Request & response
- Method
- POST
- Request body
- application/json
- Response
- application/json
- Execution
- sync
Parameters
- Parameters
- None
Access
- Provider
- DataForSEO
- API
- Platform API
- Base URL
- https://api.sandbase.ai
- Endpoint
- /v1/api/dataforseo/v3/serp/google/organic/live/advanced
- Authentication
- Bearer API key
API README
Google SERP API (Advanced)
Send a keyword with a location and language and get the live Google results page as structured JSON: organic rankings plus SERP features such as AI Overviews, featured snippets and People Also Ask.
Use cases
- Track keyword rankings for SEO.
- Monitor which SERP features (AI Overview, snippets) appear for your keywords.
- Analyze competitor visibility by location.
Request
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/serp/google/organic/live/advanced" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "openai api", "location_code": 2840, "language_code": "en", "depth": 10}'
Parameters
The body is passed through to DataForSEO. Common fields:
| Name | Type | Description |
|---|---|---|
keyword | string | Search query, e.g. "openai api". |
location_code | integer | DataForSEO location code, e.g. 2840 for the United States. |
language_code | string | Language code, e.g. "en". |
depth | integer | Number of results to return (default 100). |
Example response
Real response for the request above, trimmed to the main fields. User names and long IDs are masked.
{
"status_code": 20000,
"tasks": [
{
"status_message": "Ok.",
"result": [
{
"keyword": "openai api",
"se_domain": "google.com",
"location_code": 2840,
"language_code": "en",
"item_types": [
"ai_overview",
"organic"
],
"items_count": 7,
"items": [
{
"type": "organic",
"rank_group": 1,
"rank_absolute": 1,
"domain": "openai.com",
"title": "API Platform",
"url": "https://openai.com/api/",
"breadcrumb": "https://openai.com › api",
"description": "Our API platform offers our latest models and guides for safety best practices."
}
]
}
]
}
]
}
Notes
- Use
location_code/language_code(orlocation_name/language_name) from DataForSEO's location and language lists. - Other DataForSEO task fields (e.g.
device,os) are passed through as-is.
Related APIs
- DataForSEO Google Ads Keyword Search Volume: Get Google Ads search volume, CPC, competition and 12-month trend for up to 1,000 keywords per request, by location and language.
- DataForSEO Google Trends: Get Google Trends interest over time for up to 5 keywords by location, language and time range, with weekly values on a 0–100 scale.
- DataForSEO Website Screenshot: Capture a full-page or viewport screenshot of any URL in desktop, mobile or tablet view.
Start building
Send your first request
Platform API endpoint with unified authentication and usage tracking.
# The quoted heredoc keeps Unicode and shell metacharacters unchanged.
result=$(curl --fail-with-body --silent \
-X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/serp/google/organic/live/advanced" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
--data-binary @- <<'SANDBASE_JSON'
{
"depth": 10,
"device": "desktop",
"keyword": "dinq.me company product",
"language_code": "en",
"location_code": 2840
}
SANDBASE_JSON
)
printf '%s\n' "$result"Explore more
Related APIs
| API | Price | Response | Released |
|---|---|---|---|
DataForSEO | Free | JSON | Jan 1, 2024 |
DataForSEO | Free | JSON | Jan 1, 2024 |
DataForSEO | Free | JSON | Jan 1, 2024 |
DataForSEO | Free | JSON | Jan 1, 2024 |
DataForSEO | Free | JSON | Jan 1, 2024 |
DataForSEO | Free | JSON | Jan 1, 2024 |
Questions
FAQ
How do I use the DataForSEO Google SERP (Advanced) API?
Send a POST request to https://api.sandbase.ai/v1/api/dataforseo/v3/serp/google/organic/live/advanced with your SandBase API key in the Authorization header (Bearer) and the parameters as a JSON body. You can also try it in the Playground on this page without writing code.
How much does the DataForSEO Google SERP (Advanced) API cost?
DataForSEO Google SERP (Advanced) is free to call on SandBase. You only need a SandBase account and API key.
What parameters does the DataForSEO Google SERP (Advanced) API accept?
DataForSEO Google SERP (Advanced) takes no input parameters; send an empty JSON body.
What does the DataForSEO Google SERP (Advanced) API return?
A JSON response returned in the same HTTP request (synchronous). The README on this page includes a sample response.
Do I need a DataForSEO developer account or API key?
No. DataForSEO Google SERP (Advanced) runs through SandBase, so one SandBase API key covers this endpoint and every other API and model in the catalog. You do not need to apply for DataForSEO API access separately.
