API reference / Instagram / Recent posts & reels (up to 120)
Recent posts & reels (up to 120)
Up to 120 of the most recent posts and reels of a username.
2 credits per successful call
Errors are never charged
Request
GET
https://socialgraph.dev/api/v1/instagram/posts
Send your API key as Authorization: Bearer YOUR_API_KEY.
Parameters go in the query string.
Parameters
| Name | Type | Description |
|---|---|---|
usernamerequired |
string | Instagram username, e.g. apple. |
Code examples
Example response
[
{
"post": {
"id": "4004230002159797893",
"owner": {
"id": "5821462185",
"username": "apple"
},
"caption": "Snailed it 🐌 \n#ShotoniPhone by @_gulligull_ …",
"post_date": "2026-10-09T15:57:15Z",
"short_code": "DeR4fi9skaF",
"display_url": "https://scontent.cdninstagram.com/v/t51.82787-15/842935240_….jpg",
"product_type": "clips",
"accessibility_caption": "Video by apple on October 09, 2026. May be an image of balloon and text."
}
},
"… up to 120 posts"
]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: Recent posts & reels (up to 120)
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
Post details
Details of a single post or reel by shortcode, without the view count.
/api/v1/instagram/post-details
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