Ssocialgraph.dev
API reference / Instagram API / Recent posts & reels (up to 120)

Instagram posts API: an account's recent posts and 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 No login or OAuth needed

About the Recent posts & reels (up to 120) endpoint

The Instagram posts API returns up to 120 of an account's most recent posts and reels in one call, each with shortcode, caption, media type and URLs, like and comment counts, view counts for reels, and post dates. It gives enough history to analyse posting frequency, engagement trends and content mix without paging through an account post by post.

What you can build with it

  • Engagement analysis over an account's recent history
  • Posting-frequency and content-mix reports for creators and competitors
  • Bulk collection of captions and media for research

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

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 120 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 โ†’

Recent posts & reels (up to 120) API: frequently asked questions

How many posts can I get for a user?

Up to 120 of the most recent posts and reels. For just the newest 12, use the cheaper Latest posts endpoint.

Does it return every post an account ever made?

No, the most recent posts up to 120. Older history beyond that is not available.

Are likes, comments and views included for each post?

Yes: like_count and comment_count for every post, and view_count for reels and videos.

Why do my calls take several seconds?

Fetching up to 120 posts is a heavier request; most calls finish in a few seconds. Set your client timeout to at least 60 seconds.

How much does the Recent posts & reels (up to 120) 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 Recent posts & reels (up to 120) 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: 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.

Start with 100 free credits

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

Create free account โ†’