keywordstring
Search query.
https://api.sandbase.ai/v1/api/dataforseo/v3/content_analysis/rating_distribution/liveReturns the distribution of ratings across analyzed web content and media sources. Helps evaluate audience sentiment and review scores across aggregated citations.
[
{
"cost": 0,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0,
"data": {
"api": "content_analysis",
"function": "rating_distribution"
},
"id": "08200930-2190-0466-0000-5fe3b19f4335",
"path": [
"v3",
"content_analysis",
"rating_distribution",
"… 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.0303 sec.",
"version": "0.1.20260806"
}
]예시를 선택하면 입력값과 결과가 플레이그라운드에 로드됩니다.
Returns a list of rating buckets for web content that mentions a keyword. Each bucket covers a score range from min to max and holds counts of sentiment, countries, languages, page types and categories. The request needs one keyword.
anger and happiness for a brand in each rating bucket.curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/content_analysis/rating_distribution/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": "rating_distribution",
"keyword": "nike"
},
"id": "11030828-2190-0466-0000-0426958cc45a",
"path": [
"v3"
],
"result": [
{
"max": 0.1,
"metrics": {
"connotation_types": {
"negative": 0,
"neutral": 0,
"positive": 0
},
"countries": null,
"languages": null,
"page_categories": null,
"page_types": null,
"rank": 0,
"sentiment_connotations": {
"anger": 0,
"fun": 0,
"happiness": 0,
"love": 0,
"sadness": 0,
"share": 0
},
"text_categories": null
},
"min": 0,
"type": "content_analysis_rating_distribution"
}
],
"result_count": 10,
"status_code": 20000,
"status_message": "Ok.",
"time": "14.8977 sec."
}
],
"tasks_count": 1,
"tasks_error": 0,
"time": "14.9059 sec.",
"version": "0.1.20261022"
}
| Field | Meaning |
|---|---|
tasks[].result[].min / max | Lower and upper bound of the rating range for this bucket. In the example, the buckets run in steps of 0.1, such as 0 to 0.1 and 0.1 to 0.2. |
tasks[].result[].metrics.connotation_types | Counts of negative, neutral and positive citations in the bucket. |
tasks[].result[].metrics.sentiment_connotations | Counts of citations by emotion: anger, fun, happiness, love, sadness and share. |
tasks[].result[].metrics.countries | Citation counts keyed by country code, such as DE or CH. The value is null when the bucket has no data. |
tasks[].result[].metrics.languages | Citation counts keyed by language code, such as en or de. |
tasks[].result[].metrics.page_types | Citation counts by page type, such as ecommerce, blogs, news, message-boards and organization. |
tasks[].result[].metrics.page_categories[] / text_categories[] | Lists of category ID arrays with a count for each. A category of null means no category was assigned. |
tasks[].result[].metrics.rank | Rank value for the bucket. It is 0 in empty buckets and 454 in the 0.1 to 0.2 bucket. |
tasks[].result_count | Number of result buckets in the task. |
keyword.0 counts or null for the breakdown fields, so check for null before reading them.Billed at the actual cost of each call, about $0.024 for the request above. Failed calls are not charged.
빌드를 시작하세요
통합 인증 및 사용량 추적이 있는 플랫폼 API 엔드포인트입니다.
curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/content_analysis/rating_distribution/live" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"keyword": "nike"
}'서버 환경에 SandBase API 키를 설정하세요. 요청에는 Bearer 인증이 사용됩니다.
export SANDBASE_API_KEY="YOUR_API_KEY"키는 서버에 보관하세요. 브라우저 코드에 노출하지 마세요.
keywordstringSearch query.
이 API의 저장된 예시 응답입니다. 확인할 때 라이브 요청은 실행되지 않습니다.
[
{
"cost": 0,
"status_code": 20000,
"status_message": "Ok.",
"tasks": [
{
"cost": 0,
"data": {
"api": "content_analysis",
"function": "rating_distribution"
},
"id": "08200930-2190-0466-0000-5fe3b19f4335",
"path": [
"v3",
"content_analysis",
"rating_distribution",
"… 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.0303 sec.",
"version": "0.1.20260806"
}
]더 살펴보기
| API | 가격 | 응답 |
|---|---|---|
DataForSEO | 호출당 $0.024부터 | 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/rating_distribution/live에 POST 요청을 보내세요. 이 페이지의 Playground에서도 코드를 작성하지 않고 직접 테스트할 수 있습니다.
호출당 $0.024부터, SandBase 잔액에서 청구됩니다. 사용한 호출에 대해서만 요금이 부과되며, 구독은 없습니다.
필수 매개변수는 없습니다. 선택: keyword (string). 이 페이지의 Parameters 표와 Playground에 모든 필드가 나와 있습니다.
같은 HTTP 요청에서 반환되는 JSON 응답입니다(동기식). 이 페이지의 README에 샘플 응답이 포함되어 있습니다.
아니요. DataForSEO Content Analysis Rating Distribution은 SandBase를 통해 실행되므로, SandBase API 키 하나로 이 엔드포인트와 카탈로그의 다른 모든 API 및 모델을 사용할 수 있습니다. DataForSEO API 액세스를 별도로 신청할 필요는 없습니다.