Real-Time Social Lookups for Marketers: Server Actor or Scheduled TikTok/X Run?

Real-Time Social Lookups for Marketers: Server Actor or Scheduled TikTok/X Run?

Apify announced general availability of Server Actors at its first user conference, Run, in mid-November. The pitch, as VMblog reported it, is “a new way to deploy always-ready services” for “AI agent tool calls, real-time applications, and high-frequency data lookups… without starting a new execution for each interaction.”

If you run marketing ops or do social analysis, should your TikTok and X data come from something that answers instantly, or is the once-a-day scheduled run you already have good enough? For most teams it’s both, used for different jobs, and the price gap between them is smaller than you’d guess.

Two jobs that look alike

The first job is the lead check. A new lead lands in your CRM. Maybe it’s a creator you might sponsor, and someone wants to know right away what they post on TikTok and X and whether anyone engages. Volume is low and unpredictable, and a sales rep is waiting.

The second is the daily sweep. Every morning you want the last day’s posts for your brand name, two competitors and a campaign hashtag, dropped into a sheet. Nobody cares whether it finishes at 6:02 or 6:09.

The sweep is a batch job, and that’s what classic Actors were built for. Apify’s own Server Actors announcement describes regular Actors as writing results to a dataset, with “1,000 Facebook pages overnight” as the example. A Server Actor (the feature used to be called Actor Standby mode) returns results directly in the HTTP response and stores nothing. The lead check feels like a job for one, but you may not need it.

Run-sync: a batch Actor that answers in one request

The TikTok and X scrapers I use for this are regular batch Actors, not Server Actors. You can still call them and get the data back in a single request, through the run-sync-get-dataset-items endpoint:

POST https://api.apify.com/v2/acts/xtdata~twitter-x-scraper/run-sync-get-dataset-items

It starts a run, waits for it to finish and hands back the items. According to the API docs, it waits at most 300 seconds, and “If the Actor run exceeds 300 seconds, the HTTP response will return the 408 status code.” Note the username~actor-name format in the URL.

For a lead check that pulls a few dozen tweets or a page of TikTok results, that’s usually plenty.

A Server Actor makes sense when the lookup sits inside something that has to respond quickly and often, like a chat assistant your team queries all day or an AI agent calling tools mid-conversation. Those URLs look like this, per the Server Actors docs:

https://<username>--<actor-name>.apify.actor

For example, Apify’s Web Search and Web Fetch run as multi-tenant Server Actors.

Before you wire one into a workflow, know the limits in the docs. The first response has to arrive within 5 minutes. If no run can pick up your request within 2 minutes you’ll get an HTTP 429, and there’s a per-account rate limit reported in the X-RateLimit-Limit header.

My rule of thumb: if a person triggers the lookup and can wait a minute or two, use run-sync on a batch Actor. If software triggers it many times an hour and needs an answer in the flow, look for a Server Actor. If nobody is waiting, schedule it.

The cost math

All prices below are free-tier pay-per-event rates at the time of writing (November 23, 2026). Check each Actor’s pricing tab before you budget.

Lead check on X

Twitter X Scraper charges $0.005 per tweet on the free tier, dropping to $0.00025 on GOLD and above. Pull the latest 20 tweets per lead with maxItems: 20:

  • 20 tweets × $0.005 = $0.10 per lead
  • 200 leads a month = $20

On a GOLD plan the same 200 leads cost 200 × 20 × $0.00025 = $1.

Daily TikTok sweep

Advanced Search TikTok API charges $0.0004 per result. Three keywords (brand, competitor, campaign hashtag), 100 results each, publishTime: "YESTERDAY":

  • 300 results × $0.0004 = $0.12 a day
  • About $3.60 over a 30-day month

Two charges can move that number. A query that returns fewer results than requested is billed $0.0025 as a “less result query,” and turning on fetchUserBio adds $0.006 per user lookup. On a niche hashtag that often comes back thin, the short-query fee can cost more than the results, so check a week of runs before you settle the budget.

