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.
- Use server-side fetch or a trusted worker so the RapidAPI key is not exposed.
- Call the watchlist endpoint once for a comma-separated ticker list.
- Persist last processed filing accession numbers in your own application state.
Endpoints Used
Start with one polling endpoint and expand only after the response shape fits your workflow.
GET /v1/sec/watchlist/changesGET /v1/sec/company/{ticker}/profileGET /v1/sec/forms/{accessionNo}/summary
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.
/downloads/sec-event-intelligence-javascript-client.mjs.