Get startups that raised a seed round this week, in Python
This script asks the Recent Funding API for every seed round announced in the last 7 days and prints the date, company, amount, investors and the article each amount comes from.
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 os, datetime, requests
KEY = os.environ["RF_KEY"] # free key: https://recentfunding.com/dashboard/
since = (datetime.date.today() - datetime.timedelta(days=7)).isoformat()
r = requests.get(
"https://recentfunding.com/api/v1/rounds",
params={"since": since, "stage": "seed", "limit": 100},
headers={"Authorization": f"Bearer {KEY}"},
timeout=30,
)
r.raise_for_status()
data = r.json()
for rnd in data["rounds"]:
amount = f"${float(rnd['amount_usd']):,.0f}" if rnd["amount_usd"] else "undisclosed"
print(rnd["announced_at"][:10], rnd["name"], amount, ", ".join(rnd["investors"]), rnd["source_url"])
if data.get("access", {}).get("delayed_days"):
print("Free key: rounds from the last", data["access"]["delayed_days"], "days are left out")
Change stage to pre-seed, series-a or series-b+, or add min_amount=5000000 for rounds of five million dollars and up. /api/v1/rounds lists rounds whose source states an amount; /api/v1/companies also has the undisclosed ones.
Endpoints used
- List recent funding rounds
GET /api/v1/rounds