Instagram Profile Posts API - Real-Time, No Login
Pricing
from $0.40 / 1,000 post scrapeds
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
Maintained by CommunityActor stats
0
Bookmarked
1
Total users
1
Monthly active users
5 days ago
Last modified
Categories
Features
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.nextCursorreturns 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 requestsURL = "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 postsr = requests.get(URL, params=params, headers=HEADERS, timeout=180)data = r.json()if r.status_code != 200:print(r.status_code, data["error"]["type"]); breakfor item in data["items"]:if item["type"] == "Profile":profile = itemelse:posts.append(item)if not data["meta"]["nextCursor"]:breakparams.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 firstconsole.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
| Parameter | Type | Default | What it does |
|---|---|---|---|
username | string | required | A username (nasa, @nasa) or a profile URL (https://www.instagram.com/nasa/). Also accepted as user, profile, profileUrl, url, handle. |
maxPosts | integer | 12 | Posts to return, 0-50, newest first after the pinned posts. 0 = the profile summary only. |
includeProfile | boolean | true | Return the profile summary as the first item. |
postType | all | image | video | carousel | reel | all | One kind of post. reel reads the profile's Reels tab (every reel, plays on each); video = videos and reels. |
onlyPostsNewerThan | string | Only posts published on or after: 2026-09-01, an ISO time, 7 days, 2 months, today or a day count. Also since. | |
onlyPostsOlderThan | string | Only posts published before this time (same formats). Also until. | |
minLikes | integer | 0 | Only posts with at least this many likes (posts whose owner hides likes are kept). |
skipPinnedPosts | boolean | false | Leave out the posts pinned to the top of the profile. |
includeVideoViewCount | boolean | false | Add videoViewCount on videos and reels (one extra page per video, slower). Reel plays are always included. |
includeLatestComments | boolean | false | Add up to 12 latest comments per post (latestComments, firstComment). They come with each post's own answer. |
compact | boolean | false | Core post fields only, for AI agents. |
cursor | string | The 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}}
| Field | Filled (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, ownerProfilePicUrl | 100% |
videoUrl, videoDuration, musicInfo | 59% (every video and reel) |
audioUrl | 57% |
videoPlayCount | every reel of the profile's own (from its Reels tab) |
engagementRate | every post of the profile's own (not on collab posts made from another account) |
hashtags, mentions | 52%, 57% (posts that use them) |
taggedUsers, coauthorProducers | 48%, 39% |
childPosts | 21% (carousels) |
locationName | 4% (posts tagged at a place) |
latestComments, videoViewCount | with includeLatestComments / includeVideoViewCount (3 of 3 in the test) |
Profile: username, fullName, followersCount, followsCount, externalUrl, bioLinks, profilePicUrlHD, isVerified | 100% |
Profile: biography | 91% |
Profile: businessCategoryName, businessAddress | when the account shows them (9% and 0% of this sample) |
Profile: postsCount | never (Instagram hides it from signed-out visitors) |
๐งพ Status codes (and what is charged)
| HTTP | error.type | Meaning | Charged |
|---|---|---|---|
200 | Profile summary and / or posts returned | profile-summary per summary, post-scraped per post | |
200 + meta.private: true | A private account: its public summary only (with includeProfile) | profile-summary only | |
400 | invalid-input, invalid-cursor | Bad parameter, date or cursor (a post link instead of a profile, maxPosts over 50...) | No |
404 | profile-not-found | No Instagram profile with this username | No |
404 | private-account | Private account and includeProfile=false: nothing public to return | No |
404 | no-posts | The profile has no public posts, or none passed your filters; error.meta shows what was read | No |
410 | cursor-expired | Instagram no longer accepts that cursor: start again without it | No |
429 | too-many-requests | More than 6 of your requests in flight at once | No |
503 | blocked, timeout | Instagram refused or did not answer; retry | No |
๐ฐ Pricing
| Event | Price |
|---|---|
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:
postsCountisnull. 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.
engagementRateis 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.
Can I paste a profile link instead of a username?
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.
Is this legal?
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.