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/successPelo preço do provedor
Success rate
100%Last 30 days · 1.511 calls
Latency p50
1.9 sp95 3.2 s
Last verified
28 de jul. de 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âmetroTipoObrigatórioDescriçãoExemplo
Parâmetros de consulta
codestringObrigatórioThe unique shortcode for the Instagram post.DX66rPHpvn_
minIdstringOpcionalPagination cursor returned as next_min_id from the previous response.
sortOrderstringOpcionalSort order for the comments. Available Values: - `popular`: Popular - `newest`: Newest One of: popular, newest.newest
  • Parâmetros de consulta
  • codestringObrigatório

    The unique shortcode for the Instagram post.

    Exemplo: DX66rPHpvn_

  • minIdstringOpcional

    Pagination cursor returned as next_min_id from the previous response.

  • sortOrderstringOpcional

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

    Exemplo: newest

Exemplos de código

Substitua $TOOLSWITCH_KEY pela chave criada no 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"

Esta API de gateway está em prévia; a URL e a autenticação podem mudar. Os parâmetros do exemplo são dados de amostra. As chamadas são cobradas a $0.01476/success, incluindo a taxa de serviço.