1. Use cases
  2. Newsroom monitoring

Newsroom monitoring

Watch channels and accounts and get new items at a webhook.

The job

Desks follow sources, not feeds. Point a monitor at a channel or search and your tool receives each new item as it appears.

Endpoints

Failed requests and cached repeats cost 0 credits. Send max_age_days to accept a recent cached copy. See credits and caching.

EndpointReturnsCost
Telegram channel posts1 credit
Bluesky profile posts1 credit
YouTube search1 credit
X post search1 credit
Create a monitorFree

Recipe

  1. List the sources you follow.
  2. Create a monitor per source or search.
  3. Verify the signature on each delivery, then route it to the desk.
1import os2import requests34API = "https://api.socialscrape.dev"5HEADERS = {"x-api-key": os.environ["SOCIALSCRAPE_API_KEY"]}678def get(path, **params):9    res = requests.get(API + path, headers=HEADERS, params=params, timeout=60)10    res.raise_for_status()11    return res.json()["data"]1213# Telegram channel posts14posts = get("/v1/telegram/channel/posts", handle="telegram")15# YouTube search16fresh = get("/v1/youtube/search", query="breaking news", type="video", upload_date="hour", sort="latest")1718for p in posts["items"][:5]:19    print(p["published_at"], p["url"])20for v in fresh["items"][:5]:21    print(v["url"])

Calls use api.socialscrape.dev and return the shapes in the reference.

Good to know

Telegram returns web-preview pages only. Verification of what you find stays your job.

Related

Questions

How often does a monitor check?
You choose the interval. The limits are in the monitors guide.