# 帖子评论

取一条 LinkedIn 帖子的评论，按游标翻页。

ID: native-http:social.linkedin.post.comments · Region: cn · Status: available

catalog_version: 5c920c774a55e44d7e8c709143b88a18b8b2afcef91a5d19a8c9ae5d565d9077
updated_at: 2026-10-21T12:06:16.523771+00:00

取一条 LinkedIn 帖子的评论，按游标翻页。

历史数据以数据集发布版本定义覆盖周期；实时读取反映请求时资料，不保证覆盖全部记录。

Docs: https://docs.asklear.cn/capabilities/native-http%3Asocial.linkedin.post.comments

## POST /v1/native/social/linkedin/posts/comments

native · available · api_key

REST 需要客户 API Key；MCP 需要已开放的服务及现有授权；CLI 需要已发布且包含该命令的客户端。

取一条 LinkedIn 帖子的评论，按游标翻页。

按成功请求计费，每次请求计一次；max_credits 限制本次费用上限。

恢复同一次原生请求时复用原 Idempotency-Key。

等待态响应提供结果/状态引用。先读取原结果；超时或结果不明时禁止自动重新提交付费执行。401/403/422 应先修正鉴权、权限或输入。

### Input schema / 输入契约

```json
{
  "$defs": {
    "Schema1": {}
  },
  "additionalProperties": false,
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "cursor": {
          "default": "",
          "description": "页码，从 1 开始/Page number, starts at 1",
          "maxLength": 4096,
          "type": "string"
        },
        "page": {
          "anyOf": [
            {
              "minimum": 1,
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "description": "页码，从 1 开始/Page number, starts at 1"
        },
        "pagination_token": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "上一次响应返回的翻页令牌/Pagination token"
        },
        "share_urn": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "description": "分享类帖子的 share urn（可选）/Share urn (optional)"
        },
        "sort_by": {
          "default": "Most relevant",
          "description": "Most relevant（默认）| Most recent",
          "enum": [
            "Most relevant",
            "Most recent"
          ],
          "type": "string"
        },
        "urn": {
          "description": "帖子 activity urn/Post activity urn",
          "maxLength": 20,
          "minLength": 1,
          "pattern": "^[0-9]{1,20}$",
          "type": "string"
        }
      },
      "required": [
        "urn"
      ],
      "type": "object"
    },
    "max_credits": {
      "anyOf": [
        {
          "maximum": 1000000000,
          "minimum": 0,
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "default": null
    },
    "task_query": {
      "anyOf": [
        {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "default": null,
          "description": "Optional task attribution: when provided, write one concise, self-contained task_query in the user's language and reuse that exact value in every call for the task, including discovery, search, approval retry, results, export, and status checks. For MCP calls, when omitted, Asklear records a generic non-user-specific attribution so compatible clients can still call the tool. REST calls may omit it and remain unattributed. It is a task description, not a task identifier. Do not include hidden reasoning, credentials, or direct personal identifiers such as phone numbers, email addresses, identity numbers, or street addresses.",
          "maxLength": 300
        },
        {
          "type": "null"
        }
      ],
      "default": null
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}
```

### Synthetic request / 合成请求

```json
{
  "input": {
    "urn": "1"
  }
}
```

### Response schema / 响应契约

