RECENT FUNDING
  1. Recent Funding
  2. API
  3. Recipes
  4. Post new startup funding rounds to Slack

Post new startup funding rounds to Slack

Create a Slack incoming webhook, set SLACK_WEBHOOK and RF_KEY, and run this every hour (cron, GitHub Actions or any scheduler). It remembers what it already posted in a small file.

Every request needs an API key: get one free with just an email (50 calls a day; Free shows data at least 14 days old). Pay as you go or Pro for the newest rounds and stealth startups.
import json, os, pathlib, requests

seen_file = pathlib.Path("seen_rounds.json")
seen = set(json.loads(seen_file.read_text())) if seen_file.exists() else set()
d = requests.get("https://recentfunding.com/api/v1/rounds",
                 params={"stage": "seed", "min_amount": 2000000, "limit": 50},
                 headers={"Authorization": f"Bearer {os.environ['RF_KEY']}"}, timeout=30).json()
for r in reversed(d["rounds"]):
    key = f"{r['slug']}:{r['announced_at'][:10]}"
    if key in seen:
        continue
    text = f"*{r['name']}* raised ${float(r['amount_usd']):,.0f} ({r['stage']}) from {', '.join(r['investors']) or 'undisclosed investors'}: {r['source_url']}"
    requests.post(os.environ["SLACK_WEBHOOK"], json={"text": text}, timeout=30)
    seen.add(key)
seen_file.write_text(json.dumps(sorted(seen)))

On Pro and Max, the live feed pushes new rounds as they arrive instead of polling; see the docs.

Endpoints used