Integration
Use the Signal8 API in Pipedream
https://api.signal8.ai/api/v1/public with fetch and your API key in an X-Api-Key header, read from a Pipedream environment variable. For new SEC filings, run that step on a Schedule trigger against /stream/events and keep the cursor in a Pipedream data store, so each filing is handled once.Included with Signal8 Pro, $29.50/mo or $294/yr. One API key covers the REST API, the MCP server and the streams.
On this page
- A Signal8 account on Signal8 Pro and an API key from the API keys page. Keys start with
sk_live_(orsk_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. - In Pipedream, add an environment variable named
SIGNAL8_API_KEYholding the key. Code steps read it asprocess.env.SIGNAL8_API_KEY, so the key is not written into the workflow. - Signal8 does not publish a Pipedream component. A code step is all you need.
- Create a workflow with any trigger (HTTP, Schedule or another app).
- Add a step, choose Node.js code, and paste the code below.
- Test the step. Its return value, the quote object, is available to the steps after it.
// Pipedream Node.js code step. SIGNAL8_API_KEY is a Pipedream environment variable.
export default defineComponent({
async run({ steps, $ }) {
const res = await fetch("https://api.signal8.ai/api/v1/public/companies/AAPL/quote", {
headers: { "X-Api-Key": process.env.SIGNAL8_API_KEY },
});
const body = await res.json();
if (!res.ok) throw new Error(`${res.status} ${body.error?.code}: ${body.error?.message}`);
return body.data; // available to later steps as steps.<step_name>.$return_value
},
});Swap the URL for any endpoint in the API reference, for example https://api.signal8.ai/api/v1/public/intelligence/AAPL/insider-transactions?transactionCode=P&limit=20 for Form 4 open-market purchases.
https://api.signal8.ai/api/v1/public/stream/events is the polling twin of the real-time stream: same events, same filters, same cursors. Each call returns a next_cursor; save it in a data store and send it as since next time to get only what is new.
- Create a workflow with a Schedule trigger, for example every 5 minutes.
- Add a Node.js code step with the code below. When you test it, Pipedream asks you to pick or create a data store for the
dbprop. - Add steps after it (Slack, Discord, email, a database). The code step returns the new events, or ends the run early when there are none.
// Pipedream Node.js code step after a Schedule trigger (for example every 5 minutes).
// The data store keeps the cursor, so each filing is handled once.
export default defineComponent({
props: {
db: "$.service.db",
},
async run({ steps, $ }) {
const params = new URLSearchParams({
channels: "filings,filings.ai",
forms: "8-K,S-1,424B*",
limit: "200",
});
const cursor = await this.db.get("signal8_cursor");
if (cursor) params.set("since", cursor);
const res = await fetch(`https://api.signal8.ai/api/v1/public/stream/events?${params}`, {
headers: { "X-Api-Key": process.env.SIGNAL8_API_KEY },
});
if (res.status === 429) {
// Per-minute limit: Retry-After says how many seconds to wait. Try again next run.
return $.flow.exit(`rate limited, retry after ${res.headers.get("retry-after")} s`);
}
const body = await res.json();
if (!res.ok) throw new Error(`${res.status} ${body.error?.code}: ${body.error?.message}`);
const page = body.data;
if (page.next_cursor) await this.db.set("signal8_cursor", page.next_cursor);
if (page.events.length === 0) return $.flow.exit("no new filings");
return page.events; // raw filings, and the AI analysis with the same id
},
});{
"success": true,
"data": {
"events": [
{
"channel": "filings",
"id": "0001234567-26-000123",
"cursor": "c1-1764340200000-0",
"data": {
"accession_number": "0001234567-26-000123",
"company": "Example Therapeutics Inc.",
"tickers": ["EXMP"],
"form": "8-K",
"items": ["3.02"],
"accepted_at": "2026-11-28T14:30:00Z",
"filing_url": "https://www.sec.gov/Archives/edgar/data/1234567/000123456726000123/"
}
}
],
"next_cursor": "c1-1764340200000-0",
"has_more": false,
"cursor_expired": false
}
}The raw filings event arrives as soon as we see the filing; the filings.ai event follows with the same id when the analysis is ready. Filter on channel in a later step if you want only one of them. Events are kept for 24 hours.
The WebSocket at wss://api.signal8.ai/api/v1/stream pushes each filing the moment we see it, but it needs a process that stays connected and watches for the heartbeat we send every 15 seconds. A Pipedream workflow run is short-lived, so polling /stream/events every few minutes is the better fit there. For a long-running client, see the stream protocol and the Python streaming tutorial.
Is there a Signal8 component for Pipedream?
Where should I keep the API key in Pipedream?
Can a Pipedream workflow hold the Signal8 WebSocket open?
Get an API key and connect your workflow
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.
Included with Signal8 Pro, $29.50/mo or $294/yr. One API key covers the REST API, the MCP server and the streams.