How to fetch an Instagram account's live stories
Fetch a public Instagram account's currently live stories with media URL, owner, and posting time by username
On this page
You have 12 public Instagram handles to check before a weekend campaign and need each account's currently live stories. Pull the story items into one table so you can decide which posts are still active and worth monitoring. The table below is a design, not a run; values are placeholders showing the shape
Example input and table design
One handle can return several story items, so the table can have several rows with the same username
| username | id | createdUtc | mediaUrl | permalink | durationSeconds | checkedAt |
|---|---|---|---|---|---|---|
| brooklynmuseum | (story id) | (Unix seconds) | (media URL) | (permalink) | (number or null) | (your timestamp) |
Values here are placeholders showing the shape
Input and routing
anyapi.instagram.stories_thin takes username, the public Instagram handle without the @. Agents call it through POST /v1/runs with toolId anyapi.instagram.stories_thin. The requireFields input is optional. Omit it and routing is unchanged, with the cheapest source serving. Fields you do not name are still returned whenever the serving source has them
Name durationSeconds in requireFields only if you need video duration. That array accepts durationSeconds as an enum value. Naming a field can raise your price: when the cheapest source cannot return a named field, a dearer source serves, and you are quoted and charged its price. A named field can still be absent on a story that genuinely lacks it. Naming a combination that no single source returns together is refused as invalid input, with no charge
This tool returns only currently live stories
How to read the output
found is true when stories were found and false when the lookup returned nothing. data holds the items array, or is null when nothing was found. Each item can carry id, mediaUrl, permalink, username, createdUtc, durationSeconds, displayName, avatarUrl and verified. The fields id, mediaUrl, permalink and username are populated whenever the provider has data for the entity. displayName and avatarUrl describe the owner, and verified is true when the owner's account carries a verified badge. The item schema requires id. createdUtc is posting time in Unix seconds. durationSeconds is video duration in seconds, and it is null on a photo story or when the source does not report it
Use the fields like this. id is the row key. createdUtc orders the stories. mediaUrl opens the image or video. permalink gives the public story link. durationSeconds tells you the video length when it is present. username confirms the owner. If found is false, reason is not_found; that answer is a successful call, not an error, and costUsd is what it actually cost. Leave the story columns empty for that handle
The agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to fetch currently live stories for the 12 public Instagram handles in my list. Check the current inputs and price of anyapi.instagram.stories_thin before running anything. Call it once per handle with username set to the public handle without @. Omit requireFields unless I ask for video duration. Return a table with username, id, createdUtc, mediaUrl, permalink, durationSeconds and checkedAt. If found is false, leave the story columns empty and include reason as not_found. Do not invent rows.
Example handle: brooklynmuseum
Add the other 11 handles here before running.Replace the example handle with your own. Keep the first run to 3 handles if you want a short check before the full list of 12
Estimated tool cost
Prices are from the Purrkey catalog, read November 13, 2026. The unit is max_call: Maximum per call. Successful runs settle at the actual AnyAPI charge
| Step | Formula | Unit price | Planned quantity | Total |
|---|---|---|---|---|
| Check one account | calls x max_call | up to $0.018 per call | 1 | $0.018 |
| Check 12 accounts | calls x max_call | up to $0.018 per call | 12 | $0.216 |
Each total is a ceiling. Model fees for the agent are not counted
Next action
Open the anyapi.instagram.stories_thin tool page to check the current catalog entry before you run the 12 handles
Get started by giving this to your agent
- Claude Code
- Codex
- Gemini CLI
- Cursor
- GitHub Copilot
Set up https://purrkey.app/SKILL.md, then use Purrkey to show me what I can do with Instagram.FAQ
How do I fetch an Instagram account's live stories by username?
Call anyapi.instagram.stories_thin with the public handle in username, without the @. The response has found and a data wrapper with story items when stories are found.
What inputs does anyapi.instagram.stories_thin take?
username is required. requireFields is optional and accepts durationSeconds; omit it for cheapest routing.
What output fields does anyapi.instagram.stories_thin return?
The response has found, data and, when found is false, reason. Story items can include id, createdUtc, mediaUrl, permalink, durationSeconds, username, displayName, avatarUrl and verified.
What does found false mean for Instagram stories?
found is false when the lookup returned nothing. It is a successful call, not an error, and costUsd is what it actually cost. reason is not_found.
What does max_call mean in the price?
Maximum per call. Successful runs settle at the actual AnyAPI charge.
How much does it cost to check 12 Instagram accounts for live stories?
At up to $0.018 per call, 12 calls are at most $0.216. One call is at most $0.018.
Can I get video duration from anyapi.instagram.stories_thin?
durationSeconds is an output field and can be named in requireFields. It is null on a photo story, or when the source does not report it. Naming it can raise price if a dearer source serves.
Next step
Try this with Instagram
The tool directory lists every endpoint with its current price. Inspect the inputs there, then let your agent run a small batch before scaling up.