Get recent posts
Instagram Posts API · 100 points per successful call
Product overview and demoAll Instagram API endpointsError codes
Returns a public account's most recent posts — image, video/reel and carousel — each with its permalink, caption, like and comment counts, media and thumbnail URLs, dimensions and publish time. Shares the profile snapshot, so a posts call right after a profile call is served from cache. Pagination is cursor-based; today the source serves the latest window, so next_cursor is null.
bearerAuthAuthorizationBearer <token>Your API key, sent as a bearer token. In the console on this page you can leave it empty: signed in, calls run on your own plan; otherwise they run on a shared demo key after a quick human check.
username*stringThe public Instagram username, without the leading @.
^[A-Za-z0-9._]+$1 <= length <= 30limit?integerMost recent posts to return (1–12).
1 <= value <= 1212cursor?stringOpaque pagination cursor from a previous response, if any.
Successful response
application/json- response
meta*data*curl -X GET 'https://api.endpointry.com/v1/instagram/posts?username=nasa&limit=12'{
"meta": {
"request_id": "req_7729f93d3facf68ff83e5c50",
"as_of": "2026-08-01T12:00:00.000Z",
"cache": "MISS",
"pagination": {
"next_cursor": null,
"limit": 12,
"returned": 1
}
},
"data": {
"posts": [
{
"id": "3953558216907780078",
"shortcode": "Dbd3EBdnW_u",
"url": "https://www.instagram.com/p/Dbd3EBdnW_u/",
"type": "image",
"caption": "Are you ready for the total solar eclipse?",
"likes": 245158,
"comments": 385,
"media_url": "https://scontent.cdninstagram.com/v/t51.2885-15/…jpg",
"thumbnail_url": "https://scontent.cdninstagram.com/v/t51.2885-15/…jpg",
"width": 1080,
"height": 856,
"taken_at": "2026-07-31T18:41:36.000Z"
}
]
}
}