category_codeinteger
Content category code, e.g. 10994.
https://api.sandbase.ai/v1/api/dataforseo/v3/content_analysis/category_trends/liveCitation counts, sentiment and top domains over time for a content category.
출력이 여기에 표시됩니다
입력을 완료한 다음 Run을 클릭하세요.
Returns time-bucketed content statistics for one content category. You send a category_code and a date_from, and you can group results by day, week or month with date_group. Each bucket shows counts by sentiment, country, language, page type and sub-category.
happiness or anger across a category before planning content.curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/content_analysis/category_trends/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"category_code": 10994, "date_from": "2026-09-01", "date_group": "week"}'
The result is returned in outputs[0].
| Name | Type | Required | Description |
|---|---|---|---|
category_code | integer | No | Content category code, e.g. 10994. |
date_from | string | No | Start date, "yyyy-mm-dd". |
date_group | string | No | "day", "week" or "month". |
date_to | string | No | Optional end date. |
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",
"category_code": 10994,
"date_from": "2026-09-01",
"date_group": "week",
"function": "category_trends"
},
"id": "11030828-2190-0468-0000-a26395f7a23d",
"path": [
"v3"
],
"result": [
{
"connotation_types": {
"negative": 84064,
"neutral": 216464,
"positive": 169808
},
"countries": {
"AU": 8664,
"BR": 4088,
"CL": 2928,
"DE": 19472,
"ES": 6280,
"FR": 15304,
"GB": 26512,
"US": 79008
},
"date": "2026-08-31",
"languages": {
"de": 36256,
"en": 332264,
"es": 15512,
"fr": 58200,
"it": 1088,
"ja": 3880,
"pt": 5104,
"ro": 4176
},
"page_categories": [
{
"category": null,
"count": 21168
}
],
"page_types": {
"blogs": 36368,
"ecommerce": 254736,
"message-boards": 160,
"news": 3000,
"organization": 124616
},
"rank": 480,
"sentiment_connotations": {
"anger": 248,
"fun": 840,
"happiness": 65608,
"love": 2624,
"sadness": 304,
"share": 7920
}
}
],
"result_count": 10,
"status_code": 20000,
"status_message": "Ok.",
"time": "24.8884 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "24.9285 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, the sample dates are a week apart. |
tasks[].result[].rank | A rank number for the category in that bucket. The response does not state the scale, so treat it as a relative value. |
tasks[].result[].connotation_types.negative / neutral / positive | Counts of content in the bucket grouped by overall tone. |
tasks[].result[].sentiment_connotations.anger / fun / happiness / love / sadness / share | Counts of content in the bucket tagged with each emotion. |
tasks[].result[].countries | Counts of content by two-letter country code, such as US or GB. Only a handful of countries appear per bucket. |
tasks[].result[].languages | Counts of content by language code, such as en or de. |
tasks[].result[].page_types.blogs / ecommerce / news / organization / message-boards | Counts of content by type of page. |
tasks[].result[].page_categories[].category | List of category codes for a sub-category group, or null when no category applies. Use it together with count. |
tasks[].result[].page_categories[].count | Number of items in that category group for the bucket. |
date in each result is the start of its bucket and may fall before your date_from. The first sample bucket is 2026-08-31 for a date_from of 2026-09-01.date_to to limit the range. Set date_group to day, week or month to change the bucket size.tasks[].result[]. Check tasks[].status_code for 20000 to confirm the task succeeded.page_categories[].category value is an array of numeric category codes, and you can reuse such codes as category_code in a new call.Billed at the actual cost of each call, about $0.024324 for the request above. Failed calls are not charged.
빌드를 시작하세요
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/content_analysis/category_trends/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"date_from": "2026-09-01",
"date_group": "week",
"category_code": 10994
}'서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
category_codeintegerContent category code, e.g. 10994.
date_fromstringStart date, "yyyy-mm-dd".
date_groupstring"day", "week" or "month".
date_tostringOptional end date.
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
저장된 응답이 게시되지 않았습니다. Playground에서 API를 실행해 응답을 확인하세요.
더 살펴보기
| 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 |
질문
Authorization 헤더(Bearer)에 SandBase API 키를 넣고, 매개변수를 JSON 본문으로 담아 https://api.sandbase.ai/v1/api/dataforseo/v3/content_analysis/category_trends/live에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.024324부터, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
필수 매개변수는 없습니다. 선택: category_code (integer), date_from (string), date_group (string) 및 date_to (string). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. DataForSEO Content Analysis Category Trends은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. DataForSEO API 액세스를 별도로 신청할 필요는 없습니다.