# SEC EDGAR Form D & 8-K Filings Parser (`rinchan-hoshino/edgar-formd-8k-filings-parser`) Actor

Parse official SEC EDGAR Form D private placement XML, decoded Form 8-K material event items, and 10-K/10-Q company filings into flat JSON with built-in Fair Access rate limiting.

- **URL**: https://apify.com/rinchan-hoshino/edgar-formd-8k-filings-parser.md
- **Developed by:** [Rin Hoshino](https://apify.com/rinchan-hoshino) (community)
- **Categories:** Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

Learn more: https://docs.apify.com/actors/store.md#pay-per-usage

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For examples already wired to this Actor's own input schema, see the [API](#api) section below.

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).

# README

## SEC EDGAR Form D & 8-K Filings Parser

Parse structured corporate disclosures directly from official U.S. SEC EDGAR JSON and XML APIs with zero browser overhead, zero proxy cost, and built-in Fair Access rate limiting.

Built for VC fundraising trackers, B2B sales trigger pipelines, quantitative research, and AI Agent or MCP workflows.

### What This Actor Extracts

#### 1. Startup & Private Fundings (`form_d`)

Reads newly filed SEC **Form D** and **Form D/A** private placement notices and parses each filing's official `primary_doc.xml` into flat JSON:

- **Issuer profile**: `issuerName`, `cik`, `entityType`, `yearOfIncorporation`, `jurisdictionOfInc`, `issuerCity`, `issuerState`, `industryGroupType`, `revenueRange`
- **Capital raised**: `totalOfferingAmount`, `totalAmountSold`, `totalRemaining`, `minimumInvestmentAccepted`, `dateOfFirstSale`, `totalNumberAlreadyInvested`
- **Security types & exemptions**: `isEquity`, `isDebt`, `isPooledInvestmentFund`, `federalExemptions`
- **Leadership (Zero Personal PII)**: `relatedPersons` with public executive/director `name`, `roles` (`Executive Officer`, `Director`, `Promoter`), and `clarification`. Residential street addresses, zip codes, and personal phone numbers are stripped by design.

#### 2. Corporate Material Events (`form_8k`)

Tracks **Form 8-K** disclosures by ticker/CIK list or full-market keyword search:

- Decodes SEC Item codes into readable labels (e.g., `Item 1.01: Entry into a Material Definitive Agreement`, `Item 2.01: Completion of Acquisition or Disposition of Assets`, `Item 5.02: Departure of Directors or Certain Officers`, `Item 1.05: Material Cybersecurity Incidents`).
- Optional `includeDocumentExcerpt: true` fetches the primary 8-K HTML and outputs a plain-text excerpt ready for downstream LLM pipelines.

#### 3. Company Filings Lookup (`company_filings`)

Resolves any U.S. stock ticker (e.g., `NVDA`, `AAPL`) or CIK via SEC's official `company_tickers.json` and extracts structured filing metadata and direct SEC EDGAR document URLs for **`10-K`, `10-Q`, `8-K`, `S-1`, `DEF 14A`, `Form 4`**, or any other SEC form type.

### Quick Start

Click **Start** with the prefilled input to pull recent technology Form D fundings alongside NVDA `10-K`/`10-Q`/`8-K` filings in a few seconds:

```json
{
  "modes": ["form_d", "company_filings"],
  "tickersOrCiks": ["NVDA"],
  "keyword": "technology",
  "formTypes": ["10-K", "10-Q", "8-K"],
  "daysBack": 30,
  "maxResults": 10,
  "failOnEmpty": true
}
```

#### Example Output: Form D Funding Record

