品牌提及
curl --request POST \
--url https://api.socq.ai/v1/brand-monitoring/mentions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "<string>",
"callback_url": "<string>",
"results_limit": 100
}
'import requests
url = "https://api.socq.ai/v1/brand-monitoring/mentions"
payload = {
"query": "<string>",
"callback_url": "<string>",
"results_limit": 100
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({query: '<string>', callback_url: '<string>', results_limit: 100})
};
fetch('https://api.socq.ai/v1/brand-monitoring/mentions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.socq.ai/v1/brand-monitoring/mentions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'query' => '<string>',
'callback_url' => '<string>',
'results_limit' => 100
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.socq.ai/v1/brand-monitoring/mentions"
payload := strings.NewReader("{\n \"query\": \"<string>\",\n \"callback_url\": \"<string>\",\n \"results_limit\": 100\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.socq.ai/v1/brand-monitoring/mentions")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"<string>\",\n \"callback_url\": \"<string>\",\n \"results_limit\": 100\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.socq.ai/v1/brand-monitoring/mentions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"<string>\",\n \"callback_url\": \"<string>\",\n \"results_limit\": 100\n}"
response = http.request(request)
puts response.read_body{
"code": 200,
"data": {
"task_id": "<string>",
"status": "<string>",
"created_time": "<string>"
}
}{
"code": 422,
"error": {
"message": "<string>",
"type": "<string>",
"details": {}
}
}品牌监测
品牌提及
采集提到某个品牌的网页,附情感和情绪分数、作者、日期、站点类型和权威度。
POST
/
v1
/
brand-monitoring
/
mentions
品牌提及
curl --request POST \
--url https://api.socq.ai/v1/brand-monitoring/mentions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "<string>",
"callback_url": "<string>",
"results_limit": 100
}
'import requests
url = "https://api.socq.ai/v1/brand-monitoring/mentions"
payload = {
"query": "<string>",
"callback_url": "<string>",
"results_limit": 100
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({query: '<string>', callback_url: '<string>', results_limit: 100})
};
fetch('https://api.socq.ai/v1/brand-monitoring/mentions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.socq.ai/v1/brand-monitoring/mentions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'query' => '<string>',
'callback_url' => '<string>',
'results_limit' => 100
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.socq.ai/v1/brand-monitoring/mentions"
payload := strings.NewReader("{\n \"query\": \"<string>\",\n \"callback_url\": \"<string>\",\n \"results_limit\": 100\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.socq.ai/v1/brand-monitoring/mentions")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"<string>\",\n \"callback_url\": \"<string>\",\n \"results_limit\": 100\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.socq.ai/v1/brand-monitoring/mentions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"query\": \"<string>\",\n \"callback_url\": \"<string>\",\n \"results_limit\": 100\n}"
response = http.request(request)
puts response.read_body{
"code": 200,
"data": {
"task_id": "<string>",
"status": "<string>",
"created_time": "<string>"
}
}{
"code": 422,
"error": {
"message": "<string>",
"type": "<string>",
"details": {}
}
}品牌提及
每一行都是网上某个提到查询词的网页:博客测评、新闻报道、论坛帖子、商品页面。除了网址和标题,还有提及处前后的段落、作者(如有)、网页语言和国家、站点类型,这段文字的正面、负面、中性情感占比,六种情绪分数,以及网页和所在域名的权威分、垃圾分。用 content_type 可以只看新闻或论坛;给词组加上英文双引号可以精确匹配。{
"query": "notion",
"results_limit": 100
}
标准结果字段
任务结果使用下方稳定的 SocQ 字段。系统会统一来源特有的字段名和格式,但不会推断或补充来源未提供的数据。如需缩小返回字段集合,MCP 查询使用fields,Typed 工具使用 _result_fields,CLI 使用 --result-fields。声明字段的值为 null 时仍会保留。
| 字段 | 类型 | 可空 | 说明 |
|---|---|---|---|
id | string | 是 | 网页地址,作为标识。 |
platform | string | 否 | 结果所属的平台,例如 instagram 或 linkedin。 |
resource | string | 否 | 该结果对应的 SocQ 资源,例如 videos 或 comments。 |
type | string | 否 | 结果项的类别,例如 video、post 或 comment。 |
url | string | 是 | 提到该查询词的网页地址。 |
published_at | string | 是 | 网页的发布时间(如有),使用 ISO 8601 格式。 |
collected_at | string | 否 | SocQ 采集或处理该结果的时间,使用 ISO 8601 格式。 |
title | string | 是 | 网页标题。 |
text | string | 是 | 网页中提到查询词的段落。 |
author_name | string | 是 | 网页作者(如有)。 |
domain | string | 是 | 网页所属域名。 |
language | string | 是 | 网页的语言代码。 |
country | string | 是 | 网站所属的两位国家代码;WW 表示全球。 |
page_types | array<string> | 是 | 网页所属的站点类型,例如 news、blogs 或 ecommerce。 |
sentiment | object | 是 | 该段落的情感倾向,各项取值 0 到 1,合计为 1。 |
sentiment.positive | number | 是 | 正面得分。 |
sentiment.negative | number | 是 | 负面得分。 |
sentiment.neutral | number | 是 | 中性得分。 |
emotions | object | 是 | 该段落体现的情绪,各项取值 0 到 1。 |
emotions.happiness | number | 是 | 快乐得分。 |
emotions.love | number | 是 | 喜爱得分。 |
emotions.fun | number | 是 | 趣味得分。 |
emotions.share | number | 是 | 分享意愿得分。 |
emotions.sadness | number | 是 | 悲伤得分。 |
emotions.anger | number | 是 | 愤怒得分。 |
content_quality_score | integer | 是 | 网页内容质量分,取值 0 到 100。 |
spam_score | integer | 是 | 网页的垃圾分数,取值 0 到 100,越高说明垃圾特征越多。 |
domain_rank | integer | 是 | 域名的权威分,取值 0 到 1000。 |
page_rank | integer | 是 | 网页的权威分,取值 0 到 1000。 |
fetched_at | string | 是 | 最近一次读取该网页的时间,使用 ISO 8601 格式。 |
query | string | 是 | 所查询的品牌、产品或话题。 |
任务完成响应
{
"code": 200,
"data": {
"task_id": "example-brand-monitoring-mentions",
"status": "succeeded",
"public_id": "brand-monitoring/mentions",
"result_count": 1,
"credits_amount": 10.02,
"results": {
"limit": 50,
"next_cursor": null,
"has_more": false,
"schema_id": "brand-mention",
"schema_version": "1.0",
"items": [
{
"id": "https://play.google.com/store/apps/details?id=com.bynge.story&hl=en_US",
"platform": "brand-monitoring",
"resource": "mentions",
"type": "mention",
"url": "https://play.google.com/store/apps/details?id=com.bynge.story&hl=en_US",
"published_at": null,
"collected_at": "2026-11-17T23:55:01.265294Z",
"title": "Notion Press",
"text": "Unlock the full potential of your publishing journey with the Notion Press App, offering an enhanced and user-friendly author dashboard. Whether you're tracking your earnings, managing book sales, or utilizing exclusive coupon codes, the Notion Press App is here for you.\nSeamless Author Login: Easily access your Notion Press author account and stay connected with your publishing progress anytime, anywhere.\nEnhanced …",
"author_name": "Notion Press",
"domain": "play.google.com",
"language": "en",
"country": "WW",
"page_types": [
"ecommerce"
],
"sentiment": {
"positive": 0.3241,
"negative": 0.1386,
"neutral": 0.5374
},
"emotions": {
"happiness": 0.3779,
"love": 0.2316,
"fun": 0.1624,
"share": 0.151,
"sadness": 0.0405,
"anger": 0.0367
},
"content_quality_score": 91,
"spam_score": 0,
"domain_rank": 1000,
"page_rank": 669,
"fetched_at": "2025-12-28T11:41:43Z",
"query": "notion"
}
]
}
}
}
请求体
application/json
通过 query 提供品牌、产品或话题(最多 100 个字符)。content_type 可以把结果限定为 news、blogs、message-boards、ecommerce 或 organization 类站点。results_limit 默认 100,可填 1–1000 之间的整数。每次请求计 10 积分,每个网页再加 0.02 积分;没有找到网页时同样收取 10 积分。

