RECENT FUNDING
  1. Recent Funding
  2. API
  3. Recipes
  4. Fetch the latest startup funding rounds in JavaScript

Fetch the latest startup funding rounds in JavaScript

Node 18+ has fetch built in. Set RF_KEY to your key and run it as an ES module (node rounds.mjs). The API sends CORS headers, so the same call works from a browser, but keep keys out of public pages.

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.
const res = await fetch("https://recentfunding.com/api/v1/rounds?stage=pre-seed&limit=50", {
  headers: { Authorization: `Bearer ${process.env.RF_KEY}` },
});
if (!res.ok) throw new Error(`Recent Funding API: HTTP ${res.status}`);
const { rounds, next_offset } = await res.json();
for (const r of rounds) {
  console.log(r.announced_at.slice(0, 10), r.name, Number(r.amount_usd).toLocaleString("en-US"), r.investors.join(", "), r.source_url);
}
// More: pass &offset=${next_offset} while next_offset is not null.

Every list endpoint pages the same way: limit and offset, with next_offset in the answer until the last page.

Endpoints used