Instagram Comments
Fetch the comments that are visibly embedded in the public Instagram post or reel HTML. This endpoint does not expand deeper pages or replies and does not expose pagination.
Try on PlaygroundAuthentication
Send your Crawlkit API key as a Bearer token in the Authorization header.
Authorization: Bearer ck_your_api_keyRequest Parameters
Send these JSON body fields in your request payload.
| Name | Type | Description |
|---|---|---|
shortcode | string | Request field. |
Example Request
Use direct HTTP requests against the public API base URL.
Example request
1const response = await fetch('https://api.crawlkit.sh/v1/crawl/instagram/comments', {2 method: 'POST',3 headers: {4 'Authorization': 'Bearer YOUR_API_KEY',5 'Content-Type': 'application/json'6 },7 body: JSON.stringify({8 shortcode: 'CxIIgCCq8mg',9 options: {10 }11 })12});13 14const { data } = await response.json();15console.log(data.comments.length);Response
Success (200 OK): Returns service-specific structured payload.
Success response (200 OK)
1{2 "success": true,3 "data": {4 "comments": [5 {6 "id": "17981234567000001",7 "text": "This is incredible.",8 "createdAt": 1711262420,9 "likeCount": 142,10 "replyCount": 3,11 "username": "traveler.ana",12 "fullName": "Ana Silva",13 "profilePicUrl": "https://instagram.fist6-1.fna.fbcdn.net/...",14 "isVerified": false15 }16 ],17 "timing": { "total": 2100 },18 "creditsUsed": 1,19 "creditsRemaining": 9920 }21}