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.004 每次调用JSON
DataForSEO每次调用从 $0.00162 起JSON
DataForSEO每次调用从 $0.001105 起JSON

问题

常见问题

如何使用 DataForSEO Content Analysis Search API?

向 https://api.sandbase.ai/v1/api/dataforseo/v3/content_analysis/search/live 发送 POST 请求,在 Authorization 请求头中使用您的 SandBase API key(Bearer),并将参数作为 JSON 请求体传入。您也可以直接在本页的 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 key 吗?

不需要。DataForSEO Content Analysis Search 通过 SandBase 运行,因此一个 SandBase API key 即可覆盖此端点以及目录中的其他所有 API 和模型。您无需单独申请 DataForSEO API 访问权限。