How to list an Instagram account's reposted posts
Get the posts a public Instagram account has reposted, with captions, authors, dates, and engagement counts for review
On this page
You have 30 public Instagram accounts to review and need the first page of reposted posts for each one to see which accounts amplify campaign content. The deliverable is a table with one row per repost and a target account column that ties each row back to the account you queried
No run has been executed for this guide. Values here are placeholders showing the shape
The task and the table you build
Start with data.posts from the first page for each account. The table below is the design: id, url, author, caption, likes, comments, createdUtc and a target account column. Example labels are invented and the post values are placeholders
| id | url | author | caption | likes | comments | createdUtc | targetAccount |
|---|---|---|---|---|---|---|---|
| (post id) | (post URL) | (author username) | (caption text) | (integer) | (integer) | (Unix seconds) | example_account_a |
| (post id) | (post URL) | (author username) | (caption text) | (integer) | (integer) | (Unix seconds) | example_account_a |
The target account column is your label for the account being reviewed, not a field returned by the tool. Keep the post rows sorted as the response returns them, newest first, and do not merge rows across accounts
Input: the account id and the optional cursor
Agents call it through POST /v1/runs with toolId anyapi.instagram.user_reposts. The input includes userId and can include cursor. userId is required and is Instagram's numeric account id as a string. cursor is optional and takes the nextCursor value from a previous response
Example input: userId set to 987654321. Treat that value as a placeholder and replace it with the numeric id for the account you are reviewing
Only public Instagram accounts are covered. The tool cannot return reposts for a private account, so check that each of the 30 targets is public before you spend a call. This limit sits on the input step because it decides whether the call can return data
Reading the output for the outreach decision
The response has found and data. When found is false, reason says not_found, and the call is still a successful call: costUsd reports what it cost. When found is true, data.posts holds the reposted posts and data.nextCursor holds the cursor for the next page or null when there are no more pages
For each post, author is the username of the account that posted it, without the @ symbol. Use author to see whose content the target account is amplifying. caption, hashtags and mentions are where a campaign match becomes visible. likes and comments give the engagement counts for the row. createdUtc is a UTC epoch timestamp in seconds, so multiply by 1000 for a JS Date in milliseconds. url is the canonical post URL to open for review, and id is the post's numeric media ID as a string
A row with high likes and comments is not a priority by itself. The decision is which accounts amplify campaign content, so read caption, hashtags and mentions first, then use engagement counts and createdUtc to rank the rows you keep. If an account returns found: false, it contributes no post rows; record the target account and the not_found reason in your notes
For a separate feed of recent posts rather than reposts, see list Instagram account recent posts
The agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to list the first page of reposted posts for 30 public Instagram accounts. Check the current inputs and price of anyapi.instagram.user_reposts before running anything. Use each account's numeric userId from instagram.profile. Do not pass a cursor and do not follow nextCursor; this run is first page only. Return a table with one row per repost and columns id, url, author, caption, likes, comments, createdUtc and targetAccount. If found is false, add a note with targetAccount and reason instead of post rows. Do not guess ids and do not send messages.
Target accounts (replace the example line with your 30 ids):
example_account_a, 987654321Replace the example line with your own account labels and ids. The example value is a placeholder, not a claim about a real account
Estimated tool cost
Prices from the Purrkey catalog, read November 13, 2026. The listing uses the unit max_call, which means Maximum per call. Successful runs settle at the actual AnyAPI charge. The totals below are ceilings
| Step | Formula | Unit price | Planned quantity | Total |
|---|---|---|---|---|
| Single account first page | calls x max price | $0.0012 per call | 1 | $0.0012 |
| 30-account review | calls x max price | $0.0012 per call | 30 | $0.036 |
| 40-account review | calls x max price | $0.0012 per call | 40 | $0.048 |
The 30-account review is one first-page call per account. The 40-account row is a larger batch. Model fees for the agent are not counted
Start with one account
Run the first page for one public account, inspect the row shape and the found value, then expand to the 30-account list. Open anyapi.instagram.user_reposts to check the current inputs and price before the run
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 list an Instagram account's reposted posts?
Call anyapi.instagram.user_reposts with the account's numeric userId. The response returns data.posts newest first and data.nextCursor for pagination.
What does userId need to be?
It is Instagram's numeric account id as a string, as returned by instagram.profile. The example value 987654321 is a placeholder.
What fields does anyapi.instagram.user_reposts return for each repost?
Each post includes id, url, author, caption, likes, comments and createdUtc, and can include hashtags and mentions.
How do I get the next page of reposts?
Read data.nextCursor from the response and pass it back as cursor. A null nextCursor means there are no more pages.
What happens when an account has no reposts or is not found?
found is false with reason set to not_found; the call is successful and costUsd reports what it cost.
How much does it cost to check 30 Instagram accounts?
At the catalog maximum of $0.0012 per call, 30 first-page calls cost at most $0.036. A single first-page call is at most $0.0012.
Can I list reposts from a private Instagram account?
No. The tool covers public Instagram accounts only.
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.