Sand AISand AI MAGI-2MAGI-2 hiện đã có trên SandBase: video 1080p với âm thanh gốcDùng thử ngay

DataForSEO Content Analysis Search

Tài liệu 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.

Giá
Từ $0.02418USD / lượt gọi
Phương thức
POST
Phản hồi
JSON
Tham số
0 bắt buộc · 2 tùy chọn

Phòng thử nghiệm

Đầu vào
Search query.
Maximum number of results (up to 100).
Đầu raVí dụ
Phản hồioutputs · 690 B · 32 dòng
[
  {
    "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"
  }
]

Ví dụ

Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.

README API

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.

Khám phá thêm

APIs liên quan

Tất cả APIs
APIGiáPhản hồi
DataForSEOTừ $0.02418 mỗi lần gọiJSON
DataForSEOTừ $0.0102 mỗi lần gọiJSON
DataForSEOTừ $0.000724 mỗi lần gọiJSON
DataForSEO$0.004 mỗi lần gọiJSON
DataForSEOTừ $0.00162 mỗi lần gọiJSON
DataForSEOTừ $0.001105 mỗi lần gọiJSON

Câu hỏi

FAQ

Làm thế nào để dùng API DataForSEO Content Analysis Search?

Gửi yêu cầu POST đến https://api.sandbase.ai/v1/api/dataforseo/v3/content_analysis/search/live với khóa API SandBase của bạn trong tiêu đề Authorization (Bearer) và các tham số trong phần thân JSON. Bạn cũng có thể thử trực tiếp trong Playground trên trang này mà không cần viết code.

API DataForSEO Content Analysis Search có giá bao nhiêu?

Từ $0.02418 mỗi lần gọi, được tính từ số dư SandBase của bạn. Bạn chỉ bị tính phí cho các lần gọi bạn thực hiện; không có gói đăng ký.

API DataForSEO Content Analysis Search chấp nhận những tham số nào?

Không có tham số bắt buộc. Tùy chọn: keyword (string) và limit (integer). Bảng Parameters và Playground trên trang này liệt kê mọi trường.

API DataForSEO Content Analysis Search trả về gì?

Phản hồi JSON được trả về trong cùng một yêu cầu HTTP (đồng bộ). README trên trang này có ví dụ phản hồi.

Tôi có cần tài khoản nhà phát triển hoặc API key của DataForSEO không?

Không. DataForSEO Content Analysis Search chạy thông qua SandBase, nên chỉ cần một API key SandBase là đủ cho endpoint này và mọi API cùng model khác trong danh mục. Bạn không cần đăng ký riêng để có quyền truy cập API của DataForSEO.