InstagramPOSTS
Get post or reel data
Retrieve full details for a single post or reel: like count, comment count, view count, caption, media, and author.
/v1/instagram/posts/detailsSingle lookuphttps://social-api.airaa.xyzcurl "https://social-api.airaa.xyz/v1/instagram/posts/details?media_code_or_url=DQrUvnfDKVy" \ -H "X-API-KEY: $AIRAA_KEY"
{
"post": {
"id": "3759189547113293170_18660395701",
"type": "reel",
"shortcode": "DQrUvnfDKVy",
"post_url": "https://www.instagram.com/reel/DQrUvnfDKVy/",
"caption": "Manifesting to be the ultimate 'Sapna Ki Rani' 👑\n#sairaahlive \n\n#meresapnokirani #sapnokirani #queenofhearts #dreamgirl #mehndilove #femalesinger #liveperformance #femaleversion #liveperformer…",
"published_at": "2025-11-05T13:50:06.000Z",
"like_count": 884711,
"comment_count": 4069,
"reshare_count": 203315,
"view_count": 20621984,
"duration_seconds": 43.00299835205078,
"width": 1080,
"height": 1920,
"author": {
"id": "18660395701",
"username": "sairaahlive",
"profile_url": "https://www.instagram.com/sairaahlive/",
"full_name": "Sairaah",
"profile_picture_url": "https://instagram.fkiv8-1.fna.fbcdn.net/v/t51.82787-19/685976763_18124455733619702_209481644942537253_n.jpg",
"is_private": false,
"is_verified": true
},
"media": [
{
"type": "video",
"url": "https://instagram.fkiv7-1.fna.fbcdn.net/o1/v/t2/f2/m86/AQPRzvcYIQc8jKCGKSK_CoN58HcauvkbjvND6GBkZc3ZdjU2MBsv0LQWowzZthbwz7TEKsPmAZdEnOtZLGq9PtQCGcg2pZarOrY92ro.mp4",
"thumbnail_url": "https://instagram.fkiv7-1.fna.fbcdn.net/v/t51.82787-15/576513585_18106739614619702_55291165651798753_n.jpg",
"width": 720,
"height": 1280,
"duration_seconds": 43.00299835205078
}
]
}
}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
Query stringmedia_code_or_urlstringrequiredMedia shortcode (e.g. DQrUvnfDKVy) or full post/reel URL
Example DQrUvnfDKVy
Response
200 · application/jsonAbsent fields are omitted, never null. Response conventions
| Field | Type | Description |
|---|---|---|
| post | object | The post or reel |
| post.id | string | Post ID in the form <media id>_<author id>; feeds return the bare media id |
| post.type | string | One of image, video, carousel or reel |
| post.shortcode | string | Post shortcode, as used in the post URL |
| post.post_url | string · url | Absolute URL of the post on instagram.com |
| post.caption | string | Caption text |
| post.published_at | string · date-time | When the post was published, ISO 8601 UTC timestamp |
| post.like_count | integer | Number of likes |
| post.comment_count | integer | Number of comments |
| post.reshare_count | integer | Number of times the post was reshared |
| post.view_count | integer | Number of views; videos and reels only |
| post.duration_seconds | number | Video length in seconds; videos and reels only |
| post.width | integer | Width of the post media in pixels |
| post.height | integer | Height of the post media in pixels |
Errors
{ "error": "message" }| Status | Meaning | Retry |
|---|---|---|
| 400 | Missing or invalid query parameter { "error": "username is required" } | No. Fix the request. |
| 401 | Missing or invalid { "error": "Invalid API key." } | No. Check the key. |
| 429 | Request quota exceeded — contact light@airaa.xyz to upgrade your plan { "error": "Request quota exceeded — contact light@airaa.xyz to upgrade your plan." } | After your quota resets |
| 500 | Server misconfiguration — API key environment variable not set { "error": "Server configuration error" } | No. Contact us. |
| 502 | Upstream provider temporarily unavailable — please try again { "error": "Upstream service unavailable" } | Yes, with backoff |
| 504 | Request timed out — please try again { "error": "Request timed out — please try again." } | Yes, with backoff |