TollNode

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

Claude Code

Before I pitch a partnership, pull National Geographic's Instagram stats

TollNode · Instagram · profile$0.005 · 1 profile · 4.8 s

MetricValue
Followers268,178,344
Following195
Posts32,152
VerifiedYes

Real result.

Works in Claude Code, Cursor, Codex, VS Code and any MCP agent.

What your agent can pull from Instagram

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

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.

terminal
npx agentcash add https://tollnode.com

Copy for your AI agent

Paste this into your agent so it knows what this node does and how to call it.

prompt
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

request body: profile
{"action":"profile","username":"natgeo"}
request body: posts
{"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

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.

Ready in a minute

Connect your AI
For developers: endpoint, inputs and an example response

POST https://tollnode.com/api/v1/nodes/instagram

Input

FieldTypeNotes
urlstringPublic account or hashtag URL, e.g. https://www.instagram.com/natgeo/ (for: posts)
action*enumWhat to do; sets the price. profile (needs username), posts (needs url), comments (needs postUrl). Default profile (profile, posts, comments)
postUrlstringAn Instagram post or reel URL (for: comments)
usernamestringThe 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.