Sand AISand AI MAGI-2MAGI-2 現已登上 SandBase:支援原生音訊的 1080p 影片立即試用

DataForSEO Content Analysis Summary

API 文件
https://api.sandbase.ai/v1/api/dataforseo/v3/content_analysis/summary/live

Returns aggregated content metrics and high-level citation statistics for content analysis workflows. Evaluates summary indicators across analyzed online content.

價格
自 $0.024036 起美元/次呼叫
方法
POST
回應
JSON
參數
0 個必填 · 1 個選填

Playground

輸入
Search query.
輸出範例
回應outputs · 692 B · 32 行
[
  {
    "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。

API README

DataForSEO Content Analysis Summary API

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.

Use cases

  • Compare how positive, neutral and negative the online content about a brand is.
  • Check which page types, such as news, blogs or ecommerce, mention a keyword most often.
  • See which countries and languages produce the most content about a topic.
  • Find the content categories that a brand or topic appears in.

Request

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].

Parameters

NameTypeRequiredDescription
keywordstringNoSearch query.

Example response

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"
}

Response fields

FieldMeaning
tasks[].result[].connotation_typesCounts of mentions by tone. The keys are negative, neutral and positive.
tasks[].result[].sentiment_connotationsCounts of mentions by emotion type, such as anger, happiness, love, fun, sadness and share.
tasks[].result[].page_typesCounts of mentions by type of page, such as news, blogs, ecommerce, message-boards and organization.
tasks[].result[].countriesCounts of mentions by country. Keys are two-letter country codes such as US and GB.
tasks[].result[].languagesCounts of mentions by language. Keys are language codes such as en, ja and de.
tasks[].result[].page_categories[].category / tasks[].result[].text_categories[].categoryA 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[].countNumber of mentions that fall into the matching category.
tasks[].result[].rankA numeric rank value for the keyword's content. The response does not state its scale.
tasks[].result_countNumber of result objects in the task. A summary call returns one.

Notes

  • Pass the search term in the keyword parameter, for example nike.
  • Category values are numeric code lists such as [10014, 13605, 13609]. A null category groups content with no category.
  • The result object is nested under tasks[].result[]. Read the first item of each list.

Pricing

Billed at the actual cost of each call, about $0.024036 for the request above. Failed calls are not charged.

探索更多

相關 APIs

所有 APIs
API價格回應
DataForSEO每次呼叫 $0.024036 起JSON
DataForSEO每次呼叫 $0.0102 起JSON
DataForSEO每次呼叫 $0.000724 起JSON
DataForSEO每次呼叫 $0.004JSON
DataForSEO每次呼叫 $0.00162 起JSON
DataForSEO每次呼叫 $0.001105 起JSON

問題

常見問題

我要如何使用 DataForSEO Content Analysis Summary API?

使用 POST 請求將您的 SandBase API 金鑰放在 Authorization 標頭(Bearer)中,並以 JSON 主體傳入參數,即可呼叫 https://api.sandbase.ai/v1/api/dataforseo/v3/content_analysis/summary/live。您也可以直接在本頁的 Playground 試用,不必撰寫程式碼。

DataForSEO Content Analysis Summary API 的費用是多少?

每次起 $0.024036,並從您的 SandBase 餘額中扣款。您只會為實際發出的呼叫付費;沒有訂閱方案。

DataForSEO Content Analysis Summary API 接受哪些參數?

不需要任何參數。 選填:keyword (string)。 本頁的 Parameters 表格與 Playground 會列出每個欄位。

DataForSEO Content Analysis Summary API 會回傳什麼?

在同一個 HTTP 請求中回傳的 JSON 回應(同步)。 本頁的 README 包含範例回應。

我需要 DataForSEO 開發者帳號或 API 金鑰嗎?

不需要。DataForSEO Content Analysis Summary 是透過 SandBase 運作,因此一組 SandBase API 金鑰即可使用此端點以及目錄中的其他所有 API 和模型。您不需要另外申請 DataForSEO API 存取權。