Pipedream recipe
SEC API Pipedream Workflow
A self-serve Pipedream Node.js workflow starter for teams that want scheduled SEC filing watchlists through RapidAPI without hosting a custom EDGAR pipeline.
GET /v1/sec/watchlist/changes?tickers=AAPL,MSFT,NVDA&since=2026-07-01&limit=25
import axios from "axios";
export default defineComponent({
props: {
tickers: {
type: "string",
label: "Ticker watchlist",
default: "AAPL,MSFT,NVDA"
},
since: {
type: "string",
label: "Earliest filed date",
default: "2026-07-01"
}
},
async run({ $, steps }) {
const rapidapiKey = process.env.RAPIDAPI_KEY;
if (!rapidapiKey) {
throw new Error("Set RAPIDAPI_KEY as a Pipedream environment variable.");
}
const response = await axios.get(
"https://sec-event-intelligence.p.rapidapi.com/v1/sec/watchlist/changes",
{
params: {
tickers: this.tickers,
since: this.since,
limit: 25
},
headers: {
"x-rapidapi-host": "sec-event-intelligence.p.rapidapi.com",
"x-rapidapi-key": rapidapiKey,
"accept": "application/json"
},
timeout: 20000
}
);
$.export("filing_count", response.data.data?.length || 0);
return response.data;
}
});
Workflow Setup
This recipe shows how to move SEC filing data into automation tools using live HTTPS endpoints and standard API credentials.
- Subscribe on RapidAPI and copy the generated RapidAPI key.
- Create a Pipedream project and add RAPIDAPI_KEY as a project or workspace environment variable.
- Add a schedule trigger, then paste the Node.js code step from the starter file.
- Route returned filing rows into Slack, email, a database, or another Pipedream action.
Endpoints Used
The integration uses live SEC Event Intelligence endpoints available through RapidAPI subscriptions.
GET /v1/sec/watchlist/changesGET /v1/sec/changesGET /v1/sec/forms/{accessionNo}/summary
Integration FAQ
Is this an official Pipedream app or component?
No. It is a copy-ready Node.js workflow starter that calls the live RapidAPI endpoint from a Pipedream code step.
Where should the RapidAPI key be stored?
Store RAPIDAPI_KEY as a Pipedream environment variable or secret reference, not directly in the workflow source.
/downloads/sec-filings-pipedream-workflow.mjs.