Instagram Scraping
Get Instagram Post Data
POST /v1/instagram/post
#Request
curl -X POST https://scrapingapi.qoest.com/v1/instagram/post \
-H "Authorization: Bearer your-token" \
-H "Content-Type: application/json" \
-d '{"url": "https://www.instagram.com/reel/ABC123/"}'
#Parameters
| Name | Type | Required | Notes |
|---|---|---|---|
url |
string | yes | https://www.instagram.com/p/{code}/ or https://www.instagram.com/reel/{code}/. |
#Response
{
"response": {
"id": "3300000000000000000",
"type": "carousel",
"content": "Caption",
"created_at": "2026-01-01T12:00:00+00:00",
"author": {
"id": "12345",
"username": "example",
"name": "Example",
"profile_url": "https://www.instagram.com/example/",
"profile_image_url": "https://scontent.example/...",
"verified": false
},
"stats": { "likes": 100, "comments": 5, "views": 1000, "plays": 1200 },
"media": [
{ "id": "3300000000000000001", "type": "video", "url": "https://scontent.example/....mp4", "thumbnail_url": "https://scontent.example/....jpg" }
],
"location": { "id": "999", "name": "Example Place", "city": "Example City", "latitude": 0.0, "longitude": 0.0 },
"comments": [
{
"id": "1800000000000000000",
"url": "https://www.instagram.com/p/ABC123/c/1800000000000000000/",
"text": "Nice",
"created_at": "2026-01-01T13:00:00+00:00",
"like_count": 1,
"reply_count": 0,
"author": { "id": "67890", "username": "example_user", "name": "Example User", "profile_url": "https://www.instagram.com/example_user/" }
}
]
}
}
#Fields
type:post,reelorcarousel.stats:likes,comments,viewsandplaysas integers, each present when Instagram shows it.media: items of typeimageorvideo.location: the tagged place, when there is one.comments: visible comments. Replies carryparent_comment_id; a comment with a GIF has its ownmedia.- When Instagram serves only basic page data,
locationandcommentsare missing andcreated_atis the date at midnight UTC.
#Pricing
3 credits per successful request.
#Errors
| Status | Body | Charged |
|---|---|---|
200 |
{"message": "Instagram post not found."} |
no |
403 |
Not enough credits | no |
403 |
The post is private or not publicly accessible | no |
404 |
{"message": "Instagram post not found."} |
no |
422 |
Not a post or reel URL, or the post could not be retrieved | no |