KonbiniAPI

Get post details from Instagram with KonbiniAPI

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

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

Perfect for

  • Individual post performance metrics and engagement attribution
  • Viral post analysis and content strategy reverse-engineering
  • Sponsored post identification for influencer compliance audits

1. Make the request

const response = await fetch("https://api.konbiniapi.com/v1/instagram/posts/DGS29x", {
  headers: { "Authorization": "Bearer YOUR_API_KEY" }
});

const data = await response.json();

2. Get clean JSON

Response (200 OK)
{
  "data": {
    "@context": [
      "https://www.w3.org/ns/activitystreams#",
      "https://konbiniapi.com/ns/social#"
    ],
    "type": "Video",
    "id": "https://www.instagram.com/p/CybWViruta1/",
    "url": "https://www.instagram.com/p/CybWViruta1/",
    "entityId": "CybWViruta1",
    "content": "When you realize there is a simpler way #learnfromkhaby",
    "published": "2026-02-27T18:36:42.000Z",
    "likeCount": 2800000,
    "commentCount": 29200,
    "attributedTo": {
      "type": "Person",
      "id": "https://www.instagram.com/khaby00/",
      "url": "https://www.instagram.com/khaby00/",
      "entityId": "779085683",
      "preferredUsername": "khaby00",
      "name": "Khabane Lame",
      "icon": {
        "type": "Image",
        "url": "https://scontent.cdninstagram.com/v/t51.2885-19/avatar.jpg"
      },
      "role": "collaborator"
    },
    "location": {
      "type": "Place",
      "id": "213385402",
      "name": "Los Angeles, California",
      "url": "https://www.instagram.com/explore/locations/213385402/",
      "latitude": 34.0522,
      "longitude": -118.2437
    },
    "tag": [
      {
        "type": "Tag",
        "name": "learnfromkhaby",
        "href": "https://www.instagram.com/explore/tags/learnfromkhaby/"
      }
    ],
    "language": "en",
    "isEdited": false,
    "isSponsored": false,
    "viewCount": 42600000,
    "duration": 23,
    "contentFormat": "reel",
    "attachment": [
      {
        "type": "Video",
        "url": [
          "https://scontent.cdninstagram.com/v/t50.2886-16/video.mp4"
        ],
        "mediaType": "video/mp4",
        "width": 576,
        "height": 1024
      }
    ],
    "image": {
      "type": "Image",
      "url": "https://scontent.cdninstagram.com/v/t51.2885-19/avatar.jpg",
      "width": 1080,
      "height": 1920
    },
    "audio": {
      "type": "Audio",
      "id": "https://www.instagram.com/reels/audio/293394603591002/",
      "entityId": "293394603591002",
      "name": "Original audio",
      "artist": "khaby00",
      "isOriginal": true,
      "duration": 85.216
    },
    "name": "Photo of Khabane Lame",
    "totalItems": 5,
    "items": [
      {
        "type": "Image",
        "entityId": "3214260996432123574",
        "image": {
          "type": "Image",
          "url": "https://scontent.cdninstagram.com/v/t51.2885-19/avatar.jpg",
          "width": 1080,
          "height": 1920
        },
        "attachment": [
          {
            "type": "Video",
            "url": [
              "https://scontent.cdninstagram.com/v/t50.2886-16/video.mp4"
            ],
            "mediaType": "video/mp4",
            "width": 576,
            "height": 1024
          }
        ],
        "name": "Photo of Khabane Lame"
      }
    ]
  }
}