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

問題

常見問題

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

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

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