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

DataForSEO Google SERP (Regular)

API 文档
https://api.sandbase.ai/v1/api/dataforseo/v3/serp/google/organic/live/regular

Get live Google organic results for any keyword, location and language in a compact format: rank, title, URL, domain and description for each organic result.

价格
起价 $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).
输出示例
响应outputs · 3.3 KB · 95 行
{
  "cost": 0.002,
  "status_code": 20000,
  "status_message": "Ok.",
  "tasks": [
    {
      "cost": 0.002,
      "data": {
        "api": "serp",
        "depth": 10,
        "device": "desktop",
        "function": "live",
        "keyword": "qwen 3.8 max",
        "language_code": "en",
        "location_code": 2840,
        "os": "windows",
        "se": "google",
        "se_type": "organic"
      },
      "id": "08030627-2190-0121-0000-ca1fba7808a2",
      "path": [
        "v3",
        "serp",
        "google",
        "… 3 more items in the full response"
      ],
      "result": [
        {
          "check_url": "https://www.google.com/search?q=qwen%203.8%20max&hl=en&gl=US&ie=UTF-8&uule=w+CAIQIFISCQs2MuSEtepUEUK33kOSuTsc",
          "datetime": "2026-08-03 06:27:52 +00:00",
          "item_types": [
            "perspectives",
            "organic",
            "video",
            "… 1 more items in the full response"
          ],
          "items": [
            {
              "breadcrumb": "10+ comments  ·  1 week ago",
              "description": "Qwen 3.8 Max (Think) will be real slow compared to Flash, it's a trade-off for precision and depth.",
              "domain": "www.reddit.com",
              "page": 1,
              "rank_absolute": 2,
              "rank_group": 1,
              "title": "My thoughts on Qwen 3.8 Max Preview : r/Qwen_AI",
              "type": "organic",
              "url": "https://www.reddit.com/r/Qwen_AI/comments/1v6bnu9/my_thoughts_on_qwen_38_max_preview/"
            },
            {
              "breadcrumb": "https://www.yottalabs.ai › post › qwen-3-8-max-release...",
              "description": "Jul 20, 2026 — Qwen 3.8-Max on July 19, 2026, and it is the biggest model announcement of the summer: 2.4 trillion parameters, multimodal, and a claim that it ...",
              "domain": "www.yottalabs.ai",
              "page": 1,
              "rank_absolute": 4,
              "rank_group": 2,
              "title": "Qwen 3.8-Max: Release Date, Specs, and How to Access It ...",
              "type": "organic",
              "url": "https://www.yottalabs.ai/post/qwen-3-8-max-release-date-specs-how-to-access-2026"
            },
            {
              "breadcrumb": "https://qwen.ai › blog › id=qwen3.8-max-preview",
              "description": "3 hours ago — Qwen Studio offers comprehensive functionality spanning chatbot, image and video understanding, image generation, document processing, ...",
              "domain": "qwen.ai",
              "page": 1,
              "rank_absolute": 5,
              "rank_group": 3,
              "title": "2026/08/02 · undefined minute",
              "type": "organic",
              "url": "https://qwen.ai/blog?id=qwen3.8-max-preview"
            },
            "… 5 more items in the full response"
          ],
          "items_count": 8,
          "keyword": "qwen 3.8 max",
          "language_code": "en",
          "location_code": 2840,
          "pages_count": 1,
          "refinement_chips": null,
          "se_domain": "google.com",
          "se_results_count": 163,
          "spell": null,
          "type": "organic"
        }
      ],
      "result_count": 1,
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "1.2112 sec."
    }
  ],
  "tasks_count": 1,
  "tasks_error": 0,
  "time": "1.6126 sec.",
  "version": "0.1.20260731"
}

示例

选择一个示例,将其输入和结果加载到 playground 中。

API README

Google SERP API (Regular)

This API returns live Google organic results for one keyword, location and language. Each result has a rank, title, domain, description and URL. Send keyword, location_code and language_code, and set depth to choose how many results to fetch.

Use cases

  • Track where your pages rank for a list of keywords.
  • List the domains that hold the top spots for a keyword to study competitors.
  • Compare results for the same keyword across different location_code values.
  • Find forum and community pages, such as Reddit threads, that rank for a buying keyword.

Request

curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/serp/google/organic/live/regular" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "running shoes", "location_code": 2840, "language_code": "en", "depth": 20}'

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,
  "status_message": "Ok.",
  "tasks": [
    {
      "data": {
        "api": "serp",
        "depth": 20,
        "device": "desktop",
        "function": "live",
        "keyword": "running shoes",
        "language_code": "en",
        "location_code": 2840,
        "os": "windows"
      },
      "id": "11030829-1614-0121-0000-2ad640deb040",
      "path": [
        "v3"
      ],
      "result": [
        {
          "check_url": "https://www.google.com/search?q=running%20shoes&hl=en&gl=US&ie=UTF-8&uule=w+CAIQ…",
          "datetime": "2026-11-03 08:29:40 +00:00",
          "item_types": [
            "ai_overview"
          ],
          "items": [
            {
              "breadcrumb": "https://www.roadrunnersports.com › ... › Buying Guides",
              "description": "Oct 9, 2026 — There is no single best running shoe brand. The best brand is the …",
              "domain": "google.com",
              "page": 1,
              "rank_absolute": 2,
              "rank_group": 1,
              "title": "Best Running Shoe Brands for Men and Women (2026)",
              "type": "organic"
            }
          ],
          "items_count": 16,
          "keyword": "running shoes",
          "language_code": "en",
          "location_code": 2840
        }
      ],
      "result_count": 1,
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "7.4828 sec."
    }
  ],
  "tasks_count": 1,
  "tasks_error": 0,
  "time": "7.5545 sec.",
  "version": "0.1.20261022"
}

Response fields

FieldMeaning
tasks[].result[].keyword / location_code / language_codeThe search query, location and language that Google was checked with.
tasks[].result[].check_urlThe Google search URL that matches this query. Open it to compare with the live page.
tasks[].result[].datetimeDate and time of the search, with a UTC offset.
tasks[].result[].item_typesThe kinds of elements found on this results page, for example ai_overview, organic and images.
tasks[].result[].items_countNumber of items returned in items for this request.
tasks[].result[].items[].typeThe kind of result. In this API the items are organic.
tasks[].result[].items[].rank_groupPosition among results of the same type. The first organic result has rank_group 1.
tasks[].result[].items[].rank_absolutePosition among all elements on the page. It can be higher than rank_group when other elements, such as an AI overview, appear above.
tasks[].result[].items[].title / descriptionThe title and snippet text Google shows for the result. The snippet can contain HTML entities such as '.
tasks[].result[].items[].domainDomain of the ranking page.
tasks[].result[].items[].breadcrumbThe path line Google shows under the title. For some results it holds other text, such as a comment count and age.

Notes

  • Google now wraps some result links in a google.com/goto redirect. When that happens, domain is google.com and url is the redirect, so read the result's own site from breadcrumb (its first part, e.g. https://example.com). Checked 2026-11-24: every organic result for "deepseek harness vs hermes" (US, English) came back this way.

  • location_code 2840 is the United States. language_code takes a code such as en.

  • depth sets how many results you ask for. In this response depth was 20 and items_count was 16, so check items_count rather than assuming the full depth.

  • page on each item shows which results page the item came from.

  • This API returns organic results only. For AI Overviews, featured snippets or People Also Ask, use the Advanced SERP API.

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 (Regular) API?

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

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

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

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

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

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

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

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

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