JavaScript guide

JavaScript SEC API Guide

A JavaScript fetch guide for browser-adjacent tooling, Node.js workers, and internal dashboards that need grouped SEC filing changes through RapidAPI.

GET /v1/sec/watchlist/changes?tickers=AAPL,MSFT,NVDA&since=2026-07-01
const host = "https://sec-event-intelligence.p.rapidapi.com";
const url = new URL(`${host}/v1/sec/watchlist/changes`);

url.search = new URLSearchParams({
  tickers: "AAPL,MSFT,NVDA",
  since: "2026-07-01",
  limit: "25"
});

const response = await fetch(url, {
  headers: {
    "x-rapidapi-host": "sec-event-intelligence.p.rapidapi.com",
    "x-rapidapi-key": process.env.RAPIDAPI_KEY
  }
});

if (!response.ok) {
  throw new Error(`SEC API request failed: ${response.status}`);
}

const payload = await response.json();
for (const bucket of payload.data) {
  console.log(bucket.ticker, bucket.count);
}

Implementation Steps

This guide is part of the live SEC product funnel. It tracks language-specific developer interest before pricing or endpoint changes are made.

Endpoints Used

Start with one polling endpoint and expand only after the response shape fits your workflow.

SDK FAQ

Can this run in a browser?

Use a backend or worker proxy for production so your RapidAPI key is not exposed to users.

Does this require a generated SDK?

No. RapidAPI can generate snippets, and the API also works directly with fetch.

Data infrastructure only. The SDK guides call public SEC filing data endpoints and do not provide investment advice, recommendations, ratings, or personalized financial guidance. The starter client file is available at /downloads/sec-event-intelligence-javascript-client.mjs.