```json
{
  "mode": "form_d",
  "formType": "D",
  "issuerName": "CoverX AI, Inc.",
  "cik": "0002131424",
  "ticker": null,
  "entityType": "Corporation",
  "yearOfIncorporation": "2025",
  "jurisdictionOfInc": "DELAWARE",
  "issuerCity": "SAN FRANCISCO",
  "issuerState": "CA",
  "industryGroupType": "Other Technology",
  "revenueRange": "Decline to Disclose",
  "totalOfferingAmount": 12000000,
  "totalAmountSold": 8500000,
  "totalRemaining": 3500000,
  "minimumInvestmentAccepted": 50000,
  "isEquity": true,
  "isDebt": false,
  "isPooledInvestmentFund": false,
  "federalExemptions": ["06b"],
  "dateOfFirstSale": "2026-11-10",
  "hasNonAccreditedInvestors": false,
  "totalNumberAlreadyInvested": 9,
  "relatedPersons": [
    {
      "name": "Jane Doe",
      "roles": ["Executive Officer", "Director"],
      "clarification": "CEO"
    }
  ],
  "filingDate": "2026-11-24",
  "accessionNumber": "0002131424-26-000002",
  "secFilingUrl": "https://www.sec.gov/Archives/edgar/data/2131424/000213142426000002/0002131424-26-000002-index.htm",
  "xmlUrl": "https://www.sec.gov/Archives/edgar/data/2131424/000213142426000002/primary_doc.xml",
  "extractedAt": "2026-11-25T12:15:00.000Z"
}
```

#### Example Output: 8-K Material Event Record

```json
{
  "mode": "form_8k",
  "formType": "8-K",
  "issuerName": "NVIDIA CORP",
  "cik": "0001045810",
  "ticker": "NVDA",
  "sic": "3674",
  "sicDescription": "Semiconductors & Related Devices",
  "issuerState": "CA",
  "filingDate": "2026-11-18",
  "reportDate": "2026-11-18",
  "accessionNumber": "0001045810-26-000123",
  "items": ["2.02", "9.01"],
  "itemLabels": [
    "Item 2.02: Results of Operations and Financial Condition",
    "Item 9.01: Financial Statements and Exhibits"
  ],
  "primaryDocDescription": "8-K",
  "documentExcerpt": "UNITED STATES SECURITIES AND EXCHANGE COMMISSION...",
  "secFilingUrl": "https://www.sec.gov/Archives/edgar/data/1045810/000104581026000123/nvda-20261118.htm",
  "secIndexUrl": "https://www.sec.gov/Archives/edgar/data/1045810/000104581026000123/0001045810-26-000123-index.htm",
  "extractedAt": "2026-11-25T12:15:00.000Z"
}
```

### AI Agent & MCP Integration

This Actor returns strongly typed, flat JSON records ready for **Apify MCP Server**, LangChain, CrewAI, and automated investment or sales agents:

- Use `form_d` with `keyword: "AI"` and `states: ["CA", "NY"]` to feed newly funded startups directly into CRM enrichment workflows.
- Use `form_8k` with `itemCodes: ["1.01", "2.01", "5.02"]` and `includeDocumentExcerpt: true` to alert analysts on M\&A deals, material contracts, and executive changes.
- Use `company_filings` with `tickersOrCiks` to retrieve canonical `10-K` and `10-Q` URLs for financial RAG pipelines.

### SEC Fair Access & Compliance

