Instagram data API and MCP for AI agents
TollNode gives Claude, Cursor or any AI agent live public Instagram data (profiles, posts, hashtags and comments) over API and MCP, from $0.005 per call, no login.
Ask in plain words, like 'pull National Geographic's follower count and latest posts', and get a clean table back in seconds.
No subscription · Sign-up optional · From $0.005 per call · Charged only when it works · No Instagram login needed
Before I pitch a partnership, pull National Geographic's Instagram stats
TollNode · Instagram · profile$0.005 · 1 profile · 4.8 s
| Metric | Value |
|---|---|
| Followers | 268,178,344 |
| Following | 195 |
| Posts | 32,152 |
| Verified | Yes |
Real result.
What your agent can pull from Instagram
- from $0.005
Profile
Instagram profile data API
Followers, following, post count and bio for one account.
- Account
- National Geographic
- Followers
- 268,178,344
- Following
- 195
- Posts
- 32,152
- Verified
- Yes
You get
- username: the handle
- full name: the display name
- biography: the bio text
- followersCount: follower count
- followsCount: accounts followed
- postsCount: total posts
- verified: has the blue check
- isBusinessAccount: set up as a business
- businessCategoryName: listed business category
- externalUrl: link in bio
- profilePicUrlHD: full-size profile photo
- from $0.033
Posts and hashtags
Latest 10 posts from an account or hashtag, with likes and captions.
- Caption
- The Antarctic climate may be harsh, but this huddle of emperor penguins makes it look like a cozy affair.
- Likes
- 87,445
- Comments
- 144
- Date
- Nov 5, 2026
- Type
- Image
You get
- type: image, video or carousel
- caption: the post text
- hashtags: tags used in the post
- mentions: accounts tagged
- likesCount: like count
- commentsCount: comment count
- videoViewCount: views, for video posts
- timestamp: when it was posted
- displayUrl: image or video file link
- url: link to the post
- from $0.064
Comments
20 comments on a post or reel, with likes and reply counts.
- Post
- National Geographic, a recent photo
- Comment
- I neeeeeed it
- Author
- @o…
- Posted
- Nov 12, 2026
- Likes
- 0
You get
- text: the comment text
- username: who posted it
- likesCount: likes on the comment
- repliesCount: number of replies
- timestamp: when it was posted
Every result is structured JSON your agent can sort, filter, summarize or turn into a spreadsheet.
What people ask their AI to do with it
Brand partnerships
Check a creator's reach before a deal
“Pull @emma.chamberlain's Instagram stats and her last 10 posts' engagement”
profile + posts
Cost today$0.038
Marketing
See what a hashtag is posting right now
“What's trending in the #vanlife hashtag on Instagram this week?”
posts
Cost today$0.033
PR and comms
Read reactions to a brand's latest post
“Pull the comments on Nike's latest Instagram post”
posts + comments
Cost today$0.097
Competitive research
Compare two brands' Instagram following
“Compare Instagram followers and post counts for Peloton and Mirror”
2 × profile
Cost today$0.010
Sales outreach
Vet an account before reaching out
“Is @smallbatchroasters.co a real business account? Check its bio and followers”
profile
Cost today$0.005
Journalism
Find what people say about a viral post
“Grab the top comments on this Instagram reel and summarize the reactions”
comments
Cost today$0.064
Use it as an Instagram MCP server in Claude, Cursor or Codex
Connect once. Then just ask.
Paste this into Claude Code, Cursor or Codex. It connects TollNode and gives your agent a small wallet. Add a few dollars of USDC and you're done.
npx agentcash add https://tollnode.comCopy for your AI agent
Paste this into your agent so it knows what this node does and how to call it.
You can use TollNode's Instagram node to look up public Instagram data. Call POST https://tollnode.com/api/v1/nodes/instagram with an "action" and its fields. Actions: profile (username), posts (url, works for an account or a hashtag page), comments (postUrl). Each action has its own price and is charged only when it returns a result. Over MCP, call the "instagram" tool; use list_models to see prices. Return results as tables when I ask for lists.3 actions, one node
Send action plus the fields that action needs, to the same address. Each action has its own price, charged only when it returns a result. Leave out action and you get profile.
- profile$0.005
Size and profile of an account. Username, name, bio, followers, following, post count, verified and business flags, business category, website and profile picture..
needs: username
- posts$0.033
Latest posts of an account or hashtag. 10 posts: type, caption, hashtags, mentions, likes, comment count, video views, date, image or video links and post URL. No commenter identities..
needs: url
- comments$0.064
20 comments on a post or reel. 20 comments: text, username, likes, reply count and date..
needs: postUrl
{"action":"profile","username":"natgeo"}{"action":"posts","url":"https://www.instagram.com/natgeo/"}POST either body to https://tollnode.com/api/v1/nodes/instagram. From an AI assistant you don't write this yourself: ask in plain words and it picks the action.
Charged only when a call returns a result. Failed or empty calls cost $0.
Instagram data without a scraper or login
No subscription, no credit packs
Pay per action: a profile lookup is $0.005, 10 posts are $0.033.
No scraper to run, no Instagram account, no cookies, no browser extension
Your own account is never touched.
Only charged when it works
If a username isn't found or a post has no comments, it costs nothing.
One connection, much more than Instagram
The same setup also gives your agent TikTok, YouTube, Facebook and Google data.
FAQ
- Is this the official Instagram API?
- No. Instagram's official Graph API only covers accounts you manage and needs an approved Meta app. TollNode returns public Instagram data for any public account through its own API and MCP server, priced per call.
- Can I use it as an Instagram MCP server in Claude?
- Yes. Add https://tollnode.com/mcp in Claude Code, Claude Desktop or Cursor, and the "instagram" tool appears with every action and its price.
- Do I need an Instagram account?
- No. Your agent calls TollNode, and you never log in to Instagram or share cookies.
- Can it see private accounts?
- No. Only public profile data is returned. A private account comes back empty and you're not charged.
- What if a username doesn't exist?
- You're not charged. The response says nothing was found, so your agent can try a different handle.
- How many posts or comments come back per call?
- The posts action returns up to 10 posts, and comments returns up to 20 comments per call.
- Can I get comments on an older post?
- Yes, as long as the post is public. Give your agent the post URL and it calls comments on it.
Works well with
- TikTok data: profiles, videos, hashtagsCheck the same creator or brand on TikTokfrom $0.004
- YouTube data: search, channels, transcriptsSee their channel, videos and view countsfrom $0.005
- Facebook data: pages, posts, reviews, eventsPull their Facebook page and reviews toofrom $0.013
- Meta ad library searchSee what ads a brand is running on Meta$0.022
Ready in a minute
Connect your AIFor developers: endpoint, inputs and an example response
POST https://tollnode.com/api/v1/nodes/instagram
Input
| Field | Type | Notes |
|---|---|---|
| url | string | Public account or hashtag URL, e.g. https://www.instagram.com/natgeo/ (for: posts) |
| action* | enum | What to do; sets the price. profile (needs username), posts (needs url), comments (needs postUrl). Default profile (profile, posts, comments) |
| postUrl | string | An Instagram post or reel URL (for: comments) |
| username | string | The account's username without @, e.g. natgeo (for: profile) |
Example response
{
"results": [
{
"id": "787132",
"url": "https://www.instagram.com/natgeo",
"fbid": "17841400573960012",
"private": false,
"fullName": "National Geographic",
"inputUrl": "https://www.instagram.com/natgeo",
"username": "natgeo",
"verified": true,
"biography": "Step into wonder and find your inner explorer with National Geographic 🌎",
"postsCount": 32152,
"externalUrl": "http://visitstore.bio/natgeo",
"followsCount": 195,
"profilePicUrl": "https://scontent-mad1-1.cdninstagram.com/v/t51.82787-19/683576066_18653628823019133_9051036240972105113_n.jpg?stp=dst…",
"followersCount": 268178344,
"profilePicUrlHD": "https://scontent-mad1-1.cdninstagram.com/v/t51.82787-19/683576066_18653628823019133_9051036240972105113_n.jpg?_nc_cat…",
"latestIgtvVideos": [],
"isBusinessAccount": true,
"externalUrlShimmed": "https://l.instagram.com/?u=http%3A%2F%2Fvisitstore.bio%2Fnatgeo&e=AUDtrtaywlSbKRQDFQSGmxf3H7GPq1ptTIyy2ohzoUgJRd-rwPM…",
"businessCategoryName": "None"
}
]
}Also described in the OpenAPI file and llms.txt. Setup for every app: Agents & MCP.