Instagram Profile Posts API - Real-Time, No Login avatar

Instagram Profile Posts API - Real-Time, No Login

Pricing

from $0.40 / 1,000 post scrapeds

Go to Apify Store
Instagram Profile Posts API - Real-Time, No Login

Instagram Profile Posts API - Real-Time, No Login

Get a public Instagram profile and its latest posts in one HTTP request: followers, bio, links, plus each post's caption, date, likes, comments, reel plays, engagement rate, media URLs, music, tags and location. Date, type and likes filters, cursor paging. From code, n8n, Make and AI agents (MCP).

Pricing

from $0.40 / 1,000 post scrapeds

Rating

0.0

(0)

Developer

Top Api

Top Api

Maintained by Community

Actor stats

0

Bookmarked

1

Total users

1

Monthly active users

5 days ago

Last modified

Features

Limited permissionsMulti-tenantServer interface

Share

๐Ÿ“ธ Instagram Profile Posts API - Real-Time, No Login

Instagram Profile Posts API returns a public Instagram profile and its latest posts in one HTTP request: no run to start, no dataset to fetch. It is an Apify Server Actor, so it also works as a tool for AI agents (MCP) and as one HTTP Request step in n8n, Make or Zapier.

Send a username (or a profile URL) and get back the profile summary (followers, following, bio, bio links, verified and business flags, category, HD avatar) followed by up to 50 posts, newest first: caption, hashtags, mentions, date, likes, comments, reel plays, engagement rate, image / video / audio URLs, carousel items, music, tagged users, co-authors and location. You pay per post and per profile summary returned; a profile that does not exist costs nothing.

โœจ What you get

  • ๐Ÿ‘ค Profile summary: username, full name, bio, external URL and every bio link, followers, following, verified, private, business / professional flags, category, business address (when shown), avatar and HD avatar
  • ๐Ÿ“ Posts: caption, hashtags, mentions, alt text, publish time, edited flag
  • โค๏ธ Engagement: likes, comments, likes + comments, engagement rate against the owner's followers
  • โ–ถ๏ธ Reels: play count on every reel, plays per follower, duration; video view counts on request
  • ๐Ÿ–ผ๏ธ Media: largest image, every image size, video URL, audio-only URL, carousel items with their own media
  • ๐ŸŽต Music on reels, ๐Ÿท๏ธ tagged users, co-authors, sponsors and paid-partnership flag, ๐Ÿ“ location
  • ๐Ÿ“Œ Pinned posts flagged (or skipped with skipPinnedPosts)
  • ๐Ÿ’ฌ Latest comments per post on request
  • ๐Ÿงญ Filters: date window, post type (images, videos, carousels, reels), minimum likes, skip pinned
  • ๐Ÿ“„ Paging: meta.nextCursor returns the next posts of the same profile, with no gap and no repeat
  • ๐Ÿ”‘ No Instagram account, no cookies, no API key of yours (only your Apify token)

๐Ÿš€ How to call it

Every request needs your Apify API token in the Authorization header.

GET

curl "https://topapi--instagram-profile-posts-api.apify.actor/profile?username=nasa&maxPosts=12" \
-H "Authorization: Bearer <YOUR_APIFY_TOKEN>"

POST

curl -X POST "https://topapi--instagram-profile-posts-api.apify.actor/profile" \
-H "Authorization: Bearer <YOUR_APIFY_TOKEN>" -H "Content-Type: application/json" \
-d '{"username": "https://www.instagram.com/natgeo/", "postType": "reel", "onlyPostsNewerThan": "30 days", "maxPosts": 20}'

Python

import requests
URL = "https://topapi--instagram-profile-posts-api.apify.actor/profile"
HEADERS = {"Authorization": "Bearer <YOUR_APIFY_TOKEN>"}
params = {"username": "nasa", "maxPosts": 50}
profile, posts = None, []
for _ in range(3): # up to 150 posts
r = requests.get(URL, params=params, headers=HEADERS, timeout=180)
data = r.json()
if r.status_code != 200:
print(r.status_code, data["error"]["type"]); break
for item in data["items"]:
if item["type"] == "Profile":
profile = item
else:
posts.append(item)
if not data["meta"]["nextCursor"]:
break
params.update(cursor=data["meta"]["nextCursor"], includeProfile="false")
print(profile["followersCount"] if profile else None, len(posts), "posts")

JavaScript

const res = await fetch(
'https://topapi--instagram-profile-posts-api.apify.actor/profile?username=nasa&maxPosts=12',
{ headers: { Authorization: `Bearer ${process.env.APIFY_TOKEN}` } },
);
const { items, meta } = await res.json();
const [profile, ...posts] = items; // the profile summary comes first
console.log(profile.followersCount, posts.length, meta.nextCursor);

n8n, Make, Zapier

One HTTP Request step: method GET, URL https://topapi--instagram-profile-posts-api.apify.actor/profile, query parameters username and maxPosts, header Authorization = Bearer <YOUR_APIFY_TOKEN>. The profile and the posts are items (the profile is the item with type = Profile).

