Sand AISand AI MAGI-2MAGI-2 现已上线 SandBase:支持原生音频的 1080p 视频立即试用

DataForSEO Google SERP (Advanced)

API 文档
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.

价格
起价 $0.002美元 / 次调用
方法
POST
响应
JSON
参数
0 个必填 · 4 个可选

Playground

输入
Search query, e.g. "openai api".
DataForSEO location code, e.g. 2840 for the United States.
Language code, e.g. "en".
Number of results to return (default 100).
输出就绪

您的输出将显示在这里

完成输入,然后点击运行。

API README

Google SERP API (Advanced)

Live Google search results for a keyword in any location, language and device: organic results with position, title, URL and snippet, plus the other SERP features on the page such as AI Overview, featured snippets, People Also Ask, local pack and video results.

Use cases

  • Track rankings for your keywords in specific cities or countries.
  • Read the AI Overview and its cited sources for a query.
  • Feed fresh search results to an agent or a content brief.

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": "running shoes", "location_code": 2840, "language_code": "en"}'

The result is returned in outputs[0].

Parameters

NameTypeRequiredDescription
depthintegerNoNumber of results to return (default 100).
keywordstringNoSearch query, e.g. "openai api".
language_codestringNoLanguage code, e.g. "en".
location_codeintegerNoDataForSEO location code, e.g. 2840 for the United States.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "status_code": 20000,
  "tasks": [
    {
      "result": [
        {
          "keyword": "running shoes",
          "check_url": "https://www.google.com/search?q=running%20shoes&hl=en&gl=US&ie=UTF-8&uule=w+CAIQIFISCQs2MuSEtepUEUK33kOSuTsc",
          "item_types": [
            "ai_overview",
            "organic",
            "local_pack",
            "images",
            "perspectives",
            "product_considerations",
            "related_searches"
          ],
          "se_results_count": 74,
          "items": [
            {
              "type": "organic",
              "rank_group": 3,
              "rank_absolute": 7,
              "domain": "shop.runnersdepot.com",
              "title": "Running and Walking Shoes",
              "url": "https://shop.runnersdepot.com/",
              "description": "Shop online with Runner's. Running and Walking Shoes. Shop by Category Shoes Insoles S…"
            }
          ]
        }
      ]
    }
  ]
}

Response fields

FieldMeaning
result[].item_typesSERP feature types present on the page, e.g. organic, ai_overview, people_also_ask.
result[].items[]Every element in page order. Organic rows have type: "organic", rank_group, rank_absolute, title, url, domain and description.
items[] (type ai_overview)AI Overview text in markdown and its references (source title, URL, domain).
result[].check_urlThe Google URL that was searched, for manual checks.
result[].se_results_countGoogle's reported number of results.

Notes

  • depth sets how many results are fetched; the cost grows with the number of result pages.
  • Some organic url values come back as google.com/goto?url=... redirect links, as Google serves them; follow the redirect to get the destination. For those results domain is google.com; the site itself is the first part of breadcrumb (e.g. https://example.com). Checked 2026-11-24: all organic results for "deepseek harness vs hermes" (US, English) came back this way.
  • location_code 2840 is the United States; use location_name such as "London,England,United Kingdom" for cities.
  • The response keeps DataForSEO's original JSON; results are under tasks[0].result[0].

Pricing

Billed at the actual cost of each call, about $0.002 for the request above. Failed calls are not charged.

探索更多

相关 APIs

全部 APIs
API价格响应
DataForSEO每次调用从 $0.002 起JSON
DataForSEO每次调用从 $0.0102 起JSON
DataForSEO每次调用从 $0.000724 起JSON
DataForSEO$0.004 每次调用JSON
DataForSEO每次调用从 $0.00162 起JSON
DataForSEO每次调用从 $0.001105 起JSON

问题

常见问题

如何使用 DataForSEO Google SERP (Advanced) API?

向 https://api.sandbase.ai/v1/api/dataforseo/v3/serp/google/organic/live/advanced 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 Playground 中试用,无需编写代码。

DataForSEO Google SERP (Advanced) API 的价格是多少?

起价每次调用 $0.002,从您的 SandBase 余额中扣费。您只需为实际调用付费;无需订阅。

DataForSEO Google SERP (Advanced) API 接受哪些参数?

无需参数。 可选:keyword (string), location_code (integer), language_code (string) 和 depth (integer)。 Parameters 表和本页的 Playground 列出了每个字段。

DataForSEO Google SERP (Advanced) API 返回什么?

在同一个 HTTP 请求中返回的 JSON 响应(同步)。 本页的 README 包含一个示例响应。

我需要 DataForSEO 开发者账户或 API key 吗?

不需要。DataForSEO Google SERP (Advanced) 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 DataForSEO API 访问权限。