Instagram modelsapi generation api

instagram/v1/post-comments-v2

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

Input
Idle

Example output — click Run to generate your own

API README

Get post comments V2

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.

Related Models