POST
/
v1
/
instagram
/
posts
curl -X POST https://api.zocialmine.com/v1/instagram/posts \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://www.instagram.com/username",
    "cursor": "0"
  }'
{
  "status": "success",
  "data": {
    "items": [
      {
        "id": "3456789012345678901",
        "shortcode": "ABC123xyz",
        "caption": "Post caption",
        "timestamp": 1700000000,
        "type": "image",
        "stats": {
          "likeCount": 150000,
          "commentCount": 3200
        }
      }
    ],
    "hasMore": true,
    "cursor": "QVFDdXJzb3IxMjM0NTY3ODkw"
  }
}
Fetches a paginated list of posts from an Instagram user profile with cursor-based pagination. Cost: 2 credits per request.

Request

url
string
required
The Instagram profile URL.Example: https://www.instagram.com/username
cursor
string
default:"0"
Pagination cursor. Use "0" for the first page, then pass the returned cursor value 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/posts \
  -H "x-api-key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "url": "https://www.instagram.com/username",
    "cursor": "0"
  }'
{
  "status": "success",
  "data": {
    "items": [
      {
        "id": "3456789012345678901",
        "shortcode": "ABC123xyz",
        "caption": "Post caption",
        "timestamp": 1700000000,
        "type": "image",
        "stats": {
          "likeCount": 150000,
          "commentCount": 3200
        }
      }
    ],
    "hasMore": true,
    "cursor": "QVFDdXJzb3IxMjM0NTY3ODkw"
  }
}