cURL
curl --request GET \ --url https://api.scraper.creatorlookup.com/v1/instagram/user/posts \ --header 'x-api-key: <api-key>'
{ "data": [ { "shortcode": "<string>", "caption": {}, "timestamp": 123, "like_count": 123, "comment_count": 123, "media_type": "<string>", "media_url": "<string>", "thumbnail_url": {}, "is_video": true, "video_view_count": {}, "location": {}, "tagged_users": [ "<string>" ], "hashtags": [ "<string>" ] } ], "credits_used": 123, "credits_remaining": 123 }
Retrieve recent posts from an Instagram user
x-api-key
Show InstagramPost
image
video
carousel
curl -H "x-api-key: sk-your-api-key" \ "https://api.scraper.creatorlookup.com/v1/instagram/user/posts?username=instagram&limit=3"
{ "data": [ { "shortcode": "CxAbCdEfGh", "caption": "Welcome to Instagram! #photography", "timestamp": 1700000000, "like_count": 150000, "comment_count": 2500, "media_type": "image", "media_url": "https://scontent.cdninstagram.com/...", "thumbnail_url": null, "is_video": false, "video_view_count": null, "location": "New York, New York", "tagged_users": ["photographer"], "hashtags": ["photography"] } ], "credits_used": 2, "credits_remaining": 9998 }
{ "error": { "code": "INSUFFICIENT_CREDITS", "message": "This endpoint requires 2 credits, you have 1" } }