POST
/
v1
/
instagram
/
comments
curl -X POST https://api.zocialmine.com/v1/instagram/comments \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://www.instagram.com/p/ABC123xyz/",
    "cursor": "0"
  }'
{
  "status": "success",
  "data": {
    "comments": [
      {
        "id": "17890012345678901",
        "text": "Great post!",
        "timestamp": 1700001000,
        "likeCount": 42,
        "replyCount": 3,
        "user": {
          "id": "12345678901",
          "username": "commenter",
          "fullName": "Commenter Name",
          "profilePicUrl": "https://scontent.cdninstagram.com/..."
        }
      }
    ],
    "hasMore": true,
    "cursor": "QVFDdXJzb3IxMjM0NTY3ODkw",
    "total": 3200
  }
}
Fetches comments from a specific Instagram post with cursor-based pagination. Cost: 2 credits per request.

Request

url
string
required
The Instagram post URL.Example: https://www.instagram.com/p/ABC123xyz/
cursor
string
default:"0"
Pagination cursor. Use "0" for the first page, then pass the returned cursor for subsequent pages.
webhook
string
A URL to receive the response via webhook. If provided, the request will be processed asynchronously and the result will be sent to this URL.

Response

status
string
"success" on successful request.
data
object
curl -X POST https://api.zocialmine.com/v1/instagram/comments \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://www.instagram.com/p/ABC123xyz/",
    "cursor": "0"
  }'
{
  "status": "success",
  "data": {
    "comments": [
      {
        "id": "17890012345678901",
        "text": "Great post!",
        "timestamp": 1700001000,
        "likeCount": 42,
        "replyCount": 3,
        "user": {
          "id": "12345678901",
          "username": "commenter",
          "fullName": "Commenter Name",
          "profilePicUrl": "https://scontent.cdninstagram.com/..."
        }
      }
    ],
    "hasMore": true,
    "cursor": "QVFDdXJzb3IxMjM0NTY3ODkw",
    "total": 3200
  }
}