获取帖子评论列表V2/Get post comments V2

Instagramapi

About

获取帖子评论列表V2/Get post comments V2

Documentation

获取帖子评论列表V2/Get post comments V2

[中文]

用途:

  • 获取帖子评论列表,支持分页
  • 返回的评论数据更完整,包含子评论预览和更多元数据

参数:

  • media_id: 帖子ID(媒体ID)
  • sort_order: 排序方式,popular(热门)/recent(最新)
  • min_id: 分页游标,首次请求不传,从上一次响应的next_min_id字段获取

返回:

  • comment_count: 评论总数
  • comments: 评论列表,每个评论包含:
    • pk: 评论ID
    • text: 评论内容
    • created_at/created_at_utc: 评论时间戳
    • user: 评论者信息(pk, username, full_name, is_verified, profile_pic_url等)
    • comment_like_count: 评论点赞数
    • child_comment_count: 子评论数量
    • preview_child_comments: 子评论预览列表
    • is_liked_by_media_owner: 是否被帖子作者点赞
    • has_translation: 是否有翻译
  • next_min_id: 下一页游标(JSON格式字符串)
  • has_more_headload_comments: 是否有更多评论
  • caption: 帖子描述信息

价格:

  • 0.001 USD/请求

[English]

Purpose:

  • Get post comments list with pagination
  • Returns more complete comment data including child comment previews and more metadata

Parameters:

  • media_id: Post ID (Media ID)
  • sort_order: Sorting method, popular/recent
  • min_id: Pagination cursor, omit for first request, get from previous response's next_min_id

Return:

  • comment_count: Total comments count
  • comments: Comments list, each comment contains:
    • pk: Comment ID
    • text: Comment content
    • created_at/created_at_utc: Comment timestamp
    • user: Commenter info (pk, username, full_name, is_verified, profile_pic_url etc.)
    • comment_like_count: Comment likes count
    • child_comment_count: Child comments count
    • preview_child_comments: Child comments preview list
    • is_liked_by_media_owner: Whether liked by post author
    • has_translation: Whether translation available
  • next_min_id: Next page cursor (JSON format string)
  • has_more_headload_comments: Whether more comments available
  • caption: Post caption info

Price:

  • 0.001 USD/request

[示例/Example]

media_id = "3766120364183949816" sort_order = "recent"

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

Try 获取帖子评论列表V2/Get post comments V2

Test this model in the Sandbase Playground with your own prompts.

Open in Playground

Related Models