> ## Documentation Index
> Fetch the complete documentation index at: https://docs.socq.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# LLM 高频引用来源

> 按提及次数和 AI 搜索量，列出某个话题下 AI 回答引用最多的域名或页面。

# LLM 高频引用来源

用户问到你所在的品类时，AI 都在引用哪些网站？传入一个关键词（比如 `crm software`）或一个域名，返回相关 AI 回答里被引用最多的前十个域名或具体页面，按被引用的回答数排序。按页面查时，结果就是一份现成的公关和内容合作名单：把产品写进这些文章，最有可能被 AI 看到。

```json theme={"dark"}
{
  "query": "crm software",
  "platform": "google",
  "content_type": "domains"
}
```

通过 query 提供关键词，或通过 target 提供域名，二选一。content\_type 可选 domains（默认）或 pages。platform 可选 google（默认）或 chat\_gpt（覆盖美国英语回答）。results\_limit 默认 10，也是上限。每次请求计 40 积分，每个上榜的域名或页面再加 0.5 积分；没有数据时同样收取 40 积分。

## 标准结果字段

任务结果使用下方稳定的 SocQ 字段。系统会统一来源特有的字段名和格式，但不会推断或补充来源未提供的数据。如需缩小返回字段集合，MCP 查询使用 `fields`，Typed 工具使用 `_result_fields`，CLI 使用 `--result-fields`。声明字段的值为 `null` 时仍会保留。

| 字段 | 类型 | 可空 | 说明 |
| - | - | - | - |
| `id` | `string` | 是 | 维度与名称，例如 `source_domain:www.hubspot.com`。 |
| `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 格式。 |
| `dimension` | `string` | 是 | 该行统计的对象：`total`、`source_domain`、`search_result_domain`、`brand`、`brand_category`、`domain` 或 `page`。 |
| `name` | `string` | 是 | 该行统计的域名、页面地址、品牌或类别；`total` 行为 AI 平台名。 |
| `rank` | `integer` | 是 | 在所属维度内按提及次数的排名，从 1 开始。 |
| `mentions_count` | `integer` | 是 | 提到或引用它的 AI 答案数量。 |
| `ai_search_volume` | `integer` | 是 | 这些答案对应问题的月度 AI 搜索量合计。 |
| `ai_platform` | `string` | 是 | 答案来自的 AI 平台：`google` 或 `chat_gpt`。 |
| `target` | `string` | 是 | 被追踪的域名（请求使用 target 时）。 |
| `query` | `string` | 是 | 被追踪的关键词（请求使用 query 时）。 |

以下示例展示任务完成后的响应格式，具体数据以实际查询结果为准。

## 任务完成响应

```json theme={"dark"}
{
  "code": 200,
  "data": {
    "task_id": "example-seo-llm-top-mentioned",
    "status": "succeeded",
    "public_id": "ai-search/llm-top-mentioned",
    "result_count": 1,
    "credits_amount": 40.5,
    "results": {
      "limit": 50,
      "next_cursor": null,
      "has_more": false,
      "schema_id": "llm-metric",
      "schema_version": "1.0",
      "items": [
        {
          "id": "page:https://www.salesforce.com/crm/what-is-crm/",
          "platform": "ai-search",
          "resource": "llm-top-mentioned",
          "type": "llm-metric",
          "url": "https://www.salesforce.com/crm/what-is-crm/",
          "published_at": null,
          "collected_at": "2026-11-17T23:54:13.890647Z",
          "dimension": "page",
          "name": "https://www.salesforce.com/crm/what-is-crm/",
          "rank": 1,
          "mentions_count": 716,
          "ai_search_volume": 3671360,
          "ai_platform": "google",
          "target": null,
          "query": "crm software"
        }
      ]
    }
  }
}
```


## OpenAPI

````yaml zh/api-manual/agent-api/agent-api.json POST /v1/ai-search/llm-top-mentioned
openapi: 3.1.0
info:
  title: SocQ Agent API 中文版
  version: v1-87892a6484c2
  description: 根据 SocQ 能力目录生成的异步社交数据 API。
servers:
  - url: https://api.socq.ai
security: []
paths:
  /v1/ai-search/llm-top-mentioned:
    post:
      tags:
        - ai-search
      summary: LLM 高频引用来源
      description: 按提及次数和 AI 搜索量，列出某个话题下 AI 回答引用最多的域名或页面。
      operationId: socq_ai_search_llm_top_mentioned
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $schema: https://json-schema.org/draft/2020-12/schema
              type: object
              additionalProperties: false
              properties:
                callback_url:
                  type: string
                  format: uri
                  description: 可选的任务完成回调 URL。
                content_type:
                  type: string
                  minLength: 1
                  enum:
                    - domains
                    - pages
                  default: domains
                  description: 按整个域名（domains，默认）或单个页面（pages）排名。
                language:
                  type: string
                  minLength: 1
                  description: 结果的语言名称，可代替 language_code。
                language_code:
                  type: string
                  minLength: 2
                  maxLength: 10
                  description: 结果的语言代码，默认 en。
                location_code:
                  type: integer
                  minimum: 1
                  description: 搜索市场的位置代码，默认 2840（美国）。
                location_name:
                  type: string
                  minLength: 1
                  description: 搜索市场的位置名称，可代替 location_code。
                platform:
                  type: string
                  minLength: 1
                  enum:
                    - chat_gpt
                    - google
                  default: google
                  description: AI 回答来源：google（AI 概览，默认）或 chat_gpt（ChatGPT，覆盖美国英语回答）。
                query:
                  type: string
                  minLength: 1
                  description: 要在 AI 回答中追踪的关键词或品牌名，例如 crm software；与 target 二选一。
                results_limit:
                  type: integer
                  minimum: 1
                  maximum: 10
                  default: 10
                  description: 最多保存的结果数，实际结果可能少于该值。
                target:
                  type: string
                  minLength: 1
                  description: 要在 AI 回答中追踪的域名，例如 hubspot.com；与 query 二选一。
              required: []
              description: >-
                通过 query 提供关键词，或通过 target 提供域名，二选一。content_type 可选 domains（默认）或
                pages。platform 可选 google（默认）或 chat_gpt（覆盖美国英语回答）。results_limit
                默认 10，也是上限。每次请求计 40 积分，每个上榜的域名或页面再加 0.5 积分；没有数据时同样收取 40 积分。
              anyOf:
                - required:
                    - query
                - required:
                    - target
              allOf:
                - not:
                    required:
                      - query
                      - target
      responses:
        '200':
          description: 任务已受理
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentSubmitResponse'
        '422':
          description: Input validation failed
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AgentValidationErrorResponse'
      security:
        - bearerAuth: []
        - apiKeyAuth: []
components:
  schemas:
    AgentSubmitResponse:
      type: object
      properties:
        code:
          type: integer
          const: 200
          description: HTTP 业务状态码。
        data:
          type: object
          properties:
            task_id:
              type: string
              description: 任务 ID，用于查询任务状态和结果。
            status:
              type: string
              description: 任务当前状态。
            created_time:
              type:
                - string
                - 'null'
              description: 任务创建时间。
          required:
            - task_id
            - status
    AgentValidationErrorResponse:
      type: object
      properties:
        code:
          type: integer
          const: 422
        error:
          type: object
          properties:
            message:
              type: string
            type:
              type: string
            details:
              type: object
          required:
            - message
            - type
      required:
        - code
        - error
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: '使用 `Authorization: Bearer <token>` 请求头进行身份验证。'
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: 也可以通过 `x-api-key` 请求头提供 API Key。

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.