# SEC EDGAR Form D/A & 8-K Stateful Delta Radar (`duypham/sec-edgar-8k-formd-tranche-delta`) Actor

Deterministic stateful SEC EDGAR parser that computes net-new capital raised between Form D and Form D/A (excluding pooled investment funds by default) and extracts Form 8-K material corporate events (Items 1.01, 1.05, 2.01, 2.05, 5.02) with Privacy-by-Design executive home street redaction.

- **URL**: https://apify.com/duypham/sec-edgar-8k-formd-tranche-delta.md
- **Developed by:** [Duy Phạm](https://apify.com/duypham) (community)
- **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/running/actors-in-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/A Tranche Delta & Form 8-K Material Event Radar (`sec-edgar-8k-formd-tranche-delta`)

Deterministic, stateful SEC EDGAR intelligence engine for B2B RevOps, Venture Outbound, and Corporate Development pipelines on **n8n**, **Make**, and **Clay**.

### Why Stateful Delta Instead of Raw EDGAR Scrapers?

1. **Form D vs. Form D/A Tranche Expansion Math:** Calculates exact `newAmountSoldDeltaUsd` (`currentAmountSoldUsd - previousAmountSoldUsd`), handles `"Indefinite"` offering amounts safely, and drops Hedge/PE/VC Pooled Investment Funds (`excludePooledInvestmentFunds: true` by default).
2. **Pre-Filtered Form 8-K Material Triggers:** Pre-filters `items` at the EDGAR JSON Index before downloading HTML, extracting only high-intent corporate events (`1.01` Material Agreements, `1.05` Cybersecurity Incidents, `2.01` M\&A, `2.05` Restructuring, `5.02` Executive Changes).
3. **Zero Silent-Empty Runs & SEC Fair-Access Rate Limiting:** Enforces `<= 4 req/s` token-bucket throttling and pre-flight `secUserAgent` validation (`INPUT_VALIDATION_ERROR` charges `$0.00` PPE).

### Transparent Pay-Per-Event (PPE) Pricing (`HYBRID_TIERED`)

- `actor-start`: **$0.005** per valid run (`$0.00` on `INPUT_VALIDATION_ERROR` or `dryRun: true`)
- `sec-tranche-delta-emitted`: **$0.008** per net-new Form D or Form D/A tranche expansion record
- `sec-8k-material-event-emitted`: **$0.003** per net-new itemized Form 8-K event record

### Data Provenance, Privacy-by-Design & Removal Requests (SLA <= 48h)

This Actor processes strictly public-sector institutional disclosures from official government open-data endpoints (`17 U.S.C. § 105`, `EU Commission Decision 2011/833/EU`, `UK Open Government Licence v3.0`). By default, built-in privacy filters (`redactPersonalContacts: true`, `redactResidentialStreets: true`, and individual recipient exclusions) strip personal contact emails and residential street addresses at parse time. If an organization or individual wishes to request the suppression of a specific CIK, OCID, Publication Number, Notice ID, or UEI from normalized outputs, please open an issue labeled `privacy-takedown` on the linked repository or contact the publisher via Apify Store. Valid suppression requests are processed within **48 hours**.

# Actor input Schema

## `secUserAgent` (type: `string`):

Mandatory User-Agent header required by SEC.gov Fair Access policy in the exact format 'Sample Company Name AdminContact@<sample company domain>.com'. Invalid or missing values halt immediately at pre-flight (INPUT_VALIDATION_ERROR) with zero PPE charges.

## `filingTypes` (type: `array`):

Selects which SEC EDGAR submission streams to monitor for new fundraising tranches (Form D, Form D/A) and itemized corporate events (8-K). Only filings passing both your item/tranche filters and stateful checkpoint incur PPE event fees.

## `item8KFilter` (type: `array`):

Filters Form 8-K filings to specific material corporate triggers: 1.01 (Material Agreements), 1.05 (Cybersecurity Incidents), 2.01 (M\&A), 2.05 (Restructuring/Layoffs), and 5.02 (Executive/Board Departures). Non-matching 8-K filings are discarded free of charge before HTML download.

## `excludePooledInvestmentFunds` (type: `boolean`):

Automatically drops Hedge Funds, Private Equity vehicles, and Venture Funds (isPooledInvestmentFund = true on Form D) so you only pay PPE event fees for operating companies and startups.

## `minTrancheDeltaUsd` (type: `integer`):

Minimum net-new capital raised (newAmountSoldDelta between Form D/A and prior Form D, or initial totalAmountSold) required in USD to emit a record. Filters out minor clerical amendments so your PPE budget is spent exclusively on material funding rounds.

## `redactResidentialStreets` (type: `boolean`):

Strips street-level residential lines (street1, street2) from Form D Item 3 Related Persons when different from issuer headquarters while preserving city, stateOrCountry, and zipCode for privacy-safe B2B CRM ingestion.

## `lookbackHours` (type: `integer`):

Time window (in hours) scanned on the run. Keep at 24 for daily schedules or 6 for intraday runs to minimize upstream EDGAR queries.

## `deltaStateMode` (type: `string`):

Controls whether the Actor emits only newly created or modified records since the last checkpoint (stateful_delta_only) or re-emits all matching records in the lookback window (full_snapshot).

## `customStateKey` (type: `string`):

Optional identifier to isolate the stateful checkpoint cursor in the apify-delta-fleet-state Named Key-Value Store when running multiple parallel n8n/Make workflows.

## `maxDeltaRecords` (type: `integer`):

Hard ceiling on the number of delta records pushed and billed per run to strictly cap your Pay-Per-Event spend.

## `dryRun` (type: `boolean`):

Validates upstream connectivity and counts how many net-new delta records match your filters without mutating your saved checkpoint cursor. Incurs $0.00 in Pay-Per-Event charges.

## Actor input object example

```json
{
  "secUserAgent": "YourCompanyName ops@yourcompany.com",
  "filingTypes": [
    "Form D",
    "Form D/A",
    "8-K"
  ],
  "item8KFilter": [
    "1.01",
    "1.05",
    "2.01",
    "2.05",
    "5.02"
  ],
  "excludePooledInvestmentFunds": true,
  "minTrancheDeltaUsd": 100000,
  "redactResidentialStreets": true,
  "lookbackHours": 24,
  "deltaStateMode": "stateful_delta_only",
  "customStateKey": "",
  "maxDeltaRecords": 100,
  "dryRun": false
}
```

# Actor output Schema

## `deltaDataset` (type: `string`):

No description

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

No description

# 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 = {
    "secUserAgent": "YourCompanyName ops@yourcompany.com"
};

// Run the Actor and wait for it to finish
const run = await client.actor("duypham/sec-edgar-8k-formd-tranche-delta").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 = { "secUserAgent": "YourCompanyName ops@yourcompany.com" }

# Run the Actor and wait for it to finish
run = client.actor("duypham/sec-edgar-8k-formd-tranche-delta").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 '{
  "secUserAgent": "YourCompanyName ops@yourcompany.com"
}' |
apify call duypham/sec-edgar-8k-formd-tranche-delta --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,duypham/sec-edgar-8k-formd-tranche-delta"
        }
    }
}
```

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/9inkh34zIjhLTaYjf/builds/jsINghERRQhckJh5w/openapi.json
