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.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
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.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform 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 key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ 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 ไปที่ https://api.sandbase.ai/v1/api/dataforseo/v3/serp/google/organic/live/advanced โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
เริ่มต้นที่ $0.002 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: keyword (string), location_code (integer), language_code (string) และ depth (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น DataForSEO Google SERP (Advanced) ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง DataForSEO API แยกต่างหาก