Tutorial: Monitor news & RSS

Pull the latest items from any feed (or discover a site's feeds) and poll on a schedule.

Discover feeds on a site

curl -X POST ".../v1/actors/feed-discovery/run-sync-get-dataset-items" \
  -H "X-API-Key: vk_live_..." -H "Content-Type: application/json" \
  -d '{"url":"https://techcrunch.com"}'

Read a feed

curl -X POST ".../v1/actors/rss-reader/run-sync-get-dataset-items" \
  -H "X-API-Key: vk_live_..." -H "Content-Type: application/json" \
  -d '{"feed_url":"https://techcrunch.com/feed/","limit":20}'

items is a list of { title, link, published, summary }.

Poll on a schedule (Python)

seen = set()
for item in call_rss(feed_url)["items"]:
    if item["link"] not in seen:
        seen.add(item["link"])
        notify(item)   # Slack, email, DB — your call

Run it on a cron / scheduled task. Cache seen links so you only act on new posts.