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.

Endpoints Used

The integration uses live SEC Event Intelligence endpoints available through RapidAPI subscriptions.

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.

No investment advice. These recipes move public SEC filing metadata into automation tools. They do not provide recommendations, ratings, signals, or personalized financial guidance. The starter workflow file is available at /downloads/sec-filings-pipedream-workflow.mjs.