# SEC XBRL Financial Frames — Structured Fundamentals (`nexgendata/sec-xbrl-financial-frames`) Actor

Track XBRL financial-statement frames from SEC EDGAR — parsed, source-linked JSON for analysts, funds and AI agents.

- **URL**: https://apify.com/nexgendata/sec-xbrl-financial-frames.md
- **Developed by:** [NexGenData](https://apify.com/nexgendata) (community)
- **Categories:** Business
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$100.00 / 1,000 xbrl financial frames

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/platform/actors/running/actors-in-store#pay-per-event

## What's an Apify Actor?

Actors are web data automations that power AI and operations. They run on the Apify platform to scrape websites, process data, connect APIs, and automate workflows.
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.
Actors are written with capital "A".

## 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.
The best way to integrate Actors is as follows.

- **AI agents and MCP clients** — the [Apify MCP server](https://docs.apify.com/integrations/mcp.md) at `https://mcp.apify.com` (remote, streamable HTTP, OAuth on first use).
- **Agentic workflows and local Actor development** — [Agent Skills](https://apify.com/.well-known/agent-skills/index.json) with the [Apify CLI](https://docs.apify.com/cli/docs.md): `npm install -g apify-cli`, then `apify login`.
- **JavaScript/TypeScript projects** — the official [JS/TS client](https://docs.apify.com/api/client/js/docs.md): `npm install apify-client`.
- **Python projects** — the official [Python client](https://docs.apify.com/api/client/python/docs.md): `pip install apify-client`.
- **Any other language** — the [REST API](https://docs.apify.com/api/v2.md).

For usage examples, see the [API](#api) section below.

For more details, see Apify documentation as [Markdown index](https://docs.apify.com/llms.txt) and [Markdown full-text](https://docs.apify.com/llms-full.txt).

# README

## SEC XBRL Financial Frames

Track XBRL financial-statement frames from SEC EDGAR, parsed into clean JSON. Built for analysts, funds, fintech builders and AI agents. Factual public SEC/EDGAR data — not financial or investment advice. Not affiliated with the U.S. SEC.

### 📊 What you get

Clean JSON, one record per record. Key fields (full output has 14 fields):

- `cik` — Filer CIK
- `filed` — Filing date
- `form` — Filing form type
- `period` — Financial metric / period

**Pricing:** $0.10 per record (Pay-Per-Event) — about **10 records per $1**.

### 🤖 Use with AI agents

Structured, source-linked SEC data built for LLM and agent pipelines — point Claude, the OpenAI Agents SDK, an n8n flow or any MCP-aware client at it and pull XBRL financial-statement frames on demand.

**Sample agent prompt:**

```
Pull revenue and net income across companies from SEC XBRL frames for one period.
```

**Agentic payments (x402):** Supports agentic payment via x402 — agents can call this actor with USDC, no API key required.

### ⏰ Run on a schedule

The recurring frame is the point — schedule a daily or weekly pull:

```json
{
  "maxResults": 50
}
```

### 🔗 Related SEC actors

**More compliance & oversight trackers:** [Comment Letter Monitor](https://apify.com/nexgendata/sec-comment-letter-monitor), [Form NT Late-Filing](https://apify.com/nexgendata/sec-form-nt-late-filing-tracker), [Litigation Releases](https://apify.com/nexgendata/sec-litigation-releases), [Fails-to-Deliver](https://apify.com/nexgendata/sec-fails-to-deliver-tracker)

**Agent front doors:** [SEC Corporate Events MCP](https://apify.com/nexgendata/sec-corporate-events-mcp), [Regulatory Filings MCP](https://apify.com/nexgendata/regulatory-filings-mcp)

***

*Data parsed from public SEC EDGAR filings. Factual public SEC/EDGAR data — not financial or investment advice. Not affiliated with the U.S. SEC.*

# Actor input Schema

## `concept` (type: `string`):

us-gaap concept, e.g. Revenues, NetIncomeLoss, Assets, EarningsPerShareBasic.

## `taxonomy` (type: `string`):

Taxonomy (default us-gaap).

## `unit` (type: `string`):

Unit (USD, USD-per-shares, etc.).

## `period` (type: `string`):

Frame period, e.g. CY2025Q1, CY2024 (annual), CY2025Q1I (instant).

## `minValue` (type: `number`):

Only filers with value >= this.

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

Max filers to return.

## `userAgentContact` (type: `string`):

SEC requires a UA with contact info.

## Actor input object example

```json
{
  "concept": "Revenues",
  "taxonomy": "us-gaap",
  "unit": "USD",
  "period": "CY2025Q1",
  "maxResults": 5000
}
```

# 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 = {
    "concept": "Revenues",
    "period": "CY2025Q1"
};

// Run the Actor and wait for it to finish
const run = await client.actor("nexgendata/sec-xbrl-financial-frames").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 = {
    "concept": "Revenues",
    "period": "CY2025Q1",
}

# Run the Actor and wait for it to finish
run = client.actor("nexgendata/sec-xbrl-financial-frames").call(run_input=run_input)

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

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

```

## CLI example

```bash
echo '{
  "concept": "Revenues",
  "period": "CY2025Q1"
}' |
apify call nexgendata/sec-xbrl-financial-frames --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "command": "npx",
            "args": [
                "mcp-remote",
                "https://mcp.apify.com/?tools=nexgendata/sec-xbrl-financial-frames",
                "--header",
                "Authorization: Bearer <YOUR_API_TOKEN>"
            ]
        }
    }
}

```

## OpenAPI specification

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