Quickstart

Live SEC filings in under 5 minutes.

1. Get your API key

Sign up free, then copy your key from the dashboard. No credit card required.

2. Install the SDK

Works with JavaScript and TypeScript — Node.js, Deno, Bun, and edge runtimes. TypeScript types included, no @types package needed.

npm install sec-daily-api
index.ts
import { SecDailyAPI } from "sec-daily-api";

const client = new SecDailyAPI({ apiKey: process.env.SEC_DAILY_API_KEY });

const { filings } = await client.getFilings({
  ticker: "AAPL",
  formTypes: ["8-K"],
  limit: 5,
});

for (const filing of filings) {
  console.log(filing.filingDateInEst, filing.formType, filing.entity?.name);
}

3. Try it live

Paste your API key into the Try it tab below and click Run to fire a live request.

GET /filings — latest Apple 8-Ks
import { SecDailyAPI } from "sec-daily-api";

const client = new SecDailyAPI({ apiKey: process.env.SEC_DAILY_API_KEY });

const { filings } = await client.getFilings({
  ticker: "AAPL",
  formTypes: ["8-K"],
  limit: 5,
});

for (const filing of filings) {
  console.log(filing.filingDateInEst, filing.formType, filing.entity?.name);
}
Response
{
  "filings": [
    {
      "id": "6442f28e...",
      "formType": "8-K",
      "filingDateInEst": "2024-10-15",
      "filingTimeInEst": "2024-10-15T17:29:51-0400",
      "entity": {
        "name": "Apple Inc.",
        "ticker": "AAPL",
        "exchange": "Nasdaq"
      }
    }
  ],
  "count": 5,
  "pagination": { "hasMore": true, "nextCursor": "eyJzdHJhdGVneSI6..." }
}

Ready to start building?

Get your free API key — 1,000 requests/month, no credit card required.

Get API Key →