AI agents (MCP)

MCP server URL: https://topapi--instagram-profile-posts-api.apify.actor/mcp (Streamable HTTP, header Authorization: Bearer <YOUR_APIFY_TOKEN>). Tool: get_profile_posts, same parameters as the HTTP endpoint. Use compact: true to give the model only the core post fields.

โš™๏ธ Parameters

ParameterTypeDefaultWhat it does
usernamestringrequiredA username (nasa, @nasa) or a profile URL (https://www.instagram.com/nasa/). Also accepted as user, profile, profileUrl, url, handle.
maxPostsinteger12Posts to return, 0-50, newest first after the pinned posts. 0 = the profile summary only.
includeProfilebooleantrueReturn the profile summary as the first item.
postTypeall | image | video | carousel | reelallOne kind of post. reel reads the profile's Reels tab (every reel, plays on each); video = videos and reels.
onlyPostsNewerThanstringOnly posts published on or after: 2026-09-01, an ISO time, 7 days, 2 months, today or a day count. Also since.
onlyPostsOlderThanstringOnly posts published before this time (same formats). Also until.
minLikesinteger0Only posts with at least this many likes (posts whose owner hides likes are kept).
skipPinnedPostsbooleanfalseLeave out the posts pinned to the top of the profile.
includeVideoViewCountbooleanfalseAdd videoViewCount on videos and reels (one extra page per video, slower). Reel plays are always included.
includeLatestCommentsbooleanfalseAdd up to 12 latest comments per post (latestComments, firstComment). They come with each post's own answer.
compactbooleanfalseCore post fields only, for AI agents.
cursorstringThe previous response's meta.nextCursor, with the same username and postType, to read further.

GET / lists the endpoints; the Server tab in Console shows the OpenAPI description.

๐Ÿ“ฆ Response

A real answer to GET /profile?username=nasa&maxPosts=3 (2026-11-18), trimmed: the profile summary, then the first of the three posts (a pinned reel).

{
"ok": true,
"count": 4,
"items": [
{
"type": "Profile",
"id": "528817151",
"username": "nasa",
"url": "https://www.instagram.com/nasa/",
"fullName": "NASA",
"biography": "Making the seemingly impossible, possible. โœจ",
"externalUrl": "https://www.nasa.gov",
"bioLinks": [{ "title": "NASA.gov Homepage", "url": "https://www.nasa.gov", "linkType": "external", "isPinned": false }],
"followersCount": 104327346,
"followsCount": 91,
"postsCount": null,
"isPrivate": false,
"isVerified": true,
"isBusinessAccount": false,
"isProfessionalAccount": true,
"profilePicUrlHD": "https://scontent-atl3-1.cdninstagram.com/v/t51.2885-19/29090066_159271...",
"hasActiveStory": true,
"highlightReelCount": 6,
"hasClips": true
},
{
"id": "4025327901360909266",
"type": "Video",
"shortCode": "Dfc1mYxFevS",
"url": "https://www.instagram.com/reel/Dfc1mYxFevS/",
"caption": "Apply to become an astronaut!\n\nWe've opened applications to join NASA'...",
"hashtags": ["nasa", "astronaut", "jobsearch"],
"timestamp": "2026-11-07T18:35:41.000Z",
"likesCount": 102238,
"commentsCount": 1516,
"engagementCount": 103754,
"engagementRate": 0.099,
"videoPlayCount": 4221508,
"playsPerFollower": 0.0405,
"displayUrl": "https://scontent-atl3-1.cdninstagram.com/v/t51.82787-15/892262107_1866...",
"videoUrl": "https://scontent-atl3-2.cdninstagram.com/o1/v/t2/f2/m86/AQOaFZSzCK2cDi...",
"audioUrl": "https://scontent-atl3-1.cdninstagram.com/o1/v/t2/f2/m78/AQNz9NHMV_haV1...",
"videoDuration": 63.467,
"productType": "clips",
"isPinned": true,
"musicInfo": { "audioType": "original_sounds", "songName": "Original audio" },
"ownerUsername": "nasa",
"ownerFollowersCount": 104327346,
"searchSource": "profile"
}
],
"meta": {
"username": "nasa", "followers": 104327346, "private": false, "posts": 3, "profileIncluded": true,
"pages": 1, "read": 12, "detailCalls": 3, "filtered": {}, "unavailable": 0, "stopReason": "max_posts",
"nextCursor": "eyJ2IjoxLCJ1IjoibmFzYSIsInMiOiJnIiwiYSI6bnVsbCwibyI6M30",
"charged": { "profile-summary": 1, "post-scraped": 3 }, "ms": 1882
}
}
FieldFilled (141 posts and 11 profile reads from 7 public profiles, 2026-11-18)
id, shortCode, url, type, timestamp, caption, likesCount, commentsCount, displayUrl, images, ownerUsername, ownerFullName, ownerProfilePicUrl100%
videoUrl, videoDuration, musicInfo59% (every video and reel)
audioUrl57%
videoPlayCountevery reel of the profile's own (from its Reels tab)
engagementRateevery post of the profile's own (not on collab posts made from another account)
hashtags, mentions52%, 57% (posts that use them)
taggedUsers, coauthorProducers48%, 39%
childPosts21% (carousels)
locationName4% (posts tagged at a place)
latestComments, videoViewCountwith includeLatestComments / includeVideoViewCount (3 of 3 in the test)
Profile: username, fullName, followersCount, followsCount, externalUrl, bioLinks, profilePicUrlHD, isVerified100%
Profile: biography91%
Profile: businessCategoryName, businessAddresswhen the account shows them (9% and 0% of this sample)
Profile: postsCountnever (Instagram hides it from signed-out visitors)

๐Ÿงพ Status codes (and what is charged)

HTTPerror.typeMeaningCharged
200Profile summary and / or posts returnedprofile-summary per summary, post-scraped per post
200 + meta.private: trueA private account: its public summary only (with includeProfile)profile-summary only
400invalid-input, invalid-cursorBad parameter, date or cursor (a post link instead of a profile, maxPosts over 50...)No
404profile-not-foundNo Instagram profile with this usernameNo
404private-accountPrivate account and includeProfile=false: nothing public to returnNo
404no-postsThe profile has no public posts, or none passed your filters; error.meta shows what was readNo
410cursor-expiredInstagram no longer accepts that cursor: start again without itNo
429too-many-requestsMore than 6 of your requests in flight at onceNo
503blocked, timeoutInstagram refused or did not answer; retryNo

๐Ÿ’ฐ Pricing

EventPrice
Post returned (post-scraped)$0.0004 ($0.40 per 1,000)
Profile summary returned (profile-summary)$0.001

A default call (profile + 12 posts) costs $0.0058. No start fee. Nothing is charged for 4xx or 503 answers.

๐Ÿ—ƒ๏ธ Batch runs (input interface)

You can also start the actor as a normal run with lists of profiles, hashtags or post URLs: monitor mode (only new or changed posts), keyword filters, Reels-tab mode and one dataset row per post, exactly like a batch scraper. Use the HTTP endpoint for one profile at a time.

โฑ๏ธ Speed (measured on Apify, 2026-11-18)

  • Profile summary only (maxPosts=0): 0.4-0.5 s on a warm server
  • 1 post: 0.8-0.9 s; profile + 12 posts: 2-4.5 s; profile + 50 posts: 10-15 s
  • First request after a quiet spell: add 2-5 s while the server starts and opens an Instagram session
  • 8 requests at once (four of them 50 posts): all answered in full, 6-16 s each

โš ๏ธ Limits

  • Public profiles only. A private account returns its public summary (meta.private: true) and no posts.
  • Instagram does not show signed-out visitors the profile's total post count: postsCount is null. Share counts are signed-in only and are not returned.
  • Posts come from the profile grid, newest first after up to three pinned posts. Pinned posts are recognised by date (a pinned post within 48 hours of the newest post cannot be told apart).
  • Reel plays come from the profile's Reels tab; a collab reel posted from another account may have no play count.
  • engagementRate is filled only for the profile's own posts (a collab post's follower base is the co-author's).
  • Image and video URLs are signed Instagram CDN links that expire after a few days: download what you keep.
  • At most 50 posts and 25 grid pages per request; continue with meta.nextCursor.

โ“ FAQ

Do I need an Instagram account or cookies?

No. The actor reads what Instagram shows a signed-out visitor. You only need your Apify token.

What does a call cost?

$0.0004 per post returned plus $0.001 for the profile summary. The default call (12 posts + profile) is $0.0058. maxPosts=0 returns the profile summary alone for $0.001; includeProfile=false skips it.

How do I get more than 50 posts?

Repeat the request with cursor set to the previous response's meta.nextCursor (and includeProfile=false so the summary is not bought twice). The cursor continues exactly where the last response stopped.

How do I get only reels?

postType=reel reads the profile's Reels tab: every reel with its play, like and comment counts, caption, date, video, audio and music.

How do I get only this week's posts?

onlyPostsNewerThan=7 days (or a date such as 2026-11-01). The profile is read newest first, so the request stops as soon as it passes the start of the window.

Yes: https://www.instagram.com/nasa/, instagram.com/nasa/reels/, @nasa and nasa all work. A post or reel link answers 400: this endpoint takes profiles.

What happens with a private or missing account?

A missing username answers 404 profile-not-found and is free. A private account answers its public summary with meta.private: true (charged as one profile summary), or 404 private-account when includeProfile=false.

Why is a post's videoViewCount empty?

Instagram's view counter comes from a separate page per video: add includeVideoViewCount=true. Reel plays (videoPlayCount) are always included.

Can AI agents use it?

Yes, as the MCP tool get_profile_posts at /mcp. compact=true keeps the answer small.

The actor reads only public data that Instagram shows to any signed-out visitor. Profiles and posts can contain personal data: use it in line with the GDPR and other laws that apply to you, and for legitimate purposes.