GET/v1/instagram/posts/details
Get post or reel data
Retrieve full details for a single post or reel: like count, comment count, view count, caption, media, and author.
`type` is one of `image`, `video`, `carousel`, or `reel`. `media[]` holds one entry per carousel item. `view_count` and `duration_seconds` appear only on videos and reels.
Parameters
| Name | Type | Description |
|---|---|---|
| media_code_or_urlrequired | string | Media shortcode (e.g. `DQrUvnfDKVy`) or full post/reel URL e.g. DQrUvnfDKVy |
Request
Shell
curl -G "https://socialapi.airaa.xyz/v1/instagram/posts/details" \ -H "X-API-KEY: YOUR_KEY" \ -d "media_code_or_url=DQrUvnfDKVy"
Try it
Live requestRelayed through this site — your key is never stored
X-API-KEY
media_code_or_urlrequired
Response example
200 OKapplication/json
{
"post": {
"id": "3759189547113293170",
"type": "reel",
"shortcode": "DQrUvnfDKVy",
"post_url": "https://www.instagram.com/reel/DQrUvnfDKVy/",
"caption": "Manifesting to be the ultimate 'Sapna Ki Rani' 👑",
"published_at": "2025-11-05T13:50:06.000Z",
"like_count": 892455,
"comment_count": 4098,
"view_count": 20589565,
"duration_seconds": 43.003,
"width": 720,
"height": 1280,
"author": {
"id": "18660395701",
"username": "sairaahlive",
"profile_url": "https://www.instagram.com/sairaahlive/",
"full_name": "Sairaah",
"profile_picture_url": "https://scontent-hel3-1.cdninstagram.com/v/t51.82787-19/685976763.jpg",
"is_private": false,
"is_verified": true
},
"media": [
{
"type": "video",
"url": "https://scontent-hel3-1.cdninstagram.com/o1/v/t2/f2/m86/AQPRzvcYIQc8.mp4",
"thumbnail_url": "https://scontent-hel3-1.cdninstagram.com/v/t51.82787-15/576513585.jpg",
"width": 720,
"height": 1280,
"duration_seconds": 43.003
}
]
}
}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
502Upstream provider temporarily unavailable — please try again
504Request timed out — please try again
All error responses follow the shape
{ "error": "message" }