SEC EDGAR Scraper
Spider read sec.gov in 107 ms without a browser and returned 80 lines of clean markdown, including sections like "Quick Links", "Latest News" and "Upcoming Events".
A **.gov** website belongs to an official government organization in the United States.## Quick LinksWe work together to make a positive impact on America’s economy, our capital markets, and people’s lives.Check Rulemaking Activity](https://sec.gov/rules-regulations/rulemaking-activity)Search EDGAR](https://www.sec.gov/edgar/search/)Crypto Task Force](https://sec.gov/securities-topics/crypto-task-force)View Commission Votes](https://sec.gov/about/commission-votes)Read Enforcement News](https://sec.gov/newsroom/whats-new?type=news,secarticle,link&tag=36696)Submit your Filings](https://sec.gov/submit-filings)Check Investment Professionals](https://www.investor.gov/introduction-investing/getting-started/working-investment-professional/check-out-your-investment)Enviar un Dato - Recursos en Español](https://sec.gov/submit-tip-or-complaint/tips-complaints-resources/enviar-un-dato-recursos-en-espanol-spanish)Material Matters With SEC Chairman Paul AtkinsThe work at the U.S. Securities and Exchange Commission impacts everyday investors, business owners, and even entire economies. Yet for many, the SEC remains something of a mystery. In the SEC’s new podcast, Material Matters, Chairman Paul Atkins hosts conversations with leading experts, breaking down the complexities of financial regulation and advancing a free-market agenda.## Latest NewsSEC Establishes Financial Reporting and Accounting Unit in Enforcement DivisionSEC Announces Continuation of Small Business Advisory Committee Meeting## Upcoming EventsSEC Meetings and Other EventsSmall Business Capital Formation Advisory Committee MeetingThe SEC's Small Business Capital Formation Advisory Committee is resuming a prior meeting to continue its exploration into modernizing public market access and encouraging IPOs and small public company capital formation.## SEC Rulemaking The same call, in code.
The capture above came back as markdown. These examples add a key, so you get browser rendering, proxies, and concurrency on sec.gov.
import { SpiderBrowser } from "spider-browser";
const spider = new SpiderBrowser({
apiKey: process.env.SPIDER_API_KEY!,
});
await spider.connect();
const page = spider.page!;
await page.goto("https://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK=0000320193&type=10-K&dateb=&owner=include&count=10");
// No selectors, no schema. Spider reads the page and names the fields.
const data = await page.scrape();
console.log(data);
await spider.close(); import { SpiderBrowser } from "spider-browser";
const spider = new SpiderBrowser({
apiKey: process.env.SPIDER_API_KEY!,
});
await spider.connect();
const page = spider.page!;
await page.goto("https://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK=0000320193&type=10-K&dateb=&owner=include&count=10");
await page.content();
const data = await page.evaluate(`(() => {
const filings = [];
document.querySelectorAll("table.tableFile2 tbody tr").forEach(el => {
const type = el.querySelector("td:nth-child(1)")?.textContent?.trim();
const description = el.querySelector("td:nth-child(2) a")?.textContent?.trim();
const filed = el.querySelector("td:nth-child(4)")?.textContent?.trim();
const link = el.querySelector("td:nth-child(2) a")?.getAttribute("href");
if (type) filings.push({ type, description, filed, link });
});
return JSON.stringify({ total: filings.length, filings });
})()`);
console.log(JSON.parse(data));
await spider.close(); Ready for volume? Get an API key →
Fields you can pull.
Spider names these from the page. The capture above came back as markdown; the same
call with return_format: "json" returns them as keys.
What sec.gov costs to scrape.
The capture above cost $0.000352 to fetch. Pricing is $1 per GB of pre-transformation bandwidth plus $0.001 per CPU minute, so a page like this one lands at a fraction of a cent. Failed requests are billed at $0.
- Free balance on signup
- No card required to test
- Balance never expires
Run it keyless, no account
More Finance scrapers.
Yahoo Finance Scraper
Extract stock quotes, financial statements, analyst ratings, and market news from Yahoo Finance.
Google Finance Scraper
Extract stock quotes, market indices, and financial news from Google Finance.
CoinGecko Scraper
Extract cryptocurrency prices, market caps, volume data, and historical charts from CoinGecko.
Start scraping sec.gov.
You already have the call. A key raises the rate limit and turns on browser rendering, proxies, and concurrency. Balance never expires, and top-ups go through secure checkout.