keywordstring
Search query.
https://api.sandbase.ai/v1/api/dataforseo/v3/content_analysis/search/liveReturns web content analysis results matching specified search topics. Useful for evaluating online content, monitoring discussions, and performing natural language processing workflows across web sources.
[
{
"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"
}
]Chọn một ví dụ để nạp đầu vào và kết quả của nó vào playground.
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.
nike and compare their positive and negative sentiment scores.domain_rank to sort outreach targets.language or country to see how a topic appears in different markets.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].
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | No | Search query. |
limit | integer | No | Maximum number of results (up to 100). |
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"
}
| Field | Meaning |
|---|---|
tasks[].result[].total_count | Total number of pages that match the keyword. Only the first limit pages come back in items. |
tasks[].result[].items_count | Number of items returned in this response. |
tasks[].result[].items[].domain / main_domain | Host name of the page and its root domain, for example about.nike.com and nike.com. |
tasks[].result[].items[].domain_rank | Rank value for the domain. A higher value means a stronger domain in the response. |
tasks[].result[].items[].content_info.connotation_types.positive / negative / neutral | Sentiment scores between 0 and 1 for the page content. The three values add up to about 1. |
tasks[].result[].items[].content_info.content_quality_score | Quality score for the page content. The sample values run from 93 to 100. |
tasks[].result[].items[].content_info.language / country | Language code of the content, and the country code of the page (country sits on the item itself). |
tasks[].result[].items[].fetch_time | Date and time the page was fetched, in the format 2026-10-03 14:31:40 +00:00. |
tasks[].result[].items[].content_info.group_date | Date tied to the content, in the same timestamp format. date_published is often null. |
tasks[].result[].offset_token | Token that marks where this result page ended. It encodes the current offset and the original request. |
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.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.Billed at the actual cost of each call, about $0.02418 for the request above. Failed calls are not charged.
Bắt đầu xây dựng
Endpoint API của nền tảng với xác thực và theo dõi mức sử dụng thống nhất.
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 '{
"limit": 5,
"keyword": "nike"
}'Đặt SandBase API key của bạn trong môi trường máy chủ. Các request sử dụng xác thực Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Giữ key của bạn trên máy chủ. Không hiển thị trong mã chạy trên trình duyệt.
keywordstringSearch query.
limitintegerMaximum number of results (up to 100).
Đây là phản hồi ví dụ đã lưu cho API này; không có request thực nào được gửi khi xem mục này.
[
{
"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"
}
]Khám phá thêm
| API | Giá | Phản hồi |
|---|---|---|
DataForSEO | Từ $0.02418 mỗi lần gọi | JSON |
DataForSEO | Từ $0.0102 mỗi lần gọi | JSON |
DataForSEO | Từ $0.000724 mỗi lần gọi | JSON |
DataForSEO | $0.004 mỗi lần gọi | JSON |
DataForSEO | Từ $0.00162 mỗi lần gọi | JSON |
DataForSEO | Từ $0.001105 mỗi lần gọi | JSON |
Câu hỏi
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.
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ý.
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.
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.
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.