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

DataForSEO Content Analysis Search

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

Returns web content analysis results matching specified search topics. Useful for evaluating online content, monitoring discussions, and performing natural language processing workflows across web sources.

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

Playground

輸入
Search query.
Maximum number of results (up to 100).
輸出範例
回應outputs · 690 B · 32 行
[
  {
    "cost": 0,
    "status_code": 20000,
    "status_message": "Ok.",
    "tasks": [
      {
        "cost": 0,
        "data": {
          "api": "content_analysis",
          "function": "search"
        },
        "id": "08200930-2190-0463-0000-bbff82691f72",
        "path": [
          "v3",
          "content_analysis",
          "search",
          "… 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.0883 sec.",
    "version": "0.1.20260806"
  }
]

範例

選擇一個範例,將其輸入與結果載入 playground。

API README

DataForSEO Content Analysis Search API

Returns web pages that mention a keyword, with sentiment scores, a content quality score and domain details for each page. It needs a keyword and an optional limit for the number of results.

Use cases

  • Pull pages that mention a brand such as nike and compare their positive and negative sentiment scores.
  • Find high-ranking domains that write about a topic, using domain_rank to sort outreach targets.
  • Filter mentions by language or country to see how a topic appears in different markets.
  • Feed page-level sentiment and quality scores into a content monitoring or NLP pipeline.

Request

curl -X POST "https://api.sandbase.ai/v1/api/dataforseo/v3/content_analysis/search/live" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"keyword": "nike", "limit": 5}'

The result is returned in outputs[0].

Parameters

NameTypeRequiredDescription
keywordstringNoSearch query.
limitintegerNoMaximum number of results (up to 100).

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": "search",
        "keyword": "nike",
        "limit": 5
      },
      "id": "11030828-2190-0463-0000-97b94d154e5f",
      "path": [
        "v3"
      ],
      "result": [
        {
          "items": [
            {
              "content_info": {
                "author": null,
                "connotation_types": {
                  "negative": 0.14120648801326752,
                  "neutral": 0.19344741106033325,
                  "positive": 0.6653761863708496
                },
                "content_quality_score": 94,
                "content_type": "page_content",
                "date_published": null,
                "group_date": "2019-01-16 04:49:50 +00:00",
                "highlighted_text": null,
                "language": "en"
              },
              "country": "CA",
              "domain": "www.ssense.com",
              "domain_rank": 456,
              "fetch_time": "2026-07-21 12:08:42 +00:00",
              "language": "en",
              "main_domain": "ssense.com",
              "page_category": [
                10014
              ]
            }
          ],
          "items_count": 5,
          "offset_token": "eyJDdXJy…",
          "total_count": 146180252
        }
      ],
      "result_count": 1,
      "status_code": 20000,
      "status_message": "Ok.",
      "time": "34.6436 sec."
    }
  ],
  "tasks_count": 1,
  "tasks_error": 0,
  "time": "34.6552 sec.",
  "version": "0.1.20261022"
}

Response fields

FieldMeaning
tasks[].result[].total_countTotal number of pages that match the keyword. Only the first limit pages come back in items.
tasks[].result[].items_countNumber of items returned in this response.
tasks[].result[].items[].domain / main_domainHost name of the page and its root domain, for example about.nike.com and nike.com.
tasks[].result[].items[].domain_rankRank value for the domain. A higher value means a stronger domain in the response.
tasks[].result[].items[].content_info.connotation_types.positive / negative / neutralSentiment scores between 0 and 1 for the page content. The three values add up to about 1.
tasks[].result[].items[].content_info.content_quality_scoreQuality score for the page content. The sample values run from 93 to 100.
tasks[].result[].items[].content_info.language / countryLanguage code of the content, and the country code of the page (country sits on the item itself).
tasks[].result[].items[].fetch_timeDate and time the page was fetched, in the format 2026-10-03 14:31:40 +00:00.
tasks[].result[].items[].content_info.group_dateDate tied to the content, in the same timestamp format. date_published is often null.
tasks[].result[].offset_tokenToken that marks where this result page ended. It encodes the current offset and the original request.

Notes

  • Set limit to control how many items you get. The parameter accepts up to 100.
  • offset_token in the response points to the next page of results for the same search.
  • Several fields such as author, date_published and highlighted_text can be null, so check for them before use.
  • page_category holds a list of numeric category codes for each page.

Pricing

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

探索更多

相關 APIs

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

問題

常見問題

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

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

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

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

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

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

DataForSEO Content Analysis Search API 會回傳什麼?

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

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

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