Ssocialgraph.dev
API reference / Instagram API / Latest 12 posts & reels

Instagram latest posts API: the 12 most recent posts of a user

The 12 most recent posts and reels of a username.

2 credits per successful call Errors are never charged No login or OAuth needed

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

GET 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

NameTypeDescription
username
required
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

StatusMeaningCharged?
401Missing, invalid or revoked API keyNo
402Not enough credits (insufficient_credits)No
404The account or post doesn't existNo
422Missing or invalid parametersNo
502 / 503The data source is temporarily unavailableNo

All error codes โ†’

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.

Try it live: Latest 12 posts & reels GET

๐Ÿ”’ Preset demo input. Live demos use Instagram's own account, @instagram. Sign up free to use your own.

Start with 100 free credits

Create an account in seconds. No card, no subscription. Credits never expire.

Create free account โ†’