# US Regulatory & Public Filings Radar (SEC, FDA, Gov) (`striped_tailgate/us-regulatory-filings-radar`) Actor

Aggregate & score SEC EDGAR filings, FDA recalls, Federal Register rules, and USASpending awards into normalized JSON with delta alerts.

- **URL**: https://apify.com/striped_tailgate/us-regulatory-filings-radar.md
- **Developed by:** [hyoensu kim](https://apify.com/striped_tailgate) (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

$5.00 / 1,000 result items

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

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

## 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

## US Regulatory & Public Filings Radar (SEC, FDA, Federal Register, USASpending)

Aggregate, normalize, and risk-score official US regulatory, corporate filing, product safety, and federal procurement feeds into one structured JSON stream built for compliance teams, quantitative analysts, and AI agents (MCP / RAG / Webhooks).

Instead of brittle HTML scraping, this Actor queries **four official, zero-block US Government JSON APIs** concurrently, resolves stock tickers to SEC CIKs, decodes SEC Form 8-K material event item codes, flags economically significant rules & urgent comment deadlines, classifies FDA recalls, and deduplicates across scheduled runs using Apify Key-Value Store state.

### Key Capabilities

- **Multi-Source Normalization**: Unifies heterogeneous schemas from **SEC EDGAR** (`data.sec.gov` + `efts.sec.gov`), **Federal Register API v1**, **openFDA** (`drug/device/food enforcement` + `510(k)`), and **USASpending.gov API v2** into a single canonical JSON envelope.
- **Ticker-to-CIK Resolution & Cross-Source Tracking**: Pass stock tickers (e.g., `NVDA`, `LLY`) to automatically resolve official SEC CIKs, inspect company submissions (`8-K`, `Form D`, `SC 13D`, `10-K`), and cross-search the resolved company name against FDA recalls/clearances and federal contracts/grants.
- **Materiality & Urgency Scoring (`0–100`)**:
  - **SEC EDGAR**: Decodes 8-K item codes (`1.05` Cybersecurity Incidents, `1.03` Bankruptcy, `4.02` Financial Restatements, `1.01` Material Agreements, `5.02` Executive Departures), activist `SC 13D` filings, and `Form D` private offerings.
  - **Federal Register**: Boosts EO 12866 economically `significant` rules, Presidential Documents, and calculates `days_until_comment_deadline` / `days_until_effective`.
  - **openFDA**: Prioritizes `Class I` (high-risk) vs `Class II/III` recalls and `510(k)` device clearances.
  - **USASpending**: Scores federal contracts (`A-D`) and grants (`02-05`) by dollar magnitude (`$100k+`, `$1M+`, `$10M+`, `$100M+`).
- **Cross-Run Delta Mode (`onlyNew`)**: Persists seen `record_id` values in a named Apify Key-Value Store (`stateStoreName`) so scheduled hourly/daily runs emit only newly published filings and regulations.
- **Run Summary (`OUTPUT`)**: Writes a structured summary with per-source diagnostics, severity counts, and top-10 highlights to the default Key-Value Store (`OUTPUT`) for instant webhook/MCP consumption.

### Input Example

```json
{
  "keywords": ["artificial intelligence", "cybersecurity"],
  "tickers": ["NVDA", "CRWD"],
  "sources": ["sec_edgar", "federal_register", "openfda", "usaspending"],
  "lookbackDays": 14,
  "secForms": ["8-K", "D", "SC 13D", "10-K"],
  "federalRegisterTypes": ["RULE", "PRORULE", "NOTICE"],
  "usaspendingAwardScope": "both",
  "minMaterialityScore": 40,
  "maxItemsPerSource": 50,
  "onlyNew": true,
  "stateStoreName": "us-regulatory-radar-state"
}
```

### Output Record Example

```json
{
  "record_id": "sec_edgar:0001193125-26-014820",
  "record_hash": "9e8c1f402a7b3d12",
  "source": "sec_edgar",
  "category": "corporate_filing",
  "published_date": "2026-11-12",
  "entity_name": "CrowdStrike Holdings, Inc.",
  "tickers": ["CRWD"],
  "title": "CrowdStrike Holdings, Inc. (CRWD) - Form 8-K [1.05, 9.01]",
  "summary": "Form 8-K filed by CrowdStrike Holdings, Inc. (CIK 0001535527). Items: 1.05: Material Cybersecurity Incidents; 9.01: Financial Statements and Exhibits. Industry: Services-Prepackaged Software.",
  "url": "https://www.sec.gov/Archives/edgar/data/1535527/000119312526014820/d8k.htm",
  "materiality_score": 90,
  "severity": "critical",
  "signals": [
    "sec_8k_item_1.05",
    "sec_8k_item_9.01",
    "sec_form_8-k",
    "watchlist_ticker_match"
  ],
  "deadlines": {},
  "raw_metadata": {
    "accession_number": "0001193125-26-014820",
    "cik": "0001535527",
    "form": "8-K",
    "items": ["1.05", "9.01"],
    "decoded_items": [
      "1.05: Material Cybersecurity Incidents",
      "9.01: Financial Statements and Exhibits"
    ],
    "sic": "7372",
    "sic_description": "Services-Prepackaged Software"
  },
  "fetched_at": "2026-11-15T00:00:00+00:00",
  "is_new": true
}
```

### Automation: Apify Schedules, Webhooks & MCP Integration

#### 1. Scheduled Delta Alerts (Slack / Make / n8n)

1. Create an **Apify Schedule** (e.g., `0 */4 * * *` for every 4 hours on weekdays).
2. Set `"onlyNew": true` and `"minMaterialityScore": 65` to capture only high/critical new events.
3. Attach an **Apify Webhook** on `ACTOR.RUN.SUCCEEDED` pointing to your Slack/n8n/FastAPI endpoint; read the `OUTPUT` Key-Value record or fetch the run's dataset items via `GET https://api.apify.com/v2/datasets/{defaultDatasetId}/items`.

#### 2. AI Agent & MCP Server Integration

Expose this Actor as a tool inside **Apify MCP Server** (`https://mcp.apify.com`) for Claude Desktop, Cursor, or LangGraph agents:

- **Compliance & Legal Agents**: Prompt your agent to run `us-regulatory-filings-radar` with `federalRegisterAgencies: ["securities-and-exchange-commission", "food-and-drug-administration"]` and summarize rules with `days_until_comment_deadline <= 14`.
- **Investment & Risk Agents**: Pass portfolio `tickers` and `secForms: ["8-K", "SC 13D", "D"]` to detect material contracts, C-suite exits (`5.02`), cybersecurity incidents (`1.05`), and FDA Class I recalls in one call.

### Fair-Access & Reliability Notes

- **SEC EDGAR**: Enforces a compliant `User-Agent` header (`secUserAgent` input) and a built-in rate limiter (< 7 req/s, below SEC's 10 req/s policy).
- **openFDA**: Works out-of-the-box without an API key; supply `openfdaApiKey` if your automated schedule exceeds 1,000 openFDA requests/day.
- **No Mock Data**: All results come live from official upstream endpoints with automatic retries on `429/5xx` transient errors.

### Pricing

Pay per event: **$0 per run** plus **$0.005 per record returned**. You are charged only for rows actually returned. Apify free-plan accounts can try it with their monthly free platform credits.

| Records returned | Cost per run |
| --- | --- |
| 10 | $0.050 |
| 100 (default run) | $0.500 |
| 1,000 | $5.000 |

# Actor input Schema

## `keywords` (type: `array`):

Keywords, product names, regulations, or entities to monitor across all selected sources (e.g., "artificial intelligence", "GLP-1", "cybersecurity"). Leave empty alongside tickers for a broad daily feed.

## `tickers` (type: `array`):

Optional public company tickers (e.g., NVDA, LLY, AAPL). Automatically resolves Ticker -> CIK via SEC company_tickers.json, fetches recent company submissions, and cross-searches company names across FDA and USASpending.

## `sources` (type: `array`):

Official public APIs to query: sec_edgar, federal_register, openfda, usaspending.

## `lookbackDays` (type: `integer`):

Number of days back from today (UTC) to search when startDate is omitted.

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

Optional explicit start date in YYYY-MM-DD format. Overrides lookbackDays.

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

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

## `secForms` (type: `array`):

SEC EDGAR form types to include (e.g., 8-K, D, SC 13D, SC 13G, 10-K, 10-Q, S-1).

## `federalRegisterTypes` (type: `array`):

Document types: RULE, PRORULE, NOTICE, PRESDOCU.

## `federalRegisterAgencies` (type: `array`):

Optional Federal Register agency slugs (e.g., securities-and-exchange-commission, food-and-drug-administration, federal-trade-commission, bureau-of-industry-and-security).

## `significantRulesOnly` (type: `boolean`):

When enabled, filters Federal Register results to rules designated as significant under EO 12866.

## `usaspendingAwardScope` (type: `string`):

Which federal award categories to query from USASpending.gov.

## `minMaterialityScore` (type: `integer`):

Filter output records to items meeting or exceeding this calculated materiality/risk score.

## `maxItemsPerSource` (type: `integer`):

Maximum number of normalized records collected per enabled source.

## `onlyNew` (type: `boolean`):

Uses a persistent Apify Key-Value Store to track previously emitted record_ids and push only newly discovered items on scheduled runs.

## `persistState` (type: `boolean`):

When true, annotates is_new against the Key-Value Store and saves newly seen IDs even if onlyNew is false.

## `stateStoreName` (type: `string`):

Named Apify Key-Value Store used for cross-run deduplication.

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

Required by SEC EDGAR fair-access policy (format: AppName/Version ContactEmail).

## `openfdaApiKey` (type: `string`):

Optional openFDA API key for elevated rate limits (not required for standard runs).

## `failOnPartialError` (type: `boolean`):

If true, fails the Actor whenever any enabled source fails instead of returning partial results from healthy sources.

## Actor input object example

```json
{
  "keywords": [
    "cybersecurity",
    "semiconductor"
  ],
  "tickers": [
    "NVDA"
  ],
  "sources": [
    "sec_edgar",
    "federal_register",
    "openfda",
    "usaspending"
  ],
  "lookbackDays": 14,
  "secForms": [
    "8-K",
    "D",
    "SC 13D",
    "SC 13G",
    "10-K"
  ],
  "federalRegisterTypes": [
    "RULE",
    "PRORULE",
    "NOTICE"
  ],
  "federalRegisterAgencies": [],
  "significantRulesOnly": false,
  "usaspendingAwardScope": "both",
  "minMaterialityScore": 0,
  "maxItemsPerSource": 50,
  "onlyNew": false,
  "persistState": false,
  "stateStoreName": "us-regulatory-radar-state",
  "secUserAgent": "USRegulatoryRadar/1.0 (compliance-alerts@apify-actor.org)",
  "failOnPartialError": false
}
```

# Actor output Schema

## `results` (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 = {
    "keywords": [
        "cybersecurity",
        "semiconductor"
    ],
    "tickers": [
        "NVDA"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("striped_tailgate/us-regulatory-filings-radar").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 = {
    "keywords": [
        "cybersecurity",
        "semiconductor",
    ],
    "tickers": ["NVDA"],
}

# Run the Actor and wait for it to finish
run = client.actor("striped_tailgate/us-regulatory-filings-radar").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 '{
  "keywords": [
    "cybersecurity",
    "semiconductor"
  ],
  "tickers": [
    "NVDA"
  ]
}' |
apify call striped_tailgate/us-regulatory-filings-radar --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,striped_tailgate/us-regulatory-filings-radar"
        }
    }
}
```

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/uXJ2DQrdxkovbsyfA/builds/sPeA4IDLeXCASTVl2/openapi.json
