cURL
curl --request GET \ --url https://api.scraper.creatorlookup.com/v1/instagram/post/comments \ --header 'x-api-key: <api-key>'
{ "data": [ { "id": "<string>", "text": "<string>", "username": "<string>", "timestamp": 123, "like_count": 123 } ], "credits_used": 123, "credits_remaining": 123 }
Retrieve comments on an Instagram post
x-api-key
Show InstagramComment
curl -H "x-api-key: sk-your-api-key" \ "https://api.scraper.creatorlookup.com/v1/instagram/post/comments?shortcode=CxAbCdEfGh&limit=10"
{ "data": [ { "id": "17890012345678901", "text": "Amazing photo! Love the colors", "username": "photouser", "timestamp": 1700001000, "like_count": 42 }, { "id": "17890012345678902", "text": "Where was this taken?", "username": "traveler99", "timestamp": 1700002000, "like_count": 5 } ], "credits_used": 2, "credits_remaining": 9998 }
{ "error": { "code": "INSUFFICIENT_CREDITS", "message": "This endpoint requires 2 credits, you have 1" } }
{ "error": { "code": "TIMEOUT", "message": "Scraping request timed out" } }