{"slug": "use-the-signal8-api-in-n8n-a-new-sec-filings-workflow-and-an-mcp-powered-ai", "title": "Use the Signal8 API in n8n: a new-SEC-filings workflow and an MCP-powered AI Agent", "summary": "A developer published a guide showing how to integrate the Signal8 financial-data API into n8n, using an HTTP Request node with X-Api-Key header authentication against api.signal8.ai and an MCP Client Tool node pointed at mcp.signal8.ai for AI Agent workflows. The walkthrough includes a scheduled workflow that polls the stream/events endpoint with a stored next_cursor to deliver each new SEC filing exactly once, plus Code nodes for building requests and saving cursors in workflow static data.", "body_md": "To use Signal8 in n8n, add an HTTP Request node that calls `https://api.signal8.ai/api/v1/public` with a Header Auth credential named `X-Api-Key` holding your API key. For an AI Agent, add n8n's MCP Client Tool node pointed at `https://mcp.signal8.ai/mcp` with Bearer auth and the same key. This guide sets up both, plus a scheduled workflow that hands you every new SEC filing exactly once.\n\n`sk_live_` (or `sk_test_` for a test key). Signal8 Pro ($29.50/mo or $294/yr, no free trial) includes the REST API, the MCP server and the streams, at 120 requests a minute and 10,000 a day, with up to 3 API keys.`X-Api-Key` and The API also accepts `Authorization: Bearer sk_live_...`. Use one header or the other, not a key in the URL.\n\n`GET`.` https://api.signal8.ai/api/v1/public/companies/AAPL/quote`.` data` (`currentPrice`, `changePercent`, `volume`, `marketCap` and more).\n**The same request as cURL (paste into the node's Import cURL dialog)**\n\n```\ncurl \"https://api.signal8.ai/api/v1/public/companies/AAPL/quote\" \\\n  -H \"X-Api-Key: sk_live_YOUR_KEY\"\n```\n\nOther endpoints work the same way, for example Form 4 open-market purchases: `https://api.signal8.ai/api/v1/public/intelligence/AAPL/insider-transactions?transactionCode=P&limit=20`. Every endpoint, parameter and response is in the [API reference](https://signal8.ai/developer/docs).\n\n`https://api.signal8.ai/api/v1/public/stream/events` returns the same events as the real-time WebSocket, as a page you poll. Each response carries a `next_cursor`; send it back as `since` and you get only what arrived after it. Store the cursor in workflow static data and each filing reaches your workflow once.\n\n`{{ $json.url }}` (as an expression), and the \"Signal8 API\" Header Auth credential.\n**n8n Code node: Build request**\n\n```\n// Code node \"Build request\" (Run Once for All Items), after a Schedule Trigger.\n// Workflow static data keeps the cursor between runs of the ACTIVE workflow.\nconst state = $getWorkflowStaticData('global');\nconst params = new URLSearchParams({\n  channels: 'filings',\n  forms: '8-K,S-1,424B*',\n  limit: '100',\n});\nif (state.cursor) params.set('since', state.cursor);\nreturn [{ json: { url: 'https://api.signal8.ai/api/v1/public/stream/events?' + params.toString() } }];\n```\n\n**n8n Code node: Save cursor**\n\n```\n// Code node \"Save cursor\" (Run Once for All Items), after the HTTP Request node.\nconst state = $getWorkflowStaticData('global');\nconst page = $input.first().json.data;\nif (page.next_cursor) state.cursor = page.next_cursor;\n// One item per filing, for the Slack, email or sheet node that follows.\nreturn page.events.map((e) => ({\n  json: {\n    form: e.data.form,\n    company: e.data.company,\n    tickers: (e.data.tickers || []).join(', '),\n    accepted_at: e.data.accepted_at,\n    filing_url: e.data.filing_url,\n  },\n}));\n```\n\n**What the HTTP Request node returns (abridged)**\n\n```\n{\n  \"success\": true,\n  \"data\": {\n    \"events\": [\n      {\n        \"channel\": \"filings\",\n        \"id\": \"0001234567-26-000123\",\n        \"cursor\": \"c1-1764340200000-0\",\n        \"data\": {\n          \"accession_number\": \"0001234567-26-000123\",\n          \"company\": \"Example Therapeutics Inc.\",\n          \"tickers\": [\"EXMP\"],\n          \"form\": \"8-K\",\n          \"items\": [\"3.02\"],\n          \"accepted_at\": \"2026-11-28T14:30:00Z\",\n          \"filing_url\": \"https://www.sec.gov/Archives/edgar/data/1234567/000123456726000123/\"\n        }\n      }\n    ],\n    \"next_cursor\": \"c1-1764340200000-0\",\n    \"has_more\": false,\n    \"cursor_expired\": false\n  }\n}\n```\n\nn8n saves workflow static data only for production runs of an active workflow, not for manual test runs, so a test run starts from the most recent events each time.\n\nChange the filters to suit you: `tickers`, `ciks`, `forms` (a trailing `*` matches a family, as in `424B*`), `items` for 8-K items, and `market_cap_max` in US dollars. Add `filings.ai` to `channels` to also get Signal8's analysis of each filing. When `has_more` is `true` there is more waiting, and the next run picks it up.\n\nThe MCP Client Tool node lets an AI Agent node call Signal8 tools (filings, insider trades, dilution, quotes and more) and pick the right one from a plain-English question.\n\n`https://mcp.signal8.ai/mcp` and If the tool list loads but every call fails with 401, see [MCP 401 Unauthorized](https://signal8.ai/developer/troubleshooting/mcp-401-unauthorized): the tool list is public, the calls need the key.\n\nPro allows 120 requests a minute and 10,000 a day. A workflow that loops over many tickers can pass the per-minute limit and get HTTP 429 `RATE_LIMIT_EXCEEDED` with a `Retry-After` header. Turn on **Retry On Fail** in the HTTP Request node's settings with a wait of a few seconds, or add a **Wait** node inside the loop. The full list of limit headers is on [Fix 429 rate limit errors](https://signal8.ai/developer/troubleshooting/api-429-rate-limit).\n\n**Is there a Signal8 node for n8n?**\n\nNo. Signal8 does not publish an n8n node. Use the built-in HTTP Request node with a Header Auth credential for the REST API, and the built-in MCP Client Tool node for AI agents.\n\n**Which header does the Signal8 API use in n8n?**\n\nX-Api-Key with your API key as the value. Authorization: Bearer sk_live_... also works. In n8n, put the key in a Header Auth credential so it is not written into each node.\n\n**Why does my n8n workflow see the same filings again?**\n\nThe cursor was not saved. Workflow static data is only kept for production runs of an active workflow, so manual test runs always start from the most recent events. Activate the workflow and let the Schedule Trigger run it.\n\n**Does the MCP Client Tool need a Pro account?**\n\nYes, with an API key. Signal8 Pro ($29.50/mo or $294/yr, no free trial) includes the REST API, the MCP server and the streams, at 120 requests a minute and 10,000 a day, with up to 3 API keys.\n\nThe original guide, kept up to date, is on Signal8: [signal8.ai/integrations/n8n](https://signal8.ai/integrations/n8n).", "url": "https://wpnews.pro/news/use-the-signal8-api-in-n8n-a-new-sec-filings-workflow-and-an-mcp-powered-ai", "canonical_source": "https://dev.to/signal8/use-the-signal8-api-in-n8n-a-new-sec-filings-workflow-and-an-mcp-powered-ai-agent-ba9", "published_at": "2026-12-05 07:39:16+00:00", "updated_at": "2026-12-05 07:52:43.043572+00:00", "lang": "en", "topics": ["ai-agents", "agent-protocols", "ai-tools", "developer-tools"], "entities": ["Signal8", "n8n", "SEC", "Signal8 Pro"], "also_reported_by": [], "takeaway": "Poll Signal8's stream/events endpoint with the returned next_cursor as the since parameter and persist it in n8n workflow static data so each SEC filing is delivered exactly once.", "recommendation": {"advice": "Store the stream's next_cursor in workflow static data and pass it back as since on each scheduled run so filings are processed once; note static data only persists in active production runs, not manual tests.", "playbook": "agent-architecture", "playbook_url": "https://wpnews.pro/playbooks/agent-architecture"}, "alternates": {"html": "https://wpnews.pro/news/use-the-signal8-api-in-n8n-a-new-sec-filings-workflow-and-an-mcp-powered-ai", "markdown": "https://wpnews.pro/news/use-the-signal8-api-in-n8n-a-new-sec-filings-workflow-and-an-mcp-powered-ai.md", "text": "https://wpnews.pro/news/use-the-signal8-api-in-n8n-a-new-sec-filings-workflow-and-an-mcp-powered-ai.txt", "jsonld": "https://wpnews.pro/news/use-the-signal8-api-in-n8n-a-new-sec-filings-workflow-and-an-mcp-powered-ai.jsonld"}}