code_or_urlstring必須
Post shortcode or full URL
https://api.sandbase.ai/v1/api/instagram/v2/comment-repliesRetrieves a paginated list of replies to an Instagram comment using the post URL or shortcode and the target comment ID.
出力はここに表示されます
入力を完了してから[実行]をクリックしてください。
Retrieve threaded replies for a specific Instagram comment by providing code_or_url and comment_id. Use pagination_token to navigate through subsequent reply batches.
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v2/comment-replies" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"code_or_url": "DRhvwVLAHAG", "comment_id": "18067775592012345"}'
| Name | Type | Required | Description |
|---|---|---|---|
comment_id | string | Yes | Comment ID |
code_or_url | string | Yes | Post shortcode or full URL |
pagination_token | string | No | Pagination token from previous response |
comment_id from the post comments endpoint first.pagination_token from a previous response to paginate through replies.code_or_url accepts either an Instagram post shortcode or a full post URL.Flat price per call. Failed calls, including lookups whose target does not exist, are not charged.
開発を始める
統一認証と使用状況の追跡を備えたプラットフォームAPIエンドポイントです。
curl -X POST "https://api.sandbase.ai/v1/api/instagram/v2/comment-replies" \
-H "Authorization: Bearer $SANDBASE_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"comment_id": "18067775592012345",
"code_or_url": "DRhvwVLAHAG"
}'SandBaseのAPIキーをサーバー環境に設定してください。リクエストはBearer認証を使用します。
export SANDBASE_API_KEY="YOUR_API_KEY"キーはサーバー側で管理してください。ブラウザコードに公開しないでください。
code_or_urlstring必須Post shortcode or full URL
comment_idstring必須Comment ID
pagination_tokenstringPagination token from previous response
このAPIの保存済みサンプルレスポンスです。表示時にライブリクエストは行われません。
保存済みレスポンスはまだ公開されていません。PlaygroundでAPIを実行し、レスポンスを確認してください。
さらに探索
| API | 価格 | レスポンス |
|---|---|---|
Instagram | $0.002 / 回 | JSON |
Instagram | $0.002 / 回 | JSON |
Instagram | $0.002 / 回 | JSON |
Instagram | $0.002 / 回 | JSON |
Instagram | $0.002 / 回 | JSON |
Instagram | $0.002 / 回 | JSON |
ガイド:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
質問
Authorization ヘッダー(Bearer)に SandBase API key を指定し、パラメータを JSON ボディで送信して https://api.sandbase.ai/v1/api/instagram/v2/comment-replies に POST リクエストを送ります。このページの Playground で、コードを書かずに試すこともできます。
1回あたり $0.002。各組織には UTC 日ごとに 100 回の無料呼び出しが付与され、この API を含む対象の SandBase API 全体で共有されます。それ以降は、各呼び出しが SandBase 残高からこの料金で課金されます。サブスクリプションはありません。
必須: code_or_url (string) と comment_id (string)。 任意: pagination_token (string)。 このページの Parameters テーブルと Playground に、すべてのフィールドが一覧表示されています。
同じ HTTP リクエスト内で返される JSON レスポンスです(同期)。
いいえ。Instagram Comment Replies (V2) は SandBase 経由で動作するため、SandBase の API key 1つでこのエンドポイントと、カタログ内の他のすべての API とモデルを利用できます。Instagram の API アクセスを別途申請する必要はありません。