Sand AISand AI MAGI-2MAGI-2 теперь на SandBase: видео 1080p с нативным звукомПопробовать сейчас

Instagram Comment Replies

Документация API
https://api.sandbase.ai/v1/api/instagram/comment-replies

List the replies to an Instagram comment with cursor pagination (text, author, likes).

Цена
От $0.0011USD / вызов
Метод
POST
Ответ
JSON
Параметры
2 обязательных · 1 необязательных

Песочница

Ввод
Full Instagram post or reel URL the comment belongs to.
Instagram comment ID (a comment's id from the Instagram Post Comments endpoint).
Pagination cursor from a previous response's nextCursor.
ВыходГотово

Ваш результат появится здесь

Заполните входные данные, затем нажмите «Запустить».

README по API

Instagram Comment Replies API

This API returns the replies to one Instagram comment. It needs the post or reel url and the commentId of the parent comment. Each reply includes its text, author, like count and creation time.

Use cases

  • Read the full conversation under a popular comment to see how followers respond to a creator.
  • Collect reply text from a comment thread for sentiment or language analysis.
  • Find which accounts reply most often under a post by counting author values.
  • Check whether verified accounts take part in a comment thread.

Request

curl -X POST "https://api.sandbase.ai/v1/api/instagram/comment-replies" \
  -H "Authorization: Bearer $SANDBASE_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"url": "https://www.instagram.com/p/C8rKmYvsrck/", "commentId": "18126632131325044"}'

The result is returned in outputs[0].data.

Parameters

NameTypeRequiredDescription
commentIdstringYesInstagram comment ID (a comment's id from the Instagram Post Comments endpoint).
urlstringYesFull Instagram post or reel URL the comment belongs to.
cursorstringNoPagination cursor from a previous response's nextCursor.

Example response

Real response for the request above, trimmed: lists keep their first item and long strings are cut.

{
  "data": {
    "comments": [
      {
        "author": "frau.pom",
        "avatarUrl": "https://scontent-lax3-2.cdninstagram.com/v/t51.2885-19/106036945_317567719266309…",
        "createdUtc": 1723278872,
        "id": "18345120157141050",
        "likes": 1,
        "text": "@lektorat.schreibwege Das klingt ja toll. Wie bist du an den Job gekommen?",
        "userId": "1437336707",
        "verified": false
      }
    ],
    "nextCursor": null
  },
  "found": true
}

Response fields

FieldMeaning
data.comments[].idID of the reply.
data.comments[].textText of the reply. It often starts with an @mention of the user being answered.
data.comments[].authorUsername of the account that wrote the reply.
data.comments[].userIdNumeric ID of the author's account.
data.comments[].likesNumber of likes on the reply.
data.comments[].createdUtcTime the reply was posted, as a Unix timestamp in seconds (UTC).
data.comments[].verifiedtrue if the author has a verified badge, false otherwise.
data.comments[].avatarUrlURL of the author's profile picture.
data.nextCursorCursor for the next page of replies. It is null when there are no more pages.
foundtrue when the lookup returned a result.

Notes

  • Get commentId from the id field of a comment returned by Instagram Post Comment List.
  • To get the next page, pass the value of data.nextCursor as cursor. A null value means the list is complete.
  • Reply id values are strings. Keep them as strings in your code.
  • A newer version of this endpoint exists: Instagram Comment Replies (V2).

Pricing

Billed at the actual cost of each call, about $0.0011 for the request above. Failed calls are not charged.

Посмотреть больше

Связанные APIs

Все APIs
APIЦенаОтвет
InstagramОт $0.0011 за запросJSON
InstagramОт $0.0011 за запросJSON
InstagramОт $0.001 за запросJSON
InstagramОт $0.0012 за запросJSON
InstagramОт $0.0011 за запросJSON
InstagramОт $0.0012 за запросJSON

Руководства:Instagram API cost: official limits and per-call pricesBest Instagram API in 2026: Pricing Compared

Вопросы

FAQ

Как использовать API Instagram Comment Replies?

Отправьте POST-запрос на https://api.sandbase.ai/v1/api/instagram/comment-replies, указав ключ SandBase API в заголовке Authorization (Bearer), а параметры — в теле JSON. Вы также можете попробовать это в Playground на этой странице без написания кода.

Сколько стоит API Instagram Comment Replies?

От $0.0011 за вызов, списывается с баланса SandBase. Оплата взимается только за сделанные вызовы; подписка не требуется.

Какие параметры принимает API Instagram Comment Replies?

Обязательные: url (string) и commentId (string). Необязательные: cursor (string). В таблице Parameters и в Playground на этой странице перечислены все поля.

Что возвращает API Instagram Comment Replies?

JSON-ответ, возвращаемый в том же HTTP-запросе (синхронно). В README на этой странице приведен пример ответа.

Нужен ли мне аккаунт разработчика Instagram или API key?

Нет. Instagram Comment Replies работает через SandBase, поэтому один API key SandBase покрывает этот endpoint и все остальные API и модели в каталоге. Вам не нужно отдельно запрашивать доступ к API Instagram.