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/successプロバイダー原価
Success rate
100%Last 30 days · 1,511 calls
Latency p50
1.9 sp95 3.2 s
Last verified
2026/07/28Verified working
GEThttps://toolswitch.dev/v1/tools/justoneapi.x.instagram-get-post-comments-v1?code=DX66rPHpvn_&sortOrder=newestPreview
  • Uses platform quota
  • Synchronous response
  • Reads public data

パラメータ

パラメータ型必須説明例
クエリパラメータ
code文字列必須The unique shortcode for the Instagram post.DX66rPHpvn_
minId文字列任意Pagination cursor returned as next_min_id from the previous response.
sortOrder文字列任意Sort order for the comments. Available Values: - `popular`: Popular - `newest`: Newest One of: popular, newest.newest
  • クエリパラメータ
  • code文字列必須

    The unique shortcode for the Instagram post.

    例:DX66rPHpvn_

  • minId文字列任意

    Pagination cursor returned as next_min_id from the previous response.

  • sortOrder文字列任意

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

    例:newest

コード例

$TOOLSWITCH_KEY をコンソールで作成したキーに置き換えてください。

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"

このゲートウェイ API はプレビュー版です。URL や認証方式は変更される場合があります。 パラメータはサンプルデータです。 呼び出し料金は $0.01476/success です。サービス料を含みます。