KonbiniAPI

Get post details — Instagram API

Returns details for a single post by its shortcode, including media, captions, and engagement counts. Supports photos, videos, and carousels.

GET/v1/instagram/posts/{postId}1 credit per request
Example response200OK
{
  "data": {
    "@context": [
      "https://www.w3.org/ns/activitystreams#",
      "https://konbiniapi.com/ns/social#"
    ],
    "type": "Video",
    "id": "https://www.instagram.com/p/DekIIwwgb2h/",
    "url": "https://www.instagram.com/p/DekIIwwgb2h/",
    "entityId": "DekIIwwgb2h",
    "content": "@WHOOP, now available in Arabic\n\nووب الآن بالعربية",
    "published": "2026-10-16T18:01:45.000Z",
    "likeCount": 2277215,
    "commentCount": 24768,
    "attributedTo": {
      "type": "Person",
      "id": "https://www.instagram.com/cristiano/",
      "url": "https://www.instagram.com/cristiano/",
      "entityId": "173560420",
      "preferredUsername": "cristiano",
      "name": "Cristiano Ronaldo",
      "icon": {
        "type": "Image",
        "url": "https://instagram.fric1-1.fna.fbcdn.net/v/t51.82787-15/851686016_18784443061056421_7099469425037123326_n.jpg",
        "width": 1080,
        "height": 1080
      },
      "isVerified": true,
      "isBusiness": false,
      "isProfessional": true,
      "followerCount": 98765,
      "role": "collaborator"
    },
    "location": {
      "type": "Place",
      "id": "213018187",
      "name": "Riyadh, Saudi Arabia",
      "url": "https://www.instagram.com/explore/locations/213018187/",
      "latitude": 24.7136,
      "longitude": 46.6753,
      "entityId": "267875289901288",
      "address": "King Fahd Road"
    },
    "tag": [
      {
        "type": "Tag",
        "name": "cr7",
        "href": "https://www.instagram.com/explore/tags/cr7/"
      }
    ],
    "language": "en",
    "isEdited": false,
    "isSponsored": true,
    "pinnedBy": [
      {
        "type": "string",
        "entityId": "528817151"
      }
    ],
    "viewCount": 9103126,
    "viewCountBy": {
      "instagram": 21809,
      "facebook": 76075
    },
    "duration": 31.5,
    "contentFormat": "reel",
    "attachment": [
      {
        "type": "Video",
        "url": [
          "https://instagram.fric1-1.fna.fbcdn.net/o1/v/t2/f2/m86/AQMSAKf5SFey0hmm4BmkEsi9QRmUEHWZpfxqZIHF0fB65GULrqd6ojbYagqtI8oMGuZzikefyNtXWAKh9toLjMNiMg592gXTR65xTsM.mp4"
        ],
        "mediaType": "video/mp4",
        "width": 720,
        "height": 720
      }
    ],
    "icon": {
      "type": "Image",
      "url": "https://instagram.fric1-1.fna.fbcdn.net/v/t51.82787-15/851686016_18784443061056421_7099469425037123326_n.jpg",
      "width": 1080,
      "height": 1920
    },
    "image": [
      {
        "type": "Image",
        "url": "https://instagram.fric1-1.fna.fbcdn.net/v/t51.82787-15/851686016_18784443061056421_7099469425037123326_n.jpg",
        "width": 1080,
        "height": 1920
      }
    ],
    "audio": {
      "type": "Audio",
      "id": "https://www.instagram.com/reels/audio/28877045585225582/",
      "entityId": "28877045585225582",
      "name": "Original audio",
      "artist": "cristiano",
      "url": "https://scontent.cdninstagram.com/v/t51.29350-15/28877045585225582_audio.m4a",
      "attributedTo": {
        "type": "Person",
        "id": "https://www.instagram.com/cristiano/",
        "url": "https://www.instagram.com/cristiano/",
        "preferredUsername": "cristiano",
        "entityId": "173560420"
      },
      "isOriginal": true,
      "isAdult": false,
      "duration": 85.216,
      "icon": {
        "type": "Image",
        "url": "https://instagram.fric1-1.fna.fbcdn.net/v/t51.82787-15/851686016_18784443061056421_7099469425037123326_n.jpg",
        "width": 1080,
        "height": 1080
      },
      "preview": {
        "type": "Audio",
        "url": [
          "https://scontent.cdninstagram.com/v/t51.29350-15/28877045585225582_preview.m4a"
        ],
        "mediaType": "audio/mp4",
        "duration": 30
      },
      "attachment": [
        {
          "type": "Audio",
          "url": [
            "https://scontent.cdninstagram.com/v/t51.29350-15/28877045585225582_audio.m4a"
          ],
          "mediaType": "audio/mp4"
        }
      ]
    },
    "name": "Photo of Cristiano Ronaldo",
    "totalItems": 5,
    "items": [
      {
        "type": "Image",
        "entityId": "3214260996432123574",
        "icon": {
          "type": "Image",
          "url": "https://instagram.fric1-1.fna.fbcdn.net/v/t51.82787-15/851686016_18784443061056421_7099469425037123326_n.jpg",
          "width": 1080,
          "height": 1920
        },
        "image": [
          {
            "type": "Image",
            "url": "https://instagram.fric1-1.fna.fbcdn.net/v/t51.82787-15/851686016_18784443061056421_7099469425037123326_n.jpg",
            "width": 1080,
            "height": 1920
          }
        ],
        "attachment": [
          {
            "type": "Video",
            "url": [
              "https://instagram.fric1-1.fna.fbcdn.net/o1/v/t2/f2/m86/AQMSAKf5SFey0hmm4BmkEsi9QRmUEHWZpfxqZIHF0fB65GULrqd6ojbYagqtI8oMGuZzikefyNtXWAKh9toLjMNiMg592gXTR65xTsM.mp4"
            ],
            "mediaType": "video/mp4",
            "width": 720,
            "height": 720
          }
        ],
        "name": "Photo of Cristiano Ronaldo"
      }
    ]
  }
}

Make the request.

One authenticated GET to /v1/instagram/posts/{postId}. Authentication and error conventions stay consistent across endpoints. This page shows the path, parameters, response shape, limits, and credit rule for this operation.

Built for

  • Individual post performance metrics and engagement attribution
  • Viral post analysis and content strategy reverse-engineering
  • Sponsored post identification for influencer compliance audits
const response = await fetch("https://api.konbiniapi.com/v1/instagram/posts/DekIIwwgb2h", {
  headers: { "Authorization": "Bearer YOUR_API_KEY" }
});

const data = await response.json();
Parameters1
  • postIdrequiredIn · PathType · stringPost shortcode (from instagram.com/p/{shortcode}/)

What you will probably call next.

The Instagram endpoints around this one — the same object at a different depth, or the same kind of read.

Try it on your own data.

Get a free API key and make this request in minutes. Failed and timed-out requests are automatically refunded.