GET/v1/instagram/posts/details
Get post or reel data
Retrieve full media details including like count, comment count, play count, caption, and author info.
Parameters
| Name | Type | Description |
|---|---|---|
| media_code_or_urlrequired | string | Media code (e.g. DJmAsFEPfNV) or post/reel URL |
Request
Shell
curl -G "https://social-api.airaa.xyz/v1/instagram/posts/details" \ -H "X-API-KEY: YOUR_KEY" \ -d "media_code_or_url=media_code_or_url"
Try it
Live requestRuns against the real API
X-API-KEY
media_code_or_urlrequired
Response example
200 OKapplication/json
{
"id": "3875317901306048269",
"shortcode": "DXH5RlTDy8N",
"is_video": true,
"video_play_count": 27782799,
"video_view_count": 3641522,
"video_duration": 21.5,
"video_url": "https://scontent.cdninstagram.com/o1/v/...",
"display_url": "https://scontent.cdninstagram.com/v/t51.82787-15/...",
"taken_at_timestamp": 1776194225,
"edge_media_preview_like": {
"count": 34131,
"edges": []
},
"edge_media_to_parent_comment": {
"count": 1667
},
"edge_media_to_caption": {
"edges": [
{
"node": {
"text": "Kawaii core, but on a canvas 🎨💫",
"created_at": "1776194217",
"id": "18455545261110056"
}
}
]
},
"owner": {
"id": "25025320",
"username": "instagram",
"full_name": "Instagram",
"is_verified": true,
"profile_pic_url": "https://scontent.cdninstagram.com/v/profile.jpg"
},
"edge_media_to_tagged_user": {
"edges": [
{
"node": {
"user": {
"username": "mada.exe",
"id": "6681152293",
"is_verified": false
}
}
}
]
},
"location": null
}Response codes
200Media data
400Missing or invalid query parameter
401Missing or invalid `X-API-KEY` header
429Request quota exceeded — contact light@airaa.xyz to upgrade your plan
500Server misconfiguration — API key environment variable not set
502Airaa service temporarily unavailable — please try again
504Request timed out — please try again
All error responses follow the shape
{ "error": "message" }