```json
{
  "$defs": {
    "Schema1": {},
    "Schema2": {
      "properties": {
        "api_name": {
          "type": "string"
        },
        "credits_charged": {
          "minimum": 0,
          "type": "integer"
        },
        "latency_ms": {
          "minimum": 0,
          "type": "integer"
        },
        "next_input": {
          "anyOf": [
            {
              "additionalProperties": false,
              "properties": {
                "cursor": {
                  "default": "",
                  "maxLength": 4096,
                  "type": "string"
                },
                "page": {
                  "anyOf": [
                    {
                      "minimum": 1,
                      "type": "integer"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "页码，从 1 开始/Page number, starts at 1"
                },
                "pagination_token": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "上一次响应返回的翻页令牌/Pagination token"
                },
                "share_urn": {
                  "anyOf": [
                    {
                      "type": "string"
                    },
                    {
                      "type": "null"
                    }
                  ],
                  "description": "分享类帖子的 share urn（可选）/Share urn (optional)"
                },
                "sort_by": {
                  "default": "Most relevant",
                  "enum": [
                    "Most relevant",
                    "Most recent"
                  ],
                  "type": "string"
                },
                "urn": {
                  "maxLength": 20,
                  "minLength": 1,
                  "pattern": "^[0-9]{1,20}$",
                  "type": "string"
                }
              },
              "required": [
                "urn"
              ],
              "type": "object"
            },
            {
              "type": "null"
            }
          ]
        },
        "request_id": {
          "type": "string"
        }
      },
      "required": [
        "api_name",
        "request_id",
        "latency_ms",
        "credits_charged",
        "next_input"
      ],
      "type": "object"
    }
  },
  "properties": {
    "data": {
      "additionalProperties": true,
      "description": "Known optional fields from sanitized offline fixtures; conditional fields may be null. Additional business fields are retained.",
      "properties": {
        "code": {
          "type": [
            "integer",
            "null"
          ]
        },
        "data": {
          "additionalProperties": true,
          "properties": {
            "data": {
              "items": {
                "additionalProperties": true,
                "properties": {
                  "annotation": {
                    "description": "Observed as null; the non-null type is not established."
                  },
                  "commenter": {
                    "additionalProperties": true,
                    "properties": {
                      "headline": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "image_url": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "linkedin_url": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "name": {
                        "type": [
                          "string",
                          "null"
                        ]
                      },
                      "urn": {
                        "type": [
                          "string",
                          "null"
                        ]
                      }
                    },
                    "type": [
                      "object",
                      "null"
                    ]
                  },
                  "created_at": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "created_datetime": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "permalink": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "pinned": {
                    "type": [
                      "boolean",
                      "null"
                    ]
                  },
                  "replies": {
                    "items": {
                      "additionalProperties": true,
                      "properties": {
                        "commenter": {
                          "additionalProperties": true,
                          "properties": {
                            "headline": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "image_url": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "linkedin_url": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "name": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "urn": {
                              "type": [
                                "string",
                                "null"
                              ]
                            }
                          },
                          "type": [
                            "object",
                            "null"
                          ]
                        },
                        "created_at": {
                          "type": [
                            "integer",
                            "null"
                          ]
                        },
                        "created_datetime": {
                          "type": [
                            "string",
                            "null"
                          ]
                        },
                        "text": {
                          "type": [
                            "string",
                            "null"
                          ]
                        }
                      },
                      "type": [
                        "object",
                        "null"
                      ]
                    },
                    "type": [
                      "array",
                      "null"
                    ]
                  },
                  "text": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "thread_urn": {
                    "description": "Observed as null; the non-null type is not established."
                  }
                },
                "type": [
                  "object",
                  "null"
                ]
              },
              "type": [
                "array",
                "null"
              ]
            },
            "pagination_token": {
              "type": [
                "string",
                "null"
              ]
            },
            "total": {
              "type": [
                "integer",
                "null"
              ]
            }
          },
          "type": [
            "object",
            "null"
          ]
        }
      },
      "type": "object"
    },
    "meta": {
      "$ref": "#/$defs/Schema2"
    }
  },
  "required": [
    "data",
    "meta"
  ],
  "type": "object"
}
```

### Synthetic response / 合成响应

