code_or_urlstringobligatoire
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.
Votre sortie apparaîtra ici
Complétez les entrées, puis cliquez sur Exécuter.
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.
Commencer à construire
Point de terminaison de l'API de la plateforme avec authentification unifiée et suivi de l'utilisation.
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"
}'Définissez votre clé API SandBase dans l'environnement de votre serveur. Les requêtes utilisent l'authentification Bearer.
export SANDBASE_API_KEY="YOUR_API_KEY"Conservez votre clé côté serveur. Ne l'exposez pas dans le code du navigateur.
code_or_urlstringobligatoirePost shortcode or full URL
comment_idstringobligatoireComment ID
pagination_tokenstringPagination token from previous response
Exemple de réponse enregistré pour cette API ; aucune requête en direct n'est effectuée lors de l'affichage.
Aucune réponse enregistrée n'a été publiée. Exécutez l'API dans Playground pour inspecter sa réponse.
Explorer plus
| API | Prix | Réponse |
|---|---|---|
Instagram Comment Replies (V2)Cette API Instagram | $0.002 par appel | JSON |
Instagram | $0.002 par appel | JSON |
Instagram | $0.002 par appel | JSON |
Instagram | $0.002 par appel | JSON |
Instagram | $0.002 par appel | JSON |
Instagram | $0.002 par appel | JSON |
Guides :Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared
Questions
Envoyez une requête POST à https://api.sandbase.ai/v1/api/instagram/v2/comment-replies avec votre clé API SandBase dans l’en-tête Authorization (Bearer) et les paramètres dans un corps JSON. Vous pouvez aussi l’essayer dans le Playground sur cette page sans écrire de code.
$0.002 par appel. Chaque organisation bénéficie de 100 appels gratuits par jour UTC, partagés entre les API SandBase éligibles, y compris celle-ci ; au-delà, chaque appel est facturé à ce tarif depuis votre solde SandBase. Aucun abonnement.
Obligatoire : code_or_url (string) et comment_id (string). Facultatif : pagination_token (string). Le tableau des paramètres et le Playground sur cette page listent tous les champs.
Une réponse JSON renvoyée dans la même requête HTTP (synchrone).
Non. Instagram Comment Replies (V2) fonctionne via SandBase, donc une seule clé API SandBase couvre ce point de terminaison ainsi que toutes les autres API et tous les modèles du catalogue. Vous n’avez pas besoin de demander un accès API Instagram séparément.