WeChat Channels modelsapi generation api

wechat-channels/v2/video-comments

Get first-level comments of a video (with IP region / like count); pass `comment_id` to get second-level replies under that comment. Supports pagination for more comments. Price: $0.01 per request ⏱️ Due to WeChat server...

Input
Idle

Example output — click Run to generate your own

API README

Get WeChat Channels Video Comments

Purpose:

  • Get first-level comments of a video (with IP region / like count); pass comment_id to get second-level replies under that comment.
  • Supports pagination for more comments.
  • Price: $0.01 per request
  • ⏱️ Due to WeChat server latency, this endpoint responds slowly; please set your client request timeout to 30 seconds — a timeout that is too small may result in being billed without receiving the response.
  • ⚠️ Large-integer ID precision: IDs such as comment_id in the response are 64-bit big integers beyond JavaScript's safe-integer range (2^53-1). Always receive / pass such IDs as strings (parse JSON with json-bigint or read them as text), never through JS Number. Swagger UI rounds the trailing digits of huge integers in its docs view — this is expected and does not affect the actual data returned by the API. Parameters:
  • object_id: Video objectId (numeric), e.g. 14941130915890399732. From the video id of fetch_user_videos / fetch_video_detail.
  • last_buffer: Optional pagination cursor (base64). Leave empty for the first page; when down_continue is truthy, pass the previous page's last_buffer.
  • comment_id: Optional. To expand the replies of a comment, pass its comment_id (numeric); leave empty for the first-level page.
  • raw: Optional, default True. True=raw response; False=simplified parsed structure. Return:
  • Comment list with pagination cursor

Response structure & JSON Path:

raw=false (simplified):

  • Top level: $.data.object_id (echo) / $.data.comment_id (echo when expanding replies, otherwise null) / $.data.count (comments on this page) / $.data.down_continue (has next page) / $.data.last_buffer (pagination cursor)
  • Each comment $.data.comments[N]:
    • Comment ID (pass it back to expand its replies): $.data.comments[N].comment_id
    • Commenter: $.data.comments[N].nickname / .username / .head_url
    • Content: $.data.comments[N].content
    • Like / reply counts: $.data.comments[N].like_count / .reply_count
    • Time / IP region: $.data.comments[N].create_time / .ip_region

raw=true (raw):

  • Status code: $.data.baseResponse.ret
  • Comment array (camelCase): $.data.commentInfo[N], key fields commentId / nickname / username / content / likeCount / createtime / headUrl / ipRegionInfo.regionText
  • Pagination: $.data.downContinueFlag, $.data.lastBuffer (alias $.data.last_buffer also provided)
  • Global counts: $.data.monotonicData.commentCount.commentCount, $.data.countInfo (likeCount/favCount/forwardCount etc.)
  • Mapping: comments[] of raw=false corresponds to commentInfo[] of raw=true.

Imported from a validated TikHub OpenAPI document. Pricing must be reviewed before enabling.

Related Models

