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 |
问题
向 https://api.sandbase.ai/v1/api/dataforseo/v3/serp/google/organic/live/regular 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 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 key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 DataForSEO API 访问权限。