Python example

SEC Filing Alert Worker

A copy-ready pattern for apps that need to check newly observed SEC filings, filter to current reports, and push the result into an alert queue or internal notification system.

GET /v1/sec/changes?since=2026-07-01&form=8-K&limit=50
import os
import requests

API_HOST = "https://sec-event-intelligence.p.rapidapi.com"
HEADERS = {
    "x-rapidapi-host": "sec-event-intelligence.p.rapidapi.com",
    "x-rapidapi-key": os.environ["RAPIDAPI_KEY"],
}

params = {"since": "2026-07-01", "form": "8-K", "limit": 50}
response = requests.get(
    f"{API_HOST}/v1/sec/changes",
    headers=HEADERS,
    params=params,
    timeout=20,
)
response.raise_for_status()

for change in response.json()["data"]:
    filing = change["filing"]
    print(filing["ticker"], filing["form"], filing["filedAt"])

Implementation Steps

This example is designed for self-serve evaluation before a buyer subscribes or imports generated snippets from RapidAPI.

Endpoints Used

The recipe stays inside the live SEC Event Intelligence product surface so it can be tested immediately.

Example FAQ

Can this run as a cron job?

Yes. The change endpoint is designed for scheduled polling by date window.

Does the example make trading recommendations?

No. It only retrieves public SEC filing metadata for your own workflow.

Data infrastructure only. This example retrieves public SEC filing data and does not provide investment advice, recommendations, ratings, or personalized financial guidance.