Social media5 min readBy Purrkey teamUpdated

Apify alternatives for agents: fixed social media endpoints billed per call

Choose between Instagram profile, posts, comments and TikTok comment and keyword endpoints for an agent that pulls social data on demand, with per call prices

On this page

You have a handful of Instagram and TikTok accounts to check each week and need their profiles, post lists and comment pages without running or hosting scraper code. Readers searching for Apify alternatives usually want a fixed endpoint for social data with a price per call

The deliverable is a weekly worksheet: a row per account or shortlisted post, the endpoint used, the planned call count and the output you keep. No run has been executed for this guide, so the table below is a design

The task and the deliverable table design

This guide is for an operator, researcher or developer who needs a repeatable pull for a small set of accounts. The agent makes the calls through Purrkey; you keep the worksheet and decide which rows need another call

Example rows, with invented placeholder accounts. Values here are placeholders showing the shape

AccountEndpointPlanned callsOutput to keepDecision
acme-plumbing.exampleanyapi.instagram.profilea callProfile summaryKeep for follower and bio check
acme-dental.exampleanyapi.instagram.user_posts1 pagePost listReview content list
acme-dental.exampleanyapi.instagram.post_comments1 pageComment page for a shortlisted postKeep if post is shortlisted
acme-cafe.exampleanyapi.tiktok.search_keyworda keyword callVideo list for a keywordChoose videos for shortlist
acme-cafe.exampleanyapi.tiktok.video_comments1 pageComment page for a shortlisted videoKeep if video is shortlisted

The .example labels are placeholders. Swap in real Instagram and TikTok account handles before running. The table is a design, not a result

The candidate tools on Purrkey

The catalog lists five endpoints for this job. Prices are per call

ToolReturnsPrice per callPick it when
anyapi.instagram.profileOne Instagram profile$0.0024You need follower counts and bio
anyapi.instagram.user_postsOne page of an Instagram account's posts$0.0036The deliverable is a content list
anyapi.instagram.post_commentsOne page of comments on an Instagram post$0.018The post is already on your shortlist
anyapi.tiktok.search_keywordTikTok videos for a keyword$0.0036You need to find videos before choosing a shortlist
anyapi.tiktok.video_commentsOne page of comments on a TikTok video$0.0036The video is already on your shortlist

The profile call uses the catalog path POST /v1/runs with toolId anyapi.instagram.profile. A call cannot return more than one page for posts, comments or video comments, so a larger job needs repeated calls for the same account or post

How to choose for this task

Start with the profile endpoint when the question is who an account is and how large its audience is. The profile return is the follower count and bio you need for an initial pass

Use anyapi.instagram.user_posts when the deliverable is a content list. A call returns one page of an account's posts, so plan a page count for each account you keep

Use anyapi.instagram.post_comments only after you have shortlisted posts. It is the most expensive call in this set at $0.018, and it returns one page, so a wide pull over many posts adds cost quickly. Shortlist before calling comments

For TikTok, use anyapi.tiktok.search_keyword to find videos for a keyword, then call anyapi.tiktok.video_comments on the shortlist. Video comments are billed at $0.0036 per page, so the shortlist rule matters more than the page count

A practical order for a weekly pass:

  1. Call profiles for the accounts on your list.
  2. Call user posts for accounts that need a content list.
  3. Shortlist posts, then call post comments on that shortlist.
  4. Call TikTok keyword search, shortlist videos, then call video comments on that shortlist.

The agent prompt

Agent prompt
Set up https://purrkey.app/SKILL.md, then use Purrkey to pull a weekly worksheet for the example Instagram and TikTok accounts. Check the current inputs and price of anyapi.instagram.profile, anyapi.instagram.user_posts, anyapi.instagram.post_comments, anyapi.tiktok.search_keyword and anyapi.tiktok.video_comments before running anything. Call the profile endpoint for each account. Call the posts endpoint for one page per account that needs a content list. Shortlist posts before calling post comments. Run a TikTok keyword search, shortlist videos, then call video comments on the shortlist. Return a table with account, endpoint, planned calls, output to keep and decision. Do not invent output fields.

Example accounts: acme-plumbing.example, acme-dental.example, acme-cafe.example

Replace the example accounts with real handles. Keep the early run small so you can see how many pages each account needs

Estimated tool cost

Prices were read from the public catalog in November 2026 and are listed as ceiling per call: Maximum per call. Successful runs settle at the actual AnyAPI charge, so the table is a ceiling

StepFormulaUnit pricePlanned quantityTotal
Instagram profilescalls x price$0.0024 per call20$0.048
Instagram post pagescalls x price$0.0036 per call20$0.072
Instagram comment pagescalls x price$0.018 per call10$0.18
TikTok comment pagescalls x price$0.0036 per call20$0.072

Agent model fees are not counted

Next action

Open the Instagram tool page at https://purrkey.app/tools/instagram and start with a profile call for an account on your weekly list

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.
Explore Instagram tools and pricing

FAQ

How do I pull Instagram and TikTok data with an agent without scraper code?

Use Purrkey tool ids such as anyapi.instagram.profile and anyapi.tiktok.search_keyword, and have the agent check the current inputs and price before a run. The calls are billed per call at the listed prices.

Which tool returns an Instagram profile?

anyapi.instagram.profile returns one Instagram profile. The catalog lists it at $0.0024 per call.

When should I use anyapi.instagram.user_posts?

Use it when the deliverable is a content list. A call returns one page of an Instagram account's posts.

Why call anyapi.instagram.post_comments only on shortlisted posts?

It is the most expensive call in this set at $0.018 and returns one page of comments. Shortlisting before the call keeps the call count down.

How do I find TikTok videos for a keyword?

Call anyapi.tiktok.search_keyword, which returns TikTok videos for a keyword. The catalog lists it at $0.0036 per call.

How much do the planned calls cost?

The plan uses 20 profile calls at $0.0024, 20 post page calls at $0.0036, 10 Instagram comment page calls at $0.018 and 20 TikTok comment page calls at $0.0036. Row totals are $0.048, $0.072, $0.18 and $0.072.

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.

See Instagram tools

Share this article