
Instagram posts
Get the 10 latest public posts from an Instagram account or hashtag: caption, likes, comment count, date, media links and post URL. No login or key needed.
POST /api/v1/nodes/instagram-posts
Is this the right node?
- Use it when
- You need what a brand or creator has posted recently and how it performed.
- Not for
- Private accounts, follower lists or direct messages.
- You get
- 10 posts: type, caption, hashtags, mentions, likes, comment count, video views, date, image or video links and post URL. No commenter identities.
- Typical time
- About 20 seconds per call
How it works
Your agent pays for itself

1Needs something

2Finds it on TollNode

3Pays a few cents

4Gets the result
Two ways to use Instagram posts
Way 1 · Pay per call (x402)
For AI agents, no sign-up
Your agent sends the request, gets a 402 with the exact price ($0.033 per search (up to 10 posts)), signs a USDC payment on Base and retries. Nothing is collected unless the call succeeds.
npx agentcash add https://tollnode.comnpx agentcash@latest fetch https://tollnode.com/api/v1/nodes/instagram-posts -m POST -b '{"url":"https://www.instagram.com/natgeo/"}'Way 2 · Account + API key
For apps and teams
Create a free account, load a balance with USDC on Base, create an API key and call any node. Same prices; each successful call is deducted from your balance.
curl -X POST https://tollnode.com/api/v1/nodes/instagram-posts \
-H "Authorization: Bearer $TOLLNODE_API_KEY" \
-H "content-type: application/json" \
-d '{"url":"https://www.instagram.com/natgeo/"}'Step-by-step, with code in JavaScript and Python: full guide for Instagram posts.
Input
| Field | Type | Notes |
|---|---|---|
| url* | string | Public account or hashtag URL, e.g. https://www.instagram.com/natgeo/ |
Example response
{
"results": [
{
"id": "4022807145326573303",
"alt": "Photo by National Geographic on November 04, 2026. May be an image of emperor penguin and text.",
"url": "https://www.instagram.com/p/DfT4cjxF_b3/",
"type": "Image",
"images": [],
"caption": "The Antarctic climate may be harsh, but this huddle of emperor penguins makes it look like a cozy affair.\n\nPhotograph…",
"ownerId": "787132",
"hashtags": [],
"isPinned": false,
"mentions": [],
"shortCode": "DfT4cjxF_b3",
"timestamp": "2026-11-05T02:00:01.000Z",
"childPosts": [],
"displayUrl": "https://scontent-lhr6-1.cdninstagram.com/v/t51.82787-15/889977404_18715578586019133_378692361415586386_n.jpg?stp=dst-…",
"likesCount": 87445,
"productType": "feed",
"commentsCount": 144,
"originalWidth": 1440,
"ownerFullName": "National Geographic",
"ownerUsername": "natgeo",
"originalHeight": 968,
"videoViewCount": null,
"dimensionsWidth": 1440,
"paidPartnership": false,
"dimensionsHeight": 968,
"isCommentsDisabled": false
}
]
}FAQ
- When should an agent use the Instagram posts node?
- You need what a brand or creator has posted recently and how it performed. It is not meant for private accounts, follower lists or direct messages. A call usually takes about 20 seconds.
- What does the Instagram posts node return?
- Get the 10 latest public posts from an Instagram account or hashtag: caption, likes, comment count, date, media links and post URL. No login or key needed. Each call returns 10 posts: type, caption, hashtags, mentions, likes, comment count, video views, date, image or video links and post URL. No commenter identities.
- How much does one call cost?
- $0.033 in USDC on Base per search (up to 10 posts) (one call = up to 10 posts), charged only when it succeeds. No sign-up, subscription or API key.
- What happens if the call fails?
- You are not charged. TollNode checks your signed payment first, runs the node, and only collects the payment if the result is usable. A failed, empty or timed-out call is never settled, so there is nothing to refund.
- How does an AI agent pay?
- With x402. The first request returns HTTP 402 and the exact price. Any x402 wallet signs the USDC payment and retries automatically. In Claude Code or Cursor, run npx agentcash add https://tollnode.com once.
- Can I use an API key instead?
- Yes. Create a free account, add funds in USDC on Base, create an API key and send it as Authorization: Bearer. Each successful call is deducted from your balance at the same price; failed calls cost nothing.