Just One APIInstagramSocial

Instagram post comments by shortcode

justoneapi.x.instagram-get-post-comments-v1

Retrieves top-level comments for an Instagram post by shortcode, with cursor pagination and popular or newest sorting.

Price
$0.01476/successAt provider cost
Success rate
100%Last 30 days · 1,511 calls
Latency p50
1.9 sp95 3.2 s
Last verified
Jul 28, 2026Verified working
GEThttps://toolswitch.dev/v1/tools/justoneapi.x.instagram-get-post-comments-v1?code=DX66rPHpvn_&sortOrder=newestPreview
Try onlineComing soonProvider docs ↗
  • Uses platform quota
  • Synchronous response
  • Reads public data

Parameters

ParameterTypeRequiredDescriptionExample
Query parameters
codestringRequiredThe unique shortcode for the Instagram post.DX66rPHpvn_
minIdstringOptionalPagination cursor returned as next_min_id from the previous response.
sortOrderstringOptionalSort order for the comments. Available Values: - `popular`: Popular - `newest`: Newest One of: popular, newest.newest
  • Query parameters
  • codestringRequired

    The unique shortcode for the Instagram post.

    Example: DX66rPHpvn_

  • minIdstringOptional

    Pagination cursor returned as next_min_id from the previous response.

  • sortOrderstringOptional

    Sort order for the comments. Available Values: - `popular`: Popular - `newest`: Newest One of: popular, newest.

    Example: newest

Code samples

Replace $TOOLSWITCH_KEY with the key you created in the console.

Preview
curl -X GET 'https://toolswitch.dev/v1/tools/justoneapi.x.instagram-get-post-comments-v1?code=DX66rPHpvn_&sortOrder=newest' \
  -H "X-Toolswitch-Key: $TOOLSWITCH_KEY"

This gateway API is in preview; its URL and authentication may change. The example parameters are sample data. Calls are billed at $0.01476/success, including the service fee.