wechat-channels/v2/channel-id-to-usernameResolve a publicly visible Channel ID (`sph…` short ID) into a finder username (`v2_…@finder`). With the username you can then call `fetch_user_videos`, `fetch_channel_info`, `fetch_user_profile`, etc. Price: $0.01 per request ⏱️ Due to WeChat server latency, this endpoint responds slowly; please set your client request timeout to 30 seconds — a timeout that is too small may result in being billed without receiving the response.wechat-channels/v2/channel-infoGet the "More Info" of a WeChat Channels account: basic info section (IP location / profile location / **Channel ID** = public sph ID) + verification section (service unit / entity type / internet news service license number / service category / verification time). Price: $0.01 per request ⏱️ Due to WeChat server latency, this endpoint responds slowly; please set your client request timeout to 30 seconds — a timeout that is too small may result in being billed without receiving the response.wechat-channels/v2/collection-videosGiven a collection `topic_id` (from `fetch_user_collections`), return the video list inside that collection. Each video carries a `media` object (`url` / `url_token` / `decode_key`) ready for download and decryption. Supports pagination for more videos. Price: $0.01 per request ⏱️ Due to WeChat server latency, this endpoint responds slowly; please set your client request timeout to 30 seconds — a timeout that is too small may result in being billed without receiving the response. ⚠️ Large-integer ID precision: IDs such as `id` / `topic_id` in the response are 64-bit big integers beyond JavaScript's safe-integer range (2^53-1). Always receive / pass such IDs as **strings** (parse JSON with json-bigint or read them as text), never through JS `Number`. Swagger UI rounds the trailing digits of huge integers in its docs view — this is expected and does not affect the actual data returned by the API.wechat-channels/v2/live-detailPass a live `live_id` to get live-room detail: anchor info, live status, online count, replay info, etc. Price: $0.01 per request ⏱️ Due to WeChat server latency, this endpoint responds slowly; please set your client request timeout to 30 seconds — a timeout that is too small may result in being billed without receiving the response. ⚠️ Large-integer ID precision: IDs such as `live_id` in the response are 64-bit big integers beyond JavaScript's safe-integer range (2^53-1). Always receive / pass such IDs as **strings** (parse JSON with json-bigint or read them as text), never through JS `Number`. Swagger UI rounds the trailing digits of huge integers in its docs view — this is expected and does not affect the actual data returned by the API.wechat-channels/v2/live-historyGet a creator's live replay list. Each replay is itself a video object with a `media` object (`url` / `url_token` / `decode_key`) ready for download and decryption. Supports pagination for more replays. Price: $0.01 per request ⏱️ Due to WeChat server latency, this endpoint responds slowly; please set your client request timeout to 30 seconds — a timeout that is too small may result in being billed without receiving the response. ⚠️ Large-integer ID precision: IDs such as `id` in the response are 64-bit big integers beyond JavaScript's safe-integer range (2^53-1). Always receive / pass such IDs as **strings** (parse JSON with json-bigint or read them as text), never through JS `Number`. Swagger UI rounds the trailing digits of huge integers in its docs view — this is expected and does not affect the actual data returned by the API.wechat-channels/v2/search-channel-videosIn-channel search: search a creator's published videos by keyword **within that channel only**. This endpoint performs **first-page retrieval only** (no cursor parameter exposed, single-page result), but the response still carries `next_cursor` / `continue_flag` for reference. Price: $0.01 per request ⏱️ Due to WeChat server latency, this endpoint responds slowly; please set your client request timeout to 30 seconds — a timeout that is too small may result in being billed without receiving the response. ⚠️ Large-integer ID precision: IDs such as `doc_id` in the response are 64-bit big integers beyond JavaScript's safe-integer range (2^53-1). Always receive / pass such IDs as **strings** (parse JSON with json-bigint or read them as text), never through JS `Number`. Swagger UI rounds the trailing digits of huge integers in its docs view — this is expected and does not affect the actual data returned by the API.wechat-channels/v2/user-collectionsGet the "Collections" list on a creator's homepage. Pass each collection's `topic_id` to `fetch_collection_videos` to get its videos. Price: $0.01 per request ⏱️ Due to WeChat server latency, this endpoint responds slowly; please set your client request timeout to 30 seconds — a timeout that is too small may result in being billed without receiving the response. ⚠️ Large-integer ID precision: IDs such as `topic_id` in the response are 64-bit big integers beyond JavaScript's safe-integer range (2^53-1). Always receive / pass such IDs as **strings** (parse JSON with json-bigint or read them as text), never through JS `Number`. Swagger UI rounds the trailing digits of huge integers in its docs view — this is expected and does not affect the actual data returned by the API.wechat-channels/v2/user-profileGet a creator's homepage profile and interaction stats. **Complementary** to `fetch_channel_info` (verification entity / license): this endpoint provides nickname / signature / avatar, follower / video / like / favorite / forward counts, live duration, IP region, collection count, linked official accounts, etc. Price: $0.01 per request ⏱️ Due to WeChat server latency, this endpoint responds slowly; please set your client request timeout to 30 seconds — a timeout that is too small may result in being billed without receiving the response.