Instagram latest posts API: the 12 most recent posts of a user
The 12 most recent posts and reels of a username.
About the Latest 12 posts & reels endpoint
This endpoint returns an Instagram user's 12 most recent posts and reels from the username alone, each with its shortcode, caption, media type, image and video URLs, like and comment counts, view count for reels, and post date. It is the quickest way to see what an account has published lately, ideal for feeds, embeds and recent-activity checks.
What you can build with it
- Show an account's latest Instagram posts on a website or in an app
- Check an influencer's recent content and engagement before a collaboration
- Trigger alerts when a monitored account publishes something new
Request
https://socialgraph.dev/api/v1/instagram/latest-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 12 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 |
Latest 12 posts & reels API: frequently asked questions
How many posts does the latest posts API return?
The 12 most recent posts and reels. For up to 120 recent posts use the Recent posts & reels endpoint.
Are reels included in the latest posts?
Yes. Reels appear alongside photos and carousels, with product_type set to clips and a view_count.
Do I need the user's permission or an Instagram login?
No. Only publicly available posts from public accounts are returned, and no login is required.
Do the image and video URLs expire?
Yes. Media URLs are signed by Instagram's CDN and stop working after a few days, so download any files you need to keep.
How much does the Latest 12 posts & reels endpoint cost?
2 credits per successful call (0.004 USD at 500 credits per dollar). Errors, "not found" responses and invalid input are never charged, and credits never expire.
Can I try the Latest 12 posts & reels API without signing up?
Yes. The live demo on this page runs a real request with a fixed sample input, free and without an account. Creating a free account gives you 100 credits to test every endpoint with your own inputs.
๐ Preset demo input. Live demos use Instagram's own account, @instagram. Sign up free to use your own.