keywordstring
Keyword or phrase.
https://api.sandbase.ai/v1/api/dataforseo/v3/content_analysis/phrase_trends/liveCitation counts, sentiment and top domains over time for a keyword across web content.
เอาต์พุตของคุณจะแสดงที่นี่
กรอกอินพุตให้ครบ แล้วคลิก Run
Returns time-bucketed mentions data for a keyword across web content. Each bucket has sentiment counts, country and language splits, page types and page categories. It needs a keyword and a date_from date, and you can group results by day, week or month.
happiness and share to spot shifts in tone around a launch.curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/content_analysis/phrase_trends/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"keyword": "iphone", "date_from": "2026-09-01", "date_group": "week"}'
The result is returned in outputs[0].
| Name | Type | Required | Description |
|---|---|---|---|
date_from | string | No | Start date, "yyyy-mm-dd". |
date_group | string | No | "day", "week" or "month". |
date_to | string | No | Optional end date. |
keyword | string | No | Keyword or phrase. |
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",
"date_from": "2026-09-01",
"date_group": "week",
"function": "phrase_trends",
"keyword": "iphone"
},
"id": "11030828-2190-0467-0000-4a26efffea9e",
"path": [
"v3"
],
"result": [
{
"connotation_types": {
"negative": 88128,
"neutral": 64160,
"positive": 109544
},
"countries": {
"BR": 6256,
"DE": 12744,
"ES": 8432,
"GB": 3424,
"IN": 6168,
"IT": 8312,
"NL": 7152,
"PL": 6848
},
"date": "2026-08-31",
"languages": {
"de": 22776,
"en": 114144,
"es": 27144,
"fr": 6416,
"it": 17832,
"ja": 60712,
"nl": 6704,
"pl": 4640
},
"page_categories": [
{
"category": [
10019
],
"count": 76192
}
],
"page_types": {
"blogs": 110840,
"ecommerce": 93424,
"message-boards": 96,
"news": 11448,
"organization": 114104
},
"rank": 396,
"sentiment_connotations": {
"anger": 0,
"fun": 760,
"happiness": 6816,
"love": 1232,
"sadness": 24,
"share": 5768
}
}
],
"result_count": 10,
"status_code": 20000,
"status_message": "Ok.",
"time": "9.8149 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "9.8224 sec.",
"version": "0.1.20261022"
}
| Field | Meaning |
|---|---|
tasks[].result[].date | Start date of the time bucket, in yyyy-mm-dd format. With date_group set to week, each row is one week. |
tasks[].result[].connotation_types.negative / neutral / positive | Number of mentions in the bucket with each overall sentiment. |
tasks[].result[].sentiment_connotations.anger / fun / happiness / love / sadness / share | Number of mentions in the bucket tagged with each emotion. |
tasks[].result[].countries | Mention counts per country code, such as DE or GB. |
tasks[].result[].languages | Mention counts per language code, such as en or ja. |
tasks[].result[].page_types.blogs / ecommerce / news / organization / message-boards | Mention counts by type of page that carries the keyword. |
tasks[].result[].page_categories[].category | List of numeric category IDs for the page group. |
tasks[].result[].page_categories[].count | Number of mentions in that category for the bucket. |
tasks[].result[].rank | Rank value for the keyword in that bucket. The response does not state how it is scored. |
tasks[].result_count | Number of buckets in the result. The sample shows only a few rows. |
date of the first row (2026-08-31) comes before the requested date_from (2026-09-01), so weekly buckets can start on an earlier day.date_to to set an end date for the range.Billed at the actual cost of each call, about $0.024324 for the request above. Failed calls are not charged.
เริ่มสร้าง
เอ็นด์พอยต์ของ Platform API ที่มีการยืนยันตัวตนและการติดตามการใช้งานแบบรวมศูนย์
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/content_analysis/phrase_trends/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keyword": "iphone",
"date_from": "2026-09-01",
"date_group": "week"
}'ตั้งค่า SandBase API key ของคุณในสภาพแวดล้อมฝั่งเซิร์ฟเวอร์ คำขอจะใช้การยืนยันตัวตนแบบ Bearer
export SANDBASE_API_KEY="YOUR_API_KEY"เก็บ key ไว้บนเซิร์ฟเวอร์ อย่าเปิดเผยในโค้ดฝั่งเบราว์เซอร์
keywordstringKeyword or phrase.
date_fromstringStart date, "yyyy-mm-dd".
date_groupstring"day", "week" or "month".
date_tostringOptional end date.
บันทึกตัวอย่างการตอบกลับสำหรับ API นี้; จะไม่มีการส่งคำขอจริงเมื่อเปิดดู
ยังไม่มีการเผยแพร่การตอบกลับที่บันทึกไว้ ให้รัน API ใน Playground เพื่อดูการตอบกลับ
สำรวจเพิ่มเติม
| API | ราคา | การตอบกลับ |
|---|---|---|
DataForSEO | เริ่มต้นที่ $0.024324 ต่อครั้ง | 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/phrase_trends/live โดยใส่ SandBase API key ของคุณใน Authorization header (Bearer) และส่งพารามิเตอร์เป็น JSON body คุณยังสามารถลองใช้ได้ใน Playground บนหน้านี้โดยไม่ต้องเขียนโค้ด
เริ่มต้นที่ $0.024324 ต่อครั้ง คิดจากยอดคงเหลือ SandBase ของคุณ คุณจะถูกเรียกเก็บเฉพาะคำขอที่คุณส่งเท่านั้น ไม่มีค่าสมาชิกรายเดือน
ไม่ต้องระบุพารามิเตอร์ ตัวเลือก: keyword (string), date_from (string), date_group (string) และ date_to (string). ตาราง Parameters และ Playground ในหน้านี้แสดงทุกฟิลด์
การตอบกลับ JSON ที่ส่งกลับในคำขอ HTTP เดียวกัน (แบบซิงโครนัส) README บนหน้านี้มีตัวอย่างการตอบกลับ
ไม่จำเป็น DataForSEO Content Analysis Phrase Trends ทำงานผ่าน SandBase ดังนั้น SandBase API key เดียวครอบคลุม endpoint นี้และทุก API กับโมเดลอื่นในแค็ตตาล็อก คุณไม่ต้องสมัครขอสิทธิ์เข้าถึง DataForSEO API แยกต่างหาก