```json
{
  "data": {
    "code": 200,
    "data": {
      "data": [
        {
          "annotation": null,
          "commenter": {
            "headline": "fixture_co-founder at lo",
            "image_url": "https://fixture.invalid/media/1",
            "linkedin_url": "https://fixture.invalid/media/1",
            "name": "fixture_dhaniram ..",
            "urn": "FIXTURE_CURSOR_TOKEN_0123456789abcdef"
          },
          "created_at": 1788202355691,
          "created_datetime": "2026-03-04 05:06:07",
          "permalink": "https://fixture.invalid/feed/update/urn:li:ugcPost:7499851761705218048?commentUrn=urn%3Ali%3Acomment%3A%28ugcPost%3A7499851761705218048%2C7500264293280575489%29",
          "pinned": false,
          "replies": [
            {
              "commenter": {
                "headline": "fixture_us government ag",
                "image_url": "",
                "linkedin_url": "https://fixture.invalid/media/1",
                "name": "fixture_gordo k",
                "urn": "FIXTURE_CURSOR_TOKEN_0123456789abcdef"
              },
              "created_at": 1788227748711,
              "created_datetime": "fixture_08:55:48 1/9/202",
              "text": "合成正文 <em>highlight</em> fixture body 用于覆盖 _strip_markup"
            }
          ],
          "text": "合成正文 <em>highlight</em> fixture body 用于覆盖 _strip_markup",
          "thread_urn": null
        }
      ],
      "pagination_token": "FIXTURE_CURSOR_TOKEN_0123456789abcdef",
      "total": 2220
    }
  },
  "meta": {
    "api_name": "social.linkedin.post.comments",
    "credits_charged": 84,
    "latency_ms": 12,
    "next_input": {
      "cursor": "{\"after\":\"FIXTURE_CURSOR_TOKEN_0123456789abcdef\",\"k\":\"7505335865892605952\",\"r\":\"\",\"s\":\"Most relevant\",\"t\":\"comments\"}",
      "urn": "7505335865892605952"
    },
    "request_id": "asklear-example"
  }
}
```

- data (object): Known optional fields from sanitized offline fixtures; conditional fields may be null. Additional business fields are retained.
- data.code (integer|null): 暂无字段说明
- data.data (object|null): 暂无字段说明
- data.data.data (array|null): 暂无字段说明
- data.data.pagination_token (string|null): 暂无字段说明
- data.data.total (integer|null): 暂无字段说明
- meta (object): 暂无字段说明
- meta.api_name (string): 暂无字段说明
- meta.request_id (string): 暂无字段说明
- meta.latency_ms (integer): 暂无字段说明
- meta.credits_charged (integer): 暂无字段说明
- meta.next_input (scalar): 暂无字段说明
- data.data.data[].annotation (scalar): Observed as null; the non-null type is not established.
- data.data.data[].commenter (object|null): 暂无字段说明
- data.data.data[].commenter.headline (string|null): 作者简介标题（如有）。
- data.data.data[].commenter.image_url (string|null): 作者头像（如有）。
- data.data.data[].commenter.linkedin_url (string|null): 作者链接（如有）。
- data.data.data[].commenter.name (string|null): 作者名称（如有）。
- data.data.data[].commenter.urn (string|null): 作者 ID（如有）。
- data.data.data[].created_at (integer|null): 发布时间（如有）。
- data.data.data[].created_datetime (string|null): 暂无字段说明
- data.data.data[].permalink (string|null): 永久链接（如有）。
- data.data.data[].pinned (boolean|null): 是否置顶（如有）。
- data.data.data[].replies (array|null): 暂无字段说明
- data.data.data[].replies[].commenter (object|null): 暂无字段说明
- data.data.data[].replies[].commenter.headline (string|null): 暂无字段说明
- data.data.data[].replies[].commenter.image_url (string|null): 暂无字段说明
- data.data.data[].replies[].commenter.linkedin_url (string|null): 暂无字段说明
- data.data.data[].replies[].commenter.name (string|null): 暂无字段说明
- data.data.data[].replies[].commenter.urn (string|null): 暂无字段说明
- data.data.data[].replies[].created_at (integer|null): 暂无字段说明
- data.data.data[].replies[].created_datetime (string|null): 暂无字段说明
- data.data.data[].replies[].text (string|null): 暂无字段说明
- data.data.data[].text (string|null): 正文内容（如有）。
- data.data.data[].thread_urn (scalar): Observed as null; the non-null type is not established.
- meta.next_input.cursor (string): 暂无字段说明
- meta.next_input.page (integer|null): 页码，从 1 开始/Page number, starts at 1
- meta.next_input.pagination_token (string|null): 上一次响应返回的翻页令牌/Pagination token
- meta.next_input.share_urn (string|null): 分享类帖子的 share urn（可选）/Share urn (optional)
- meta.next_input.sort_by (string): 暂无字段说明
- meta.next_input.urn (string): 暂无字段说明

Follow up: GET /v1/native/results/{query_id}
读取已保存结果，不重复查询数据或收费。

