keywordstring
Search query, e.g. "openai api".
https://api.sandbase.ai/v1/api/dataforseo/v3/serp/google/organic/live/regularGet live Google organic results for any keyword, location and language in a compact format: rank, title, URL, domain and description for each organic result.
{
"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。
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.
location_code values.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].
| 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,
"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"
}
| Field | Meaning |
|---|---|
tasks[].result[].keyword / location_code / language_code | The search query, location and language that Google was checked with. |
tasks[].result[].check_url | The Google search URL that matches this query. Open it to compare with the live page. |
tasks[].result[].datetime | Date and time of the search, with a UTC offset. |
tasks[].result[].item_types | The kinds of elements found on this results page, for example ai_overview, organic and images. |
tasks[].result[].items_count | Number of items returned in items for this request. |
tasks[].result[].items[].type | The kind of result. In this API the items are organic. |
tasks[].result[].items[].rank_group | Position among results of the same type. The first organic result has rank_group 1. |
tasks[].result[].items[].rank_absolute | Position 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 / description | The title and snippet text Google shows for the result. The snippet can contain HTML entities such as '. |
tasks[].result[].items[].domain | Domain of the ranking page. |
tasks[].result[].items[].breadcrumb | The path line Google shows under the title. For some results it holds other text, such as a comment count and age. |
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.
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/regular" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"depth": 10,
"keyword": "qwen 3.8 max",
"language_code": "en",
"location_code": 2840
}'請將您的 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": "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"
}探索更多
| 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/regular。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。
每次起 $0.002,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。
不需要任何參數。 選填:keyword (string), location_code (integer), language_code (string) 和 depth (integer)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。
在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。
不需要。DataForSEO Google SERP (Regular) 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 DataForSEO API 存取權。