API Free WeekHundreds of APIs are free to call this week.Browse free APIs

DataForSEO Google SERP (Advanced)

https://api.sandbase.ai/v1/api/dataforseo/v3/serp/google/organic/live/advanced

Get 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
Production route

Try the model

Playground

Open playground
Input
No input schema available
OutputReady

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:

NameTypeDescription
keywordstringSearch query, e.g. "openai api".
location_codeintegerDataForSEO location code, e.g. 2840 for the United States.
language_codestringLanguage code, e.g. "en".
depthintegerNumber 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 (or location_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

Start building

Send your first request

Platform API endpoint with unified authentication and usage tracking.

Production API
Platform API endpoint
https://api.sandbase.ai/v1/api/dataforseo/v3/serp/google/organic/live/advanced
Authorization header
Authorization: Bearer $SANDBASE_API_KEY
# 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

All APIs
APIPriceResponseReleased
DataForSEOFreeJSONJan 1, 2024
DataForSEOFreeJSONJan 1, 2024
DataForSEOFreeJSONJan 1, 2024
DataForSEOFreeJSONJan 1, 2024
DataForSEOFreeJSONJan 1, 2024
DataForSEOFreeJSONJan 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.