KonbiniAPI

Search media from Instagram with KonbiniAPI

Searches Instagram for reels and videos matching a keyword. Maximum 24 results per page. Returns video details including captions and engagement counts.

This API endpoint searches Instagram for reels and videos matching a keyword. Maximum 24 results per page. Returns video details including captions and engagement counts.

Perfect for

  • Data Analytics
  • Market Research
  • Platform Integration

1. Make the request

const response = await fetch("https://api.konbiniapi.com/v1/instagram/search", {
  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": "OrderedCollectionPage",
    "partOf": "https://api.konbiniapi.com/v1/instagram/search",
    "totalItems": 1309,
    "cursor": "0",
    "nextCursor": "1772217402000",
    "next": "https://api.konbiniapi.com/v1/instagram/search?query=fitness&cursor=abc123&count=24",
    "itemCount": 30,
    "orderedItems": [
      {
        "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"
          }
        ]
      }
    ]
  }
}