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/successAl precio del proveedor
Success rate
100 %Last 30 days · 1511 calls
Latency p50
1.9 sp95 3.2 s
Last verified
28 jul 2026Verified 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

Parámetros

ParámetroTipoObligatorioDescripciónEjemplo
Parámetros de consulta
codecadenaObligatorioThe unique shortcode for the Instagram post.DX66rPHpvn_
minIdcadenaOpcionalPagination cursor returned as next_min_id from the previous response.
sortOrdercadenaOpcionalSort order for the comments. Available Values: - `popular`: Popular - `newest`: Newest One of: popular, newest.newest
  • Parámetros de consulta
  • codecadenaObligatorio

    The unique shortcode for the Instagram post.

    Ejemplo: DX66rPHpvn_

  • minIdcadenaOpcional

    Pagination cursor returned as next_min_id from the previous response.

  • sortOrdercadenaOpcional

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

    Ejemplo: newest

Ejemplos de código

Sustituye $TOOLSWITCH_KEY por la clave que creaste en la consola.

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"

La API de la pasarela está en versión preliminar; su URL y autenticación pueden cambiar. Los parámetros del ejemplo son datos de muestra. Las llamadas se facturan a $0.01476/success, incluida la tarifa de servicio.