SocialCrawl

Cookbooks

Watch keywords on Reddit, X, TikTok and YouTube, and pay nothing for a check that finds nothing new

Search your terms on four platforms on a schedule. Repeats that find nothing new are free

Send your terms to four searches, and get back only the posts you have not seen. Each search carries a seen name you choose. A repeat drops every post you already received under that name, and a page with nothing new costs nothing.

Measured on 23/11/2026: the first search for "solar eclipse" cost 1 credit on each of Reddit, X, TikTok and YouTube. Repeats that found nothing new cost 0 credits on all four.

Start in five minutes

Set your key once. Every block on this page reads it.

Terminal
export SOCIALCRAWL_API_KEY=YOUR_API_KEY

Paste this prompt into your coding agent:

Prompt
Read https://www.socialcrawl.dev/docs/recipes/keyword-watch.md and follow it to watch "solar eclipse" and "aurora forecast" on Reddit, X, TikTok and YouTube. Use the key in SOCIALCRAWL_API_KEY. Send seen=sky-watch on every search. Price the listener with a dry run first and show me credits_per_month. Never create it without a max_credits_per_month cap I have agreed to.

Or run the first search yourself:

cURL
curl -G "https://www.socialcrawl.dev/v1/reddit/search" \
  -H "x-api-key: $SOCIALCRAWL_API_KEY" \
  --data-urlencode "query=solar eclipse" \
  --data-urlencode "sort=new" \
  --data-urlencode "seen=sky-watch"

How it works

  • seen is a name you choose, up to 64 letters, digits, dots, dashes or underscores.
  • Every post you receive under that name is remembered for 24 hours from the last call that used it.
  • A later search with the same name leaves those posts off the page.
  • The page price falls with the share of repeats. A page of nothing but repeats is free.
  • One name can cover all four platforms and every term of one watch.

What you need

CallWhat it givesCredits
GET /v1/reddit/searchReddit posts for a term, newest first with sort=new1 a page
GET /v1/twitter/search/tweetsPosts on X for a term1 a page
GET /v1/tiktok/searchTikTok videos for a term1 a page
GET /v1/youtube/searchYouTube videos for a term1 a page
POST /v1/listening/streams?dry_run=1The monthly price of the same watch as a listener0

Steps

Step 1: search each platform with seen

cURL
curl -G "https://www.socialcrawl.dev/v1/tiktok/search" \
  -H "x-api-key: $SOCIALCRAWL_API_KEY" \
  --data-urlencode "query=solar eclipse" \
  --data-urlencode "seen=sky-watch"
Python
import json, os, urllib.request

url = "https://www.socialcrawl.dev/v1/tiktok/search?query=solar+eclipse&seen=sky-watch"
req = urllib.request.Request(url, headers={"x-api-key": os.environ["SOCIALCRAWL_API_KEY"]})
page = json.load(urllib.request.urlopen(req, timeout=120))
print(len(page["data"]["items"]), page["credits_used"], page["data"]["walk"]["repeats"])
  • Send the same request to the other three paths in the table. Only the path changes.
  • On Reddit, add sort=new, so the newest posts come first.
  • data.walk.repeats counts the posts left off because you had them already.

Step 2: repeat on a schedule

Run the same four searches again from cron or any scheduler, with the same seen name.

Response (trimmed)
{
  "data": {
    "items": [],
    "walk": { "pages": 1, "rows_fetched": 40, "rows_returned": 0, "repeats": 40, "credits": { "pages": 1, "refunded": 1 } }
  },
  "credits_used": 0
}
  • A page with no new post comes back empty, and the credit for it is refunded.
  • A page with some new posts is billed in proportion to them, rounded up. On 23/11/2026 a TikTok repeat held 12 new videos out of 40 and cost 1 credit.

Step 3: keep the new posts

Store each post you receive by its post.id. The seen memory lasts 24 hours, so your own store is what stops a repeat after a quiet day.

Store only what is new

  • Key each row on post.id. The four platforms use different id formats, so key on the platform and the id together.
  • Use one seen name per watch. A second watch with its own terms should get its own name.
  • Search at least once a day. After 24 hours without a call, the name forgets what you received.
  • Keep sort=new on Reddit. Without it, older posts can come back once the memory ends.

What it costs

Each page costs what a page of that search costs, less the share of repeats on it. The roster lists every price.

What the runs measured on 23/11/2026:

RunPlatformCredits
First search, "solar eclipse"Reddit, X, TikTok, YouTube1 each
A repeat with nothing newReddit, X, TikTok, YouTube0 each
A repeat with 12 new videos of 40TikTok1
The listener dry runAll four0

Run this every day

A listener runs the same watch for you on a schedule. It delivers each new post once, as a mention, and never spends past its monthly cap. Price it with a dry run, which creates nothing:

cURL
curl -X POST "https://www.socialcrawl.dev/v1/listening/streams?dry_run=1" \
  -H "x-api-key: $SOCIALCRAWL_API_KEY" \
  -H "content-type: application/json" \
  -d '{"keywords": ["solar eclipse", "aurora forecast"], "platforms": ["reddit", "twitter", "tiktok", "youtube"], "schedule": {"every": "6h", "name": "Sky watch"}}'
  • On 23/11/2026 this dry run quoted 960 credits a month: 8 searches a check, 4 checks a day.
  • It recommended a cap of 2,728 credits a month, for the months when checks read three pages.
  • Send the same body without dry_run=1, with schedule.max_credits_per_month set to your cap, to create it.
  • On Reddit, X and YouTube a check that finds nothing new is refunded. TikTok returns top results, so its page is billed on every check.

Tips, and what not to use

  • Use seen, not since, to keep a quiet check free. A page emptied by since is still billed, because the page was fetched.
  • Quote phrases on Reddit. Words in a query match any of them, so a phrase in double quotes is narrower.
  • Keep the watch's terms in one place. The same name and the same terms on every run keep the repeats free.
  • Read Listening before you create a listener with boolean rules or named accounts.

Copy it

Full program and agent brief

Next steps