GET
/instagram/post/commentsGet Instagram Post Comments
Scrape comments from any Instagram post. Returns comment text, author info, like counts, and timestamps. Supports pagination via cursor.
Quick Start
cURL
curl "https://api.creatorcrawl.com/v1/instagram/post/comments?url=https://www.instagram.com/p/ABC123xyz/" \
-H "x-api-key: YOUR_API_KEY"Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Required | Instagram post URL |
cursor | string | Optional | Pagination cursor from previous response |
Response
JSON Response
{
"success": true,
"comments": [
{
"text": "This is amazing!",
"user": {
"username": "fan_account"
},
"created_at": 1709251200,
"like_count": 245
}
],
"cursor": "QVFEbkR..."
}Every request costs 1 credit. Response data is live -- never cached.
Use Cases
Sentiment analysis
Analyze audience sentiment by processing Instagram comment text at scale across multiple posts.
Community insights
Understand what your audience is asking, praising, or complaining about on Instagram.
UGC discovery
Find user-generated content mentions and testimonials in Instagram comment sections.
Code Examples
Python
import requests
resp = requests.get(
"https://api.creatorcrawl.com/v1/instagram/post/comments",
params={"url": "https://www.instagram.com/p/ABC123xyz/"},
headers={"x-api-key": "YOUR_API_KEY"},
)
data = resp.json()
for comment in data["comments"][:5]:
print(f"{comment['user']['username']}: {comment['text']}")JavaScript
const resp = await fetch(
"https://api.creatorcrawl.com/v1/instagram/post/comments?url=https://www.instagram.com/p/ABC123xyz/",
{ headers: { "x-api-key": "YOUR_API_KEY" } }
)
const { comments } = await resp.json()
comments.slice(0, 5).forEach(c => console.log(`${c.user.username}: ${c.text}`))