keywordstring
Search query, e.g. "openai api".
https://api.sandbase.ai/v1/api/dataforseo/v3/serp/google/organic/live/advancedGet 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.
您的輸出會顯示在這裡
完成輸入後,點擊執行。
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.
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].
| Name | Type | Required | Description |
|---|---|---|---|
depth | integer | No | Number of results to return (default 100). |
keyword | string | No | Search query, e.g. "openai api". |
language_code | string | No | Language code, e.g. "en". |
location_code | integer | No | DataForSEO location code, e.g. 2840 for the United States. |
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…"
}
]
}
]
}
]
}
| Field | Meaning |
|---|---|
result[].item_types | SERP 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_url | The Google URL that was searched, for manual checks. |
result[].se_results_count | Google's reported number of results. |
depth sets how many results are fetched; the cost grows with the number of result pages.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.tasks[0].result[0].Billed at the actual cost of each call, about $0.002 for the request above. Failed calls are not charged.
開始建置
具備統一驗證與用量追蹤的平台 API 端點。
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": "dinq.me company product",
"language_code": "en",
"location_code": 2840,
"depth": 10,
"device": "desktop"
}'請將您的 SandBase API 金鑰設定在伺服器環境中。請求使用 Bearer 驗證。
export SANDBASE_API_KEY="YOUR_API_KEY"請將金鑰保留在伺服器端,不要在瀏覽器程式碼中公開。
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).
這是此 API 的已儲存範例回應;檢視時不會發出即時請求。
[
{
"cost": 0.002,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0.002,
"data": {
"api": "serp",
"depth": 10,
"device": "desktop",
"function": "live",
"keyword": "dinq.me company product",
"language_code": "en",
"location_code": 2840,
"os": "windows",
"se": "google",
"se_type": "organic"
},
"id": "08150247-2190-0139-0000-63ea360aeb93",
"path": [
"v3",
"serp",
"google",
"… 3 more items in the full response"
],
"result": [
{
"check_url": "https://www.google.com/search?q=dinq.me%20company%20product&hl=en&gl=US&ie=UTF-8&uule=w+CAIQIFISCQs2MuSEtepUEUK33kOSuTsc",
"datetime": "2026-08-15 02:47:14 +00:00",
"item_types": [
"ai_overview",
"organic",
"related_searches"
],
"items": [
{
"asynchronous_ai_overview": true,
"items": null,
"markdown": null,
"page": 1,
"position": "left",
"rank_absolute": 1,
"rank_group": 1,
"rectangle": null,
"references": null,
"type": "ai_overview",
"xpath": "/html[1]/body[1]/div[3]/div[1]/div[13]/div[1]/div[2]/div[1]/div[1]/div[1]/div[1]/div[1]/div[1]"
},
{
"about_this_result": null,
"amp_version": false,
"breadcrumb": "410+ followers",
"cache_url": null,
"checks": null,
"description": "DINQ is the AI-native talent search platform for modern hiring teams. DINQ helps you discover exceptional AI talent through natural language search",
"domain": "www.linkedin.com",
"extended_people_also_search": null,
"extended_snippet": null,
"faq": null,
"highlighted": [
"AI-native talent search platform"
],
"images": null,
"is_featured_snippet": false,
"is_image": false,
"is_malicious": false,
"is_video": false,
"is_web_story": false,
"links": null,
"page": 1,
"position": "left",
"pre_snippet": null,
"price": null,
"rank_absolute": 2,
"rank_group": 1,
"rating": null,
"rectangle": null,
"related_result": null,
"related_search_url": null,
"timestamp": null,
"title": "DINQ Lab",
"type": "organic",
"url": "https://www.linkedin.com/company/dinq-me",
"website_name": "LinkedIn · DINQ Lab",
"xpath": "/html[1]/body[1]/div[3]/div[1]/div[13]/div[2]/div[1]/div[2]/div[1]/div[1]/div[2]/div[1]/div[1]"
},
{
"about_this_result": null,
"amp_version": false,
"breadcrumb": "https://finance.yahoo.com › news › dinq-launches-ai-na...",
"cache_url": null,
"checks": null,
"description": "Jan 12, 2026 — DINQ is available now at https://dinq.me. Users can create a DINQ Card at no cost work within minutes. GitHub, Google Scholar, and more.",
"domain": "finance.yahoo.com",
"extended_people_also_search": null,
"extended_snippet": null,
"faq": null,
"highlighted": [
"DINQ",
"dinq",
"me"
],
"images": null,
"is_featured_snippet": false,
"is_image": false,
"is_malicious": false,
"is_video": false,
"is_web_story": false,
"links": null,
"page": 1,
"position": "left",
"pre_snippet": "01/12/2026 00:00:00",
"price": null,
"rank_absolute": 3,
"rank_group": 2,
"rating": null,
"rectangle": null,
"related_result": null,
"related_search_url": null,
"timestamp": "2026-01-12 00:00:00 +00:00",
"title": "DINQ Launches AI-Native Career Network to Address ...",
"type": "organic",
"url": "https://finance.yahoo.com/news/dinq-launches-ai-native-career-120000883.html",
"website_name": "Yahoo Finance",
"xpath": "/html[1]/body[1]/div[3]/div[1]/div[13]/div[2]/div[1]/div[2]/div[1]/div[1]/div[4]/div[1]/div[1]"
},
"… 8 more items in the full response"
],
"items_count": 11,
"keyword": "dinq.me company product",
"language_code": "en",
"location_code": 2840,
"pages_count": 1,
"refinement_chips": null,
"se_domain": "google.com",
"se_results_count": 103,
"spell": null,
"type": "organic"
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "0.6308 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "0.9633 sec.",
"version": "0.1.20260806"
}
]探索更多
| 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 |
問題
使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/dataforseo/v3/serp/google/organic/live/advanced。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次起 $0.002,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
不需要任何參數。 選填:keyword (string), location_code (integer), language_code (string) 和 depth (integer)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。DataForSEO Google SERP (Advanced) 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 DataForSEO API 存取權。