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.004JSON
DataForSEO每次呼叫 $0.00162 起JSON
DataForSEO每次呼叫 $0.001105 起JSON

問題

常見問題

我要如何使用 DataForSEO Google SERP (Regular) API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/dataforseo/v3/serp/google/organic/live/regular。您也可以直接在本頁的 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 金鑰嗎?

不需要。DataForSEO Google SERP (Regular) 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 DataForSEO API 存取權。