LLM 提及
curl --request POST \
--url https://api.socq.ai/v1/ai-search/llm-mentions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "<string>",
"callback_url": "<string>",
"language": "<string>",
"language_code": "<string>",
"location_code": 2,
"location_name": "<string>",
"platform": "google",
"results_limit": 100,
"target": "<string>"
}
'import requests
url = "https://api.socq.ai/v1/ai-search/llm-mentions"
payload = {
"query": "<string>",
"callback_url": "<string>",
"language": "<string>",
"language_code": "<string>",
"location_code": 2,
"location_name": "<string>",
"platform": "google",
"results_limit": 100,
"target": "<string>"
}
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>',
language: '<string>',
language_code: '<string>',
location_code: 2,
location_name: '<string>',
platform: 'google',
results_limit: 100,
target: '<string>'
})
};
fetch('https://api.socq.ai/v1/ai-search/llm-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/ai-search/llm-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>',
'language' => '<string>',
'language_code' => '<string>',
'location_code' => 2,
'location_name' => '<string>',
'platform' => 'google',
'results_limit' => 100,
'target' => '<string>'
]),
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/ai-search/llm-mentions"
payload := strings.NewReader("{\n \"query\": \"<string>\",\n \"callback_url\": \"<string>\",\n \"language\": \"<string>\",\n \"language_code\": \"<string>\",\n \"location_code\": 2,\n \"location_name\": \"<string>\",\n \"platform\": \"google\",\n \"results_limit\": 100,\n \"target\": \"<string>\"\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/ai-search/llm-mentions")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"<string>\",\n \"callback_url\": \"<string>\",\n \"language\": \"<string>\",\n \"language_code\": \"<string>\",\n \"location_code\": 2,\n \"location_name\": \"<string>\",\n \"platform\": \"google\",\n \"results_limit\": 100,\n \"target\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.socq.ai/v1/ai-search/llm-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 \"language\": \"<string>\",\n \"language_code\": \"<string>\",\n \"location_code\": 2,\n \"location_name\": \"<string>\",\n \"platform\": \"google\",\n \"results_limit\": 100,\n \"target\": \"<string>\"\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": {}
}
}AI 搜索
LLM 提及
查看引用你的域名、或提到你的关键词的 AI 概览和 ChatGPT 回答,以及回答引用的全部来源。
POST
/
v1
/
ai-search
/
llm-mentions
LLM 提及
curl --request POST \
--url https://api.socq.ai/v1/ai-search/llm-mentions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"query": "<string>",
"callback_url": "<string>",
"language": "<string>",
"language_code": "<string>",
"location_code": 2,
"location_name": "<string>",
"platform": "google",
"results_limit": 100,
"target": "<string>"
}
'import requests
url = "https://api.socq.ai/v1/ai-search/llm-mentions"
payload = {
"query": "<string>",
"callback_url": "<string>",
"language": "<string>",
"language_code": "<string>",
"location_code": 2,
"location_name": "<string>",
"platform": "google",
"results_limit": 100,
"target": "<string>"
}
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>',
language: '<string>',
language_code: '<string>',
location_code: 2,
location_name: '<string>',
platform: 'google',
results_limit: 100,
target: '<string>'
})
};
fetch('https://api.socq.ai/v1/ai-search/llm-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/ai-search/llm-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>',
'language' => '<string>',
'language_code' => '<string>',
'location_code' => 2,
'location_name' => '<string>',
'platform' => 'google',
'results_limit' => 100,
'target' => '<string>'
]),
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/ai-search/llm-mentions"
payload := strings.NewReader("{\n \"query\": \"<string>\",\n \"callback_url\": \"<string>\",\n \"language\": \"<string>\",\n \"language_code\": \"<string>\",\n \"location_code\": 2,\n \"location_name\": \"<string>\",\n \"platform\": \"google\",\n \"results_limit\": 100,\n \"target\": \"<string>\"\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/ai-search/llm-mentions")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"query\": \"<string>\",\n \"callback_url\": \"<string>\",\n \"language\": \"<string>\",\n \"language_code\": \"<string>\",\n \"location_code\": 2,\n \"location_name\": \"<string>\",\n \"platform\": \"google\",\n \"results_limit\": 100,\n \"target\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.socq.ai/v1/ai-search/llm-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 \"language\": \"<string>\",\n \"language_code\": \"<string>\",\n \"location_code\": 2,\n \"location_name\": \"<string>\",\n \"platform\": \"google\",\n \"results_limit\": 100,\n \"target\": \"<string>\"\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": {}
}
}LLM 提及
越来越多的用户先问 AI,再去搜索。这个接口告诉你:在哪些问题里,Google AI 概览或 ChatGPT 引用了你的域名,或者在回答里提到了你的品牌、关键词。每行是一个问题,包含 Markdown 格式的完整回答、回答引用的页面、该问题每月被问多少次;ChatGPT 的回答还会列出提到的品牌和它额外做的延伸搜索。可以用来做生成式引擎优化(GEO)审计、找出 AI 在你所在领域最信任哪些页面,或者发现 AI 对你产品的错误描述。{
"target": "notion.so",
"platform": "google",
"results_limit": 100
}
标准结果字段
任务结果使用下方稳定的 SocQ 字段。系统会统一来源特有的字段名和格式,但不会推断或补充来源未提供的数据。如需缩小返回字段集合,MCP 查询使用fields,Typed 工具使用 _result_fields,CLI 使用 --result-fields。声明字段的值为 null 时仍会保留。
| 字段 | 类型 | 可空 | 说明 |
|---|---|---|---|
id | string | 是 | 问答的标识,由 AI 平台、模型和问题生成。 |
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 格式。 |
question | string | 是 | AI 所回答的问题或搜索。 |
answer | string | 是 | 完整的答案文本,Markdown 格式。 |
ai_platform | string | 是 | 给出答案的 AI 平台:google(AI 概览)或 chat_gpt。 |
model | string | 是 | 模型或答案位置,例如 google_ai_overview。 |
ai_search_volume | integer | 是 | 该问题每月被提问次数的估算值。 |
sources | array<object> | 是 | 答案中引用的页面。 |
sources.position | integer | 是 | 该来源在答案来源列表中的位置,从 1 开始。 |
sources.title | string | 是 | 被引用页面的标题。 |
sources.url | string | 是 | 被引用页面的地址。 |
sources.domain | string | 是 | 被引用页面所属域名。 |
sources.source | string | 是 | 答案中显示的网站或发布者名称。 |
sources.text | string | 是 | 答案中展示的被引用页面摘录。 |
search_results | array<object> | 是 | AI 生成答案时参考的网页结果(仅 chat_gpt)。 |
search_results.position | integer | 是 | 该来源在答案来源列表中的位置,从 1 开始。 |
search_results.title | string | 是 | 被引用页面的标题。 |
search_results.url | string | 是 | 被引用页面的地址。 |
search_results.domain | string | 是 | 被引用页面所属域名。 |
search_results.source | string | 是 | 答案中显示的网站或发布者名称。 |
search_results.text | string | 是 | 答案中展示的被引用页面摘录。 |
brands | array<object> | 是 | 答案中提到的品牌,按出现顺序排列(仅 chat_gpt)。 |
brands.name | string | 是 | 品牌名称。 |
brands.category | string | 是 | 品牌所属类别,例如 software 或 local_business。 |
brands.position | integer | 是 | 品牌在答案中出现的顺序,从 1 开始。 |
fan_out_queries | array<string> | 是 | AI 回答时额外执行的延伸搜索。 |
first_seen_at | string | 是 | 首次记录到该答案的时间,使用 ISO 8601 格式。 |
last_seen_at | string | 是 | 最近一次记录到该答案的时间,使用 ISO 8601 格式。 |
target | string | 是 | 被追踪的域名(请求使用 target 时)。 |
query | string | 是 | 被追踪的关键词(请求使用 query 时)。 |
location_code | integer | 是 | 记录该答案的市场位置代码。 |
language_code | string | 是 | 答案的语言代码。 |
任务完成响应
{
"code": 200,
"data": {
"task_id": "example-seo-llm-mentions",
"status": "succeeded",
"public_id": "ai-search/llm-mentions",
"result_count": 1,
"credits_amount": 40.5,
"results": {
"limit": 50,
"next_cursor": null,
"has_more": false,
"schema_id": "llm-mention",
"schema_version": "1.0",
"items": [
{
"id": "dabe244bc30a0aeb7675",
"platform": "ai-search",
"resource": "llm-mentions",
"type": "llm-mention",
"url": null,
"published_at": null,
"collected_at": "2026-11-17T23:54:06.708649Z",
"question": "notion.so",
"answer": "**Notion** is `an all-in-one digital workspace and productivity platform` that combines notes, documents, wikis, databases, kanban boards, and project management tools into a single system.[[1]](https://www.notion.com/)[[2]](https://en.wikipedia.org/wiki/Notion_(productivity_software))[[3]](https://www.thegoodtrade.com/features/what-is-notion/)\n\n### Core Features & Capabilities\n\n- **Blocks & Pages:** Everything you …",
"ai_platform": "google",
"model": "google_ai_overview",
"ai_search_volume": 4400,
"sources": [
{
"position": 1,
"title": "The AI workspace that works for you. | Notion",
"url": "https://www.notion.com/",
"domain": "www.notion.com",
"source": "Notion",
"text": "Platform: Notion AI workspace for teams and agents. Core Capabilities: Capture knowledge in a single system of record, find instant answers with citations, and aut..."
},
{
"position": 2,
"title": "Sign up - Notion",
"url": "https://www.notion.so/signup",
"domain": "www.notion.so",
"source": "Notion",
"text": "Notion - Sign up Notion: your AI workspace. Sign up with your work email Email Use an organization email to easily collaborate with teammates Continue or continue ..."
},
{
"position": 3,
"title": "Log in - Notion",
"url": "https://www.notion.so/login",
"domain": "www.notion.so",
"source": "Notion",
"text": "A collaborative AI workspace, built on your company context. Build and orchestrate agents right alongside your team's projects, meetings, and connected ..."
}
],
"search_results": [],
"brands": [],
"fan_out_queries": [],
"first_seen_at": "2026-11-07T22:31:09Z",
"last_seen_at": "2026-11-07T22:31:09Z",
"target": "notion.so",
"query": null,
"location_code": 2840,
"language_code": "en"
}
]
}
}
}
请求体
application/json
- Option 1
- Option 2
通过 target 提供域名,或通过 query 提供关键词,二选一。platform 可选 google(AI 概览,默认)或 chat_gpt(覆盖美国英语回答)。results_limit 默认 100,可填 1–1000 之间的整数。每次请求计 40 积分,每返回一条回答再加 0.5 积分;没有找到任何回答时同样收取 40 积分。

