API reference / Instagram / Post details
Post details
Details of a single post or reel by shortcode, without the view count.
2 credits per successful call
Errors are never charged
Request
GET
https://socialgraph.dev/api/v1/instagram/post-details
Send your API key as Authorization: Bearer YOUR_API_KEY.
Parameters go in the query string.
Parameters
| Name | Type | Description |
|---|---|---|
shortcoderequired |
string | Post or reel shortcode from its URL, e.g. DdwXSSkMvJz. |
Code examples
Example response
{
"id": "3994795281432638067",
"owner": {
"id": "1531318532",
"avatar": "https://scontent.cdninstagram.com/v/t51.82787-19/655235091_….jpg",
"username": "portugal",
"full_name": "Portugal",
"is_private": false,
"is_verified": true,
"is_unpublished": false
},
"caption": "Palavras de capitão 🫡\n\nCaptain’s words 🫡",
"post_date": "2026-09-26T15:33:36Z",
"user_tags": [
{
"id": "173560420",
"avatar": "https://scontent.cdninstagram.com/v/t51.2885-19/472007201_….jpg",
"username": "cristiano",
"full_name": "Cristiano Ronaldo",
"is_verified": true
}
],
"video_url": "https://instagram.fluk1-1.fna.fbcdn.net/o1/v/t2/f2/m86/….mp4",
"like_count": 4637805,
"short_code": "DdwXSSkMvJz",
"display_url": "https://scontent.cdninstagram.com/v/t51.82787-15/825320499_….jpg",
"product_type": "clips",
"comment_count": 41154
}Errors
| Status | Meaning | Charged? |
|---|---|---|
| 401 | Missing, invalid or revoked API key | No |
| 402 | Not enough credits (insufficient_credits) | No |
| 404 | The account or post doesn't exist | No |
| 422 | Missing or invalid parameters | No |
| 502 / 503 | The data source is temporarily unavailable | No |
Try it live: Post details
GET
🔒 Preset demo input. Live demos use Instagram's own account, @instagram. Sign up free to use your own.
More Instagram endpoints
GET
Profile details by username
Public profile details for a username: bio, links, counts, verification and profile picture.
/api/v1/instagram/profile
2 credits / call
GET
Profile details by user ID
Public profile details for a numeric Instagram user ID.
/api/v1/instagram/profile-by-id
2 credits / call
GET
Follower & following counts
Follower count, following count and user ID for a username.
/api/v1/instagram/follow-counts
2 credits / call
GET
Reel details with view count
Full details of a single reel by shortcode, including its view count.
/api/v1/instagram/reel-details-with-views
2 credits / call
GET
Latest 12 posts & reels
The 12 most recent posts and reels of a username.
/api/v1/instagram/latest-posts
2 credits / call
GET
Reels by username
Reels among the most recent posts of a username. Each page scans 12 posts and returns the reels among them, so pages=3 checks the latest 36 posts.
/api/v1/instagram/reels
2 credits / call