If the lead is a TikTok creator, TikTok Scraper Ultimate adds their videos at $0.0003 each plus $0.003 per “special query”, so 50 videos cost $0.015 before special queries.

A Server Actor for comparison

Web Search is $0.005 per result. Multi-tenant Server Actors are pay-per-event only and don’t count against your memory or concurrency limits, so you pay per answer. Single-tenant ones bill platform usage, including idle time, on top of events.

At marketing-team volumes, every option here costs a few dollars a month at most, so I’d pick based on how much plumbing you’re willing to maintain.

No-code setup in n8n, Make or Zapier

All three tools have an HTTP request step, which is all you need. For the lead check:

  1. Trigger on “new contact” (or “new deal”) in your CRM.
  2. Add an HTTP request step: method POST, URL https://api.apify.com/v2/acts/xtdata~twitter-x-scraper/run-sync-get-dataset-items.
  3. Add a header Authorization: Bearer YOUR_APIFY_TOKEN, using your tool’s credential store rather than pasting the token into the step.
  4. Send a JSON body like {"twitterHandles": ["somebrand"], "maxItems": 20, "sort": "Latest"}.
  5. Set the step timeout above 300 seconds so your tool doesn’t give up before Apify does, and route a 408 to a “try again later” branch.
  6. Map a few fields back to the CRM record or post a short summary to Slack.

For the TikTok sweep, swap the URL for https://api.apify.com/v2/acts/novi~advanced-search-tiktok-api/run-sync-get-dataset-items and the body for something like {"keywords": ["yourbrand", "competitor"], "limit": 100, "publishTime": "YESTERDAY", "sortType": 0}. Put a daily schedule trigger in front and a Google Sheets “append rows” step behind it.

If you later move a lookup to a Server Actor, the step barely changes. The URL becomes the https://<username>--<actor-name>.apify.actor address with whatever path the Actor documents, and the same Bearer header works. The platform strips the token before the request reaches the Actor.

Ad-hoc questions with Claude

A question like “what are people posting under our new campaign hashtag this week?” doesn’t need a workflow. The Apify plugin in Claude’s directory covers it. VMblog reports it was among the 50 most-used plugins as of October 31, 2026, with more than 57,000 lifetime installs.

With it connected, you can ask Claude in plain language to run Advanced Search TikTok API for a keyword over the last week, or pull recent tweets from three handles with Twitter X Scraper, and summarize what comes back. Ask it to show you the input it plans to send, so you can catch a limit of 1,000 before it runs.

After the November incident: a token checklist

On November 12 BleepingComputer reported unauthorized access to Apify systems on November 9 and 10, detected the next day at 12:13 UTC. Apify rotated API tokens and Apify Proxy passwords, reset sessions, required users to reset 2FA and revoked GitHub OAuth connections. The rotation applies across Apify’s roughly 80,000 customers. Reports differ on whether customer data was accessed. The first report said there was no sign of it, while later coverage says otherwise, and there’s no post-mortem yet. Watch status.apify.com for the official account.

Any workflow like these that existed before the rotation stopped working when the tokens changed. Here’s my cleanup order:

  • Copy the new token from the Apify Console and update it in every n8n, Make and Zapier credential, including old ones you forgot about.
  • Reset 2FA on your Apify account if you haven’t already.
  • Reconnect GitHub if you build or deploy Actors from a repo, and re-check any other integrations that broke at the same time.
  • Replace the full-access token in your automations with scoped ones. Under Console > API & Integrations > “Limit token permissions” you can restrict a token to running a single Actor or reading a single dataset (how scoped tokens work). Server Actors accept scoped tokens too.
  • Give each workflow its own token, so the next time one leaks you revoke one and leave the rest running.

The lead-check workflow only needs permission to run one Actor. If it had been scoped that way from the start, a leak of that token would have mattered a lot less.