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. The media object is returned as `items[0]` (root also carries `num_results`, `more_available`, `status`, and enriched `profile_url`/`url`).
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
{
"num_results": 1,
"more_available": false,
"items": [
{
"pk": "3759189547113293170",
"id": "3759189547113293170_18660395701",
"code": "DQrUvnfDKVy",
"media_type": 2,
"product_type": "clips",
"like_count": 899018,
"comment_count": 4101,
"play_count": 20480490,
"taken_at": 1762350606,
"caption": {
"text": "Manifesting to be the ultimate 'Sapna Ki Rani' 👑 …"
},
"user": {
"pk": "18660395701",
"username": "sairaahlive",
"full_name": "Sairaah",
"is_verified": true
},
"image_versions2": {
"candidates": [
{
"url": "https://scontent.cdninstagram.com/v/...",
"width": 720,
"height": 1280
}
]
},
"video_versions": [
{
"url": "https://scontent.cdninstagram.com/o1/v/...",
"width": 720,
"height": 1280
}
]
}
],
"status": "ok",
"profile_url": "https://instagram.com/sairaahlive",
"url": "https://instagram.com/reel/DQrUvnfDKVy"
}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" }