keywordstring
Search query.
https://api.sandbase.ai/v1/api/dataforseo/v3/content_analysis/summary/liveReturns aggregated content metrics and high-level citation statistics for content analysis workflows. Evaluates summary indicators across analyzed online content.
[
{
"cost": 0,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0,
"data": {
"api": "content_analysis",
"function": "summary"
},
"id": "08200930-2190-0464-0000-b9ab9d4dd4b8",
"path": [
"v3",
"content_analysis",
"summary",
"… 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.0307 sec.",
"version": "0.1.20260806"
}
]เลือกตัวอย่างเพื่อโหลดอินพุตและผลลัพธ์ลงใน playground
Returns aggregated statistics about online content that mentions a keyword. The response covers sentiment counts, page types, countries, languages and content categories. It needs one input: keyword.
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/content_analysis/summary/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "nike"}'
The result is returned in outputs[0].
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | No | Search query. |
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": "summary",
"keyword": "nike"
},
"id": "11030828-2190-0464-0000-6d1e54caa56c",
"path": [
"v3"
],
"result": [
{
"connotation_types": {
"negative": 1513464,
"neutral": 494208,
"positive": 1745224
},
"countries": {
"BR": 96008,
"DE": 106128,
"FR": 89168,
"GB": 118000,
"IN": 83352,
"IR": 51672,
"NL": 60472,
"US": 148608
},
"languages": {
"af": 28224,
"br": 11728,
"de": 50664,
"en": 2590960,
"es": 38952,
"fr": 32616,
"it": 13096,
"ja": 1189688
},
"page_categories": [
{
"category": null,
"count": 381568
}
],
"page_types": {
"blogs": 233416,
"ecommerce": 2845640,
"message-boards": 66912,
"news": 922688,
"organization": 299064
},
"rank": 520,
"sentiment_connotations": {
"anger": 48,
"fun": 6592,
"happiness": 435160,
"love": 180360,
"sadness": 376,
"share": 14840
},
"text_categories": [
{
"category": null,
"count": 241760
}
]
}
],
"result_count": 1,
"status_code": 20000,
"status_message": "Ok.",
"time": "2.8243 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "2.8336 sec.",
"version": "0.1.20261022"
}
| Field | Meaning |
|---|---|
tasks[].result[].connotation_types | Counts of mentions by tone. The keys are negative, neutral and positive. |
tasks[].result[].sentiment_connotations | Counts of mentions by emotion type, such as anger, happiness, love, fun, sadness and share. |
tasks[].result[].page_types | Counts of mentions by type of page, such as news, blogs, ecommerce, message-boards and organization. |
tasks[].result[].countries | Counts of mentions by country. Keys are two-letter country codes such as US and GB. |
tasks[].result[].languages | Counts of mentions by language. Keys are language codes such as en, ja and de. |
tasks[].result[].page_categories[].category / tasks[].result[].text_categories[].category | A list of numeric category codes, or null when no category applies. The code list is not part of this response. |
tasks[].result[].page_categories[].count / tasks[].result[].text_categories[].count | Number of mentions that fall into the matching category. |
tasks[].result[].rank | A numeric rank value for the keyword's content. The response does not state its scale. |
tasks[].result_count | Number of result objects in the task. A summary call returns one. |
keyword parameter, for example nike.[10014, 13605, 13609]. A null category groups content with no category.tasks[].result[]. Read the first item of each list.Billed at the actual cost of each call, about $0.024036 for the request above. Failed calls are not charged.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/content_analysis/summary/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keyword": "nike"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
keywordstringSearch query.
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
[
{
"cost": 0,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0,
"data": {
"api": "content_analysis",
"function": "summary"
},
"id": "08200930-2190-0464-0000-b9ab9d4dd4b8",
"path": [
"v3",
"content_analysis",
"summary",
"… 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.0307 sec.",
"version": "0.1.20260806"
}
]สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
DataForSEO | เริ่มต้นที่ $0.024036 ต่อครั้ง | 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/summary/live โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
เริ่มต้นที่ $0.024036 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: keyword (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น DataForSEO Content Analysis Summary ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง DataForSEO API แยกต่างหาก