keywordstring
Search query.
https://api.sandbase.ai/v1/api/dataforseo/v3/content_analysis/search/liveReturns web content analysis results matching specified search topics. Useful for evaluating online content, monitoring discussions, and performing natural language processing workflows across web sources.
[
{
"cost": 0,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0,
"data": {
"api": "content_analysis",
"function": "search"
},
"id": "08200930-2190-0463-0000-bbff82691f72",
"path": [
"v3",
"content_analysis",
"search",
"… 1 more items in the full response"
],
"result": null,
"result_count": 0,
"status_code": 40503,
"status_message": "POST Data Is Invalid.",
"time": "0 sec."
}
],
"tasks_count": 1,
"tasks_error": 1,
"time": "0.0883 sec.",
"version": "0.1.20260806"
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Returns web pages that mention a keyword, with sentiment scores, a content quality score and domain details for each page. It needs a keyword and an optional limit for the number of results.
nike and compare their positive and negative sentiment scores.domain_rank to sort outreach targets.language or country to see how a topic appears in different markets.curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/content_analysis/search/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "nike", "limit": 5}'
The result is returned in outputs[0].
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | No | Search query. |
limit | integer | No | Maximum number of results (up to 100). |
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": "content_analysis",
"function": "search",
"keyword": "nike",
"limit": 5
},
"id": "11030828-2190-0463-0000-97b94d154e5f",
"path": [
"v3"
],
"result": [
{
"items": [
{
"content_info": {
"author": null,
"connotation_types": {
"negative": 0.14120648801326752,
"neutral": 0.19344741106033325,
"positive": 0.6653761863708496
},
"content_quality_score": 94,
"content_type": "page_content",
"date_published": null,
"group_date": "2019-01-16 04:49:50 +00:00",
"highlighted_text": null,
"language": "en"
},
"country": "CA",
"domain": "www.ssense.com",
"domain_rank": 456,
"fetch_time": "2026-07-21 12:08:42 +00:00",
"language": "en",
"main_domain": "ssense.com",
"page_category": [
10014
]
}
],
"items_count": 5,
"offset_token": "eyJDdXJy…",
"total_count": 146180252
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "34.6436 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "34.6552 sec.",
"version": "0.1.20261022"
}
| Field | Meaning |
|---|---|
tasks[].result[].total_count | Total number of pages that match the keyword. Only the first limit pages come back in items. |
tasks[].result[].items_count | Number of items returned in this response. |
tasks[].result[].items[].domain / main_domain | Host name of the page and its root domain, for example about.nike.com and nike.com. |
tasks[].result[].items[].domain_rank | Rank value for the domain. A higher value means a stronger domain in the response. |
tasks[].result[].items[].content_info.connotation_types.positive / negative / neutral | Sentiment scores between 0 and 1 for the page content. The three values add up to about 1. |
tasks[].result[].items[].content_info.content_quality_score | Quality score for the page content. The sample values run from 93 to 100. |
tasks[].result[].items[].content_info.language / country | Language code of the content, and the country code of the page (country sits on the item itself). |
tasks[].result[].items[].fetch_time | Date and time the page was fetched, in the format 2026-10-03 14:31:40 +00:00. |
tasks[].result[].items[].content_info.group_date | Date tied to the content, in the same timestamp format. date_published is often null. |
tasks[].result[].offset_token | Token that marks where this result page ended. It encodes the current offset and the original request. |
limit to control how many items you get. The parameter accepts up to 100.offset_token in the response points to the next page of results for the same search.author, date_published and highlighted_text can be null, so check for them before use.page_category holds a list of numeric category codes for each page.Billed at the actual cost of each call, about $0.02418 for the request above. Failed calls are not charged.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/content_analysis/search/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"limit": 5,
"keyword": "nike"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
keywordstringSearch query.
limitintegerMaximum number of results (up to 100).
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"cost": 0,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0,
"data": {
"api": "content_analysis",
"function": "search"
},
"id": "08200930-2190-0463-0000-bbff82691f72",
"path": [
"v3",
"content_analysis",
"search",
"… 1 more items in the full response"
],
"result": null,
"result_count": 0,
"status_code": 40503,
"status_message": "POST Data Is Invalid.",
"time": "0 sec."
}
],
"tasks_count": 1,
"tasks_error": 1,
"time": "0.0883 sec.",
"version": "0.1.20260806"
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
DataForSEO | เริ่มต้นที่ $0.02418 ต่อครั้ง | 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/content_analysis/search/live โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
เริ่มต้นที่ $0.02418 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: keyword (string) และ limit (integer). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น DataForSEO Content Analysis Search ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง DataForSEO API แยกต่างหาก