---
title: "获取帖子评论/Get post comments"
method: GET
path: "/api/v1/linkedin/web_v2/get_post_comments"
tags: ["LinkedIn-Web-V2-API"]
---

# 获取帖子评论/Get post comments

`GET /api/v1/linkedin/web_v2/get_post_comments`

## Request

- Base URL: `https://api.tikhub.io` (the document declares no server; this is the origin it was published from)
- URL: `https://api.tikhub.io/api/v1/linkedin/web_v2/get_post_comments`
- Auth: HTTP bearer

> ⚠️ **注意 / Note**
>
> 本接口由有限的资源池提供服务，在高并发或资源紧张时可能间歇性返回 400 或其他错误。
> 此类失败通常是暂时性的，重试即可成功。建议客户端实现自动重试机制，推荐 `retry = 3`。
>
> This endpoint is served from a limited resource pool and may intermittently return
> `400` or other errors under load. Such failures are typically transient and succeed
> on retry. We recommend implementing automatic retries with `retry = 3`.

# [中文]
### 用途:
- 按帖子 urn 获取该帖子的评论列表。

### 参数:
- urn: 帖子 activity urn（帖子链接 .../urn:li:activity:<urn>/ 里的数字部分）。
- sort_by: Most relevant（默认）或 Most recent。
- page: 页码，从 1 开始。
- pagination_token: 翻页时传上一次响应返回的 token。
- share_urn: 分享类帖子可另传 share urn。

### 返回:
- data: 评论列表（评论人、正文、时间、固定楼层、回复等）；
  pagination_token: 下一页令牌；total: 本次返回条数。

# [English]
### Purpose:
- Fetch comments of a post by its activity urn.

### Parameters:
- urn: Post activity urn (the numeric part of .../urn:li:activity:<urn>/).
- sort_by: Most relevant (default) or Most recent.
- page: Page number, starting at 1.
- pagination_token: Token returned by the previous response.
- share_urn: Optional share urn for shared posts.

### Returns:
- data: list of comments (commenter, text, time, pinned flag, replies, …);
  pagination_token: token for the next page; total: number of items
  returned.

# [示例/Example]
urn = "7267273010393358336", sort_by = "Most relevant", page = 1

## Query parameters

- `urn` string, required: 帖子 activity urn/Post activity urn
- `sort_by` string, nullable: Most relevant（默认）| Most recent
- `page` integer, nullable: 页码，从 1 开始/Page number, starts at 1
- `pagination_token` string, nullable: 上一次响应返回的翻页令牌/Pagination token
- `share_urn` string, nullable: 分享类帖子的 share urn（可选）/Share urn (optional)

## Response `200`

Successful Response

- ResponseModel
  - `code` integer: HTTP status code | HTTP状态码
  - `request_id` string, nullable: Unique request identifier | 唯一请求标识符
  - `message` string: Response message (EN-US) | 响应消息 (English)
  - `message_zh` string: Response message (ZH-CN) | 响应消息 (中文)
  - `support` string: Support message | 支持消息
  - `time` string: The time the response was generated | 生成响应的时间
  - `time_stamp` integer: The timestamp the response was generated | 生成响应的时间戳
  - `time_zone` string: The timezone of the response time | 响应时间的时区
  - `docs` string, nullable: Link to the API Swagger documentation for this endpoint | 此端点的 API Swagger 文档链接
  - `cache_message` string, nullable: Cache message (EN-US) | 缓存消息 (English)
  - `cache_message_zh` string, nullable: Cache message (ZH-CN) | 缓存消息 (中文)
  - `cache_url` string, nullable: The URL to access the cached result | 访问缓存结果的 URL
  - `router` string: The endpoint that generated this response | 生成此响应的端点
  - `params` unknown
  - `data` unknown

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-08** `96a122a5f220`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-09-01** `50f9ec6e1cd3`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/tikhub/apis/tikhub-douyin-tiktok-xiaohongshu-lemon8-bilibili-kuaishou-pi/changes/api/v1/linkedin/web_v2/get_post_comments/get.md)

---

[API](https://skmtc.dev/tikhub/apis/tikhub-douyin-tiktok-xiaohongshu-lemon8-bilibili-kuaishou-pi.md) - [All operations](https://skmtc.dev/tikhub/apis/tikhub-douyin-tiktok-xiaohongshu-lemon8-bilibili-kuaishou-pi/llms.txt) - [OpenAPI document](https://skmtc.dev/tikhub/apis/tikhub-douyin-tiktok-xiaohongshu-lemon8-bilibili-kuaishou-pi/revisions/86a3483c705a?raw)
