Spiral gives your agent every tool with one account. Browse the tools →

n8n · Finance

How to Use SEC EDGAR company financial facts in n8n

Returns a company's XBRL financial facts across concepts. Use it to collect several reported metrics together before selecting figures for a comparison.

Prompts to try with SEC EDGAR company financial facts in n8n

Copy an example into n8n, or ask in your own words.

Every Monday at 9am: use SEC EDGAR company financial facts to look this up and give me the result as a table.

SEC EDGAR company financial factsn8n
Try asking
  • Pull the latest numbers from SEC EDGAR company financial facts and tell me what changed since last week.

  • Check SEC EDGAR company financial facts and summarize what you find in three bullet points.

  • Pull the newest data from SEC EDGAR company financial facts and give me the result as a table.

  • Check SEC EDGAR company financial facts every morning and tell me only when something changed.

How to set up SEC EDGAR company financial facts in n8n

Pick the way that suits you. Each takes about two minutes.

Use the Spiral skill

  1. Send n8n this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use Spiral's MCP server

  1. Create a key

    Create a key under API keys in the console.

  2. Add an MCP Client node

    In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

    https://api.spiral.ai/mcp
  3. Pick a tool

    The node lists Spiral's tools. In an MCP Client node pick one, such as run, and give it its arguments:

    {
      "provider": "fal",
      "model": "fal-ai/flux/schnell",
      "input": { "prompt": "a lighthouse at dawn" },
      "wait": true
    }
  4. Run SEC EDGAR company financial facts in a workflow step

    Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds SEC EDGAR company financial facts, prices it and runs it each time the step fires.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run SEC EDGAR company financial facts

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "sec-gov/filings/facts_list",
        "input": {
          "cik": 1
        }
      }'

Then paste one of the prompts above: n8n finds SEC EDGAR company financial facts on Spiral, shows the price and runs it.

SEC EDGAR company financial facts providers and prices

Spiral runs SEC EDGAR company financial facts through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance
SEC EDGAR · Facts list
sec-gov/filings/facts_list

Settings you can ask for

Ask n8n for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Cika number

SEC Central Index Key, with or without leading zeros.

Page size1 to 5000

Facts per page (default 2000).

Every API field of SEC EDGAR · Facts list is on its tool page: open its card above.

What can you do with SEC EDGAR company financial facts in n8n?

Maintain a corporate disclosure watchlist that advances with SEC publications. A scheduled agent can check publication status, collect filing records, and select companies whose reported figures need another review.

Build an industrial peer comparison

Collect a company universe, select industrial peers, and confirm their reporting identities. Gather financial facts, inspect individual concepts, and connect the comparison to each company's filing history.

Monitor listed corporate borrowers

Build a borrower reference directory and establish a baseline of reported financial facts. Check published daily indexes, recover missed dates, inspect relevant filing records, and refresh selected metrics for credit review.

Maintain a financial research database

Populate company reference records and reported financial facts, then use daily filing records to identify refresh candidates. Support targeted company lookups, older filing-history retrieval, and single-metric checks for analysts.

Check figures in an earnings research note

Confirm the reporting company, gather its financial facts, and inspect the specific concepts behind a draft table. Use its filing history to locate the disclosures associated with the reported figures.

Create a financial disclosure review queue

Start with a company directory and a baseline of reported metrics. Use newly published filing records to select companies for review, then examine their histories and financial concepts for changes requiring an analyst's attention.

Questions about SEC EDGAR company financial facts in n8n

Can n8n use SEC EDGAR company financial facts?

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run SEC EDGAR company financial facts like any built-in tool.

How much does SEC EDGAR company financial facts cost in n8n?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your n8n plan is separate.

Do I need an Alexandria account to use SEC EDGAR company financial facts in n8n?

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs SEC EDGAR company financial facts on its own Alexandria account.

How long does it take to set up SEC EDGAR company financial facts in n8n?

About two minutes: create a key, then add an MCP Client node, then pick a tool.

Does n8n wait while SEC EDGAR company financial facts runs?

SEC EDGAR company financial facts runs in the background. n8n starts the run, checks on it and gives you the json when it's ready.

Does the SEC ticker directory cover every EDGAR filer?

The SEC does not guarantee the accuracy or scope of its ticker association files. EDGAR also contains filings from entities beyond publicly traded companies.

How fresh is SEC EDGAR data?

SEC submissions typically update in under a second and XBRL in under a minute. Daily indexes follow a separate nightly process starting around 10 p.m. Eastern.

How far back do SEC filing indexes go?

Public filing indexes extend from the third quarter of 1994 onward. That archive boundary does not promise financial facts for every indexed filing.

Do daily indexes reflect later filing removals?

Removals processed on subsequent business days are not reflected in earlier daily indexes. An old index entry can therefore remain after the underlying filing has been removed.

Do the financial facts include every figure in a filing?

The SEC's XBRL aggregation covers standard-taxonomy facts applying to the entire filing entity. Custom company tags and segment-specific figures fall outside that boundary.

Get started

Start using SEC EDGAR company financial facts in n8n

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into n8n:

Set up n8n

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options