- **Built-in Rate Limiting**: Throttles requests to `<= 6 req/s` (within SEC EDGAR's 10 req/s Fair Access ceiling) with exponential backoff on HTTP `429` and `5xx`.
- **Custom User-Agent**: Ships with a compliant default `User-Agent` and allows specifying your own organization/contact email via the `userAgent` input field.
- **Zero Personal PII**: Extracts public corporate disclosures only; residential street addresses, zip codes, and personal phone numbers are excluded.

# Actor input Schema

## `modes` (type: `array`):

Select one or more modes to run: 'form_d' (startup and private fundings via Form D / D/A XML), 'form_8k' (corporate material events with decoded 8-K item labels), or 'company_filings' (10-K, 10-Q, S-1, DEF 14A, Form 4, etc. by ticker or CIK).

## `tickersOrCiks` (type: `array`):

List of US stock tickers (e.g. 'NVDA', 'AAPL') or CIK numbers (e.g. '0000320193'). Required for 'company_filings' mode; optional for 'form_8k' (leave empty for full-market 8-K search).

## `keyword` (type: `string`):

Search keyword or industry phrase for Form D and full-market 8-K discovery (e.g. 'technology', 'AI', 'acquisition', 'biotech'). Leave empty to fetch all latest filings.

## `states` (type: `array`):

Optional list of 2-letter US state codes to filter issuer business or incorporation state (e.g. \['CA', 'NY', 'DE', 'TX']).

## `formTypes` (type: `array`):

SEC form types to extract in 'company_filings' mode (e.g. \['10-K', '10-Q', '8-K', 'S-1', 'DEF 14A', '4']).

## `itemCodes` (type: `array`):

Optional list of 8-K item codes to filter by (e.g. \['1.01', '2.01', '5.02']). Only applies to 'form_8k' mode.

## `daysBack` (type: `integer`):

Number of days back from today to search when startDate is not specified.

## `startDate` (type: `string`):

Optional explicit start date in YYYY-MM-DD format. Overrides daysBack when provided.

## `endDate` (type: `string`):

Optional explicit end date in YYYY-MM-DD format. Defaults to today (UTC).

## `maxResults` (type: `integer`):

Maximum total number of filing records to extract across all selected modes.

## `includeDocumentExcerpt` (type: `boolean`):

When enabled in 'form_8k' mode, fetches the primary 8-K document and extracts a clean plain-text summary excerpt suitable for LLM and AI Agent analysis.

## `maxExcerptChars` (type: `integer`):

Maximum character length of the plain-text document excerpt when includeDocumentExcerpt is true.

## `userAgent` (type: `string`):

Optional custom User-Agent string following SEC Fair Access guidelines (e.g. 'MyCompanyApp/1.0 (ops@mycompany.com)'). Defaults to a compliant built-in identifier.

## `failOnEmpty` (type: `boolean`):

Fail the Actor run if 0 filings are extracted.

## Actor input object example

```json
{
  "modes": [
    "form_d",
    "company_filings"
  ],
  "tickersOrCiks": [
    "NVDA"
  ],
  "keyword": "technology",
  "states": [],
  "formTypes": [
    "10-K",
    "10-Q",
    "8-K"
  ],
  "itemCodes": [],
  "daysBack": 30,
  "maxResults": 10,
  "includeDocumentExcerpt": false,
  "maxExcerptChars": 2000,
  "failOnEmpty": true
}
```

# Actor output Schema

## `filings` (type: `string`):

Structured Form D private fundings, 8-K material corporate events, and 10-K/10-Q/S-1 company filings.

## `runSummary` (type: `string`):

Execution diagnostics, mode counts, rate-limit stats, and PPE billing summary saved to the default key-value store.

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "modes": [
        "form_d",
        "company_filings"
    ],
    "tickersOrCiks": [
        "NVDA"
    ],
    "keyword": "technology",
    "formTypes": [
        "10-K",
        "10-Q",
        "8-K"
    ],
    "daysBack": 30,
    "maxResults": 10,
    "failOnEmpty": true
};

// Run the Actor and wait for it to finish
const run = await client.actor("rinchan-hoshino/edgar-formd-8k-filings-parser").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = {
    "modes": [
        "form_d",
        "company_filings",
    ],
    "tickersOrCiks": ["NVDA"],
    "keyword": "technology",
    "formTypes": [
        "10-K",
        "10-Q",
        "8-K",
    ],
    "daysBack": 30,
    "maxResults": 10,
    "failOnEmpty": True,
}

# Run the Actor and wait for it to finish
run = client.actor("rinchan-hoshino/edgar-formd-8k-filings-parser").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "modes": [
    "form_d",
    "company_filings"
  ],
  "tickersOrCiks": [
    "NVDA"
  ],
  "keyword": "technology",
  "formTypes": [
    "10-K",
    "10-Q",
    "8-K"
  ],
  "daysBack": 30,
  "maxResults": 10,
  "failOnEmpty": true
}' |
apify call rinchan-hoshino/edgar-formd-8k-filings-parser --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,rinchan-hoshino/edgar-formd-8k-filings-parser"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/dttI7U2BQ9yJAAJbN/builds/arzutrfQ2fFWbmdDg/openapi.json
