> ## 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.

# Link in Bio

> 获取 Linktree、Komi、lnk.bio 和 Link.me 主页上的简介、联系邮箱、社交账号和全部链接。

# Link in Bio

把从达人简介里找到的 link-in-bio 链接发过来，每个主页整理成一条记录：显示名称、简介、头像、创作者留下的联系邮箱、其他社交账号链接，以及主页上每个按钮的标题和跳转地址。Linktree、Komi、lnk.bio 和 Link.me 的链接可以放在同一个请求里，从 Instagram 或 TikTok 简介里抓到的混合名单不用先分类。

```json theme={"dark"}
{
  "urls": [
    "https://linktr.ee/miguelangeles",
    "https://kimkardashian.komi.io",
    "https://lnk.bio/msjennafischer",
    "https://link.me/danucd"
  ]
}
```

通过 urls 提供最多 50 个主页链接，格式为 linktr.ee/名称、名称.komi.io、lnk.bio/名称 或 link.me/名称。每个查到的主页返回一行，计 0.5 积分。已失效的主页会被跳过，全部都读不到时任务才会失败并退款。

## 标准结果字段

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

| 字段 | 类型 | 可空 | 说明 |
| - | - | - | - |
| `id` | `string` | 是 | 服务名与页面名，例如 `linktree:miguelangeles`。 |
| `platform` | `string` | 否 | 结果所属的平台，例如 `instagram` 或 `linkedin`。 |
| `resource` | `string` | 否 | 该结果对应的 SocQ 资源，例如 `videos` 或 `comments`。 |
| `type` | `string` | 否 | 结果项的类别，例如 `video`、`post` 或 `comment`。 |
| `url` | `string` | 是 | Link-in-bio 页面的地址。 |
| `published_at` | `string` | 是 | 源内容的发布时间（如可获得），使用 ISO 8601 格式。 |
| `collected_at` | `string` | 否 | SocQ 采集或处理该结果的时间，使用 ISO 8601 格式。 |
| `service` | `string` | 是 | 页面所在的服务：`linktree`、`komi`、`lnk.bio`、`link.me` 或 `pillar`。 |
| `username` | `string` | 是 | 页面在该服务上的名称。 |
| `name` | `string` | 是 | 创作者的显示名称（页面有显示时）。 |
| `text` | `string` | 是 | 页面上的简介。 |
| `avatar_url` | `string` | 是 | 创作者头像图片的地址。 |
| `is_verified` | `boolean` | 是 | 页面是否带有该服务的认证标识。 |
| `email` | `string` | 是 | 页面上列出的联系邮箱（如有）。 |
| `social_urls` | `array<string>` | 是 | 页面图标中链接的社交主页和网站。 |
| `links` | `array<object>` | 是 | 页面上的链接，按显示顺序排列。 |
| `links.title` | `string` | 是 | 链接的标签文字。 |
| `links.url` | `string` | 是 | 链接打开的地址。 |
| `links.type` | `string` | 是 | 服务标注的链接类型，例如 `link` 或 `spotify_album`。 |
| `links.thumbnail_url` | `string` | 是 | 链接缩略图的地址（如有）。 |
| `links_count` | `integer` | 是 | 页面上的链接数量。 |

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

## 任务完成响应

```json theme={"dark"}
{
  "code": 200,
  "data": {
    "task_id": "example-link-in-bio-profile",
    "status": "succeeded",
    "public_id": "link-in-bio/profile",
    "result_count": 1,
    "credits_amount": 0.5,
    "results": {
      "limit": 50,
      "next_cursor": null,
      "has_more": false,
      "schema_id": "link-page",
      "schema_version": "1.0",
      "items": [
        {
          "id": "komi:kimkardashian",
          "platform": "link-in-bio",
          "resource": "profile",
          "type": "page",
          "url": "https://kimkardashian.komi.io",
          "published_at": null,
          "collected_at": "2026-11-17T23:54:13.933684Z",
          "service": "komi",
          "username": "kimkardashian",
          "name": "Kim Kardashian",
          "text": null,
          "avatar_url": "https://komi-production-assets.s3.amazonaws.com/photos/4Nd69ODJHs61_iNYPlqos.jpg",
          "is_verified": null,
          "email": null,
          "social_urls": [
            "https://www.instagram.com/kimkardashian/",
            "https://www.tiktok.com/@kimkardashian",
            "https://www.youtube.com/@KUWTK"
          ],
          "links": [
            {
              "title": "Visit SKIMS",
              "url": "https://skims.social/shop-skims",
              "type": "link",
              "thumbnail_url": "https://komi-production-assets.s3-accelerate.amazonaws.com/photos/x_LQCBYzoWiel0-yrAnrF.jpg"
            },
            {
              "title": "UPDATE ENERGY DRINK",
              "url": "https://drinkupdate.com/?srsltid=AfmBOooIad8vPZueD_CvcKcyVCG1KbYiz1fU-or88He0HmecDhK35kKL",
              "type": "link",
              "thumbnail_url": "https://komi-production-assets.s3-accelerate.amazonaws.com/photos/P9U67dVgGygBfMw6UyphZ.jpeg"
            },
            {
              "title": "The Kardashians | Season 7 | Official Trailer | Hulu",
              "url": "https://www.youtube.com/watch?v=W8dNXLBd1RM",
              "type": "youtube_video",
              "thumbnail_url": null
            }
          ],
          "links_count": 21
        }
      ]
    }
  }
}
```


## OpenAPI

````yaml zh/api-manual/agent-api/agent-api.json POST /v1/link-in-bio/profile
openapi: 3.1.0
info:
  title: SocQ Agent API 中文版
  version: v1-87892a6484c2
  description: 根据 SocQ 能力目录生成的异步社交数据 API。
servers:
  - url: https://api.socq.ai
security: []
paths:
  /v1/link-in-bio/profile:
    post:
      tags:
        - link-in-bio
      summary: Link in Bio
      description: 获取 Linktree、Komi、lnk.bio 和 Link.me 主页上的简介、联系邮箱、社交账号和全部链接。
      operationId: socq_link_in_bio_profile
      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。
                urls:
                  type: array
                  items:
                    type: string
                    minLength: 1
                  minItems: 1
                  description: >-
                    Link-in-bio 主页链接，例如
                    https://linktr.ee/名称、https://名称.komi.io、https://lnk.bio/名称 或
                    https://link.me/名称，至少提供 1 项，最多提供 50 项。
                  maxItems: 50
              required:
                - urls
              description: >-
                通过 urls 提供最多 50 个主页链接，格式为 linktr.ee/名称、名称.komi.io、lnk.bio/名称 或
                link.me/名称。每个查到的主页返回一行，计 0.5 积分。已失效的主页会被跳过，全部都读不到时任务才会失败并退款。
      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.