SocialCrawl

Monitor and endpoint reference

Watch a list of accounts on one schedule

One Monitor re-reads up to 1,000 accounts on one schedule and sends only posts it has not sent before.

A list job re-reads a list of accounts on one schedule and delivers only the posts it has not delivered before. Send subjects in place of a single subject in params:

cURL
curl -X POST 'https://www.socialcrawl.dev/v1/monitors' \
  -H 'x-api-key: YOUR_API_KEY' \
  -H 'Content-Type: application/json' \
  -d '{
    "recipe": "tiktok/profile/videos",
    "subjects": ["nasa", "esa", "spacex"],
    "cadence": "daily",
    "webhook_url": "https://example.com/hooks/socialcrawl"
  }'
  • The recipe must be a newest-first feed that takes stop_at_id: tiktok/profile/videos, youtube/channel/videos, youtube/channel/shorts, twitter/user/tweets, threads/user/posts, instagram/profile/posts, instagram/profile/reels and facebook/profile/posts. Any other recipe is refused for free.
  • Each subject is an account's handle, or a page URL on facebook/profile/posts. To list ids instead (user_id, channelId, pageId), set subject_param to that name. The other params in params apply to every subject.
  • A list holds up to 1,000 subjects. Your plan caps the subjects across all your active lists: 100 on Free, 1,000 on Starter, 10,000 on Growth and 100,000 on Pro. A list does not use one of your Monitor slots.

The schedule, the webhook and its signature work as on any Monitor: see Monitor webhooks.

What a run costs

Each run pays a list premium of 1 credit per 100 subjects, at least 1, plus the pages it reads at the recipe's own price. Each subject is read with stop_at_id set to the newest post already delivered, so a subject with nothing new costs one page and a post is never paid for twice. A subject that posted more than a page since the last run walks up to 5 pages. Its first read is one page. A read that fails is not charged, and a run where every read failed is refunded in full. POST /v1/monitors?dry_run=1 returns the quote: estimated_cost_per_run is one page a subject plus the premium, and max_cost_per_run is every subject walking 5 pages.

What a delivery holds

The webhook body has "event": "monitor.list.run", a list object with the counts (subjects, subjects_ok, subjects_failed, rows_new), and rows, each { "subject": "nasa", "row": { ... } } with the post in the recipe's own shape. The first part also carries subjects, one entry per subject with its status (ok, not_found or error), rows_new, first_read and more_available. A run with more than 500 new rows is sent in parts: list.part and list.parts number them, and every part repeats the run_id. A pinned post is delivered once and not again. Leave webhook_url out to collect the rows yourself: GET /v1/monitors/{monitor_id}/runs?include=result returns each run's new rows (up to 5,000 a run).

Edit the list

PATCH /v1/monitors/{monitor_id} with subjects replaces the list, or with add_subjects and remove_subjects changes it. A subject that stays keeps its place, so it is never delivered twice. GET /v1/monitors/{monitor_id}/subjects lists each subject with last_seen_id, last_status and last_read_at. Editing is free.

On this page

Ready to build?

Start getting social data for free and scale as your project grows. No credit card needed.