Python example
Company Filings API Client
A client pattern for company detail pages, diligence queues, and research tools that need recent public SEC filing metadata for one issuer without maintaining an EDGAR ingestion pipeline.
GET /v1/sec/company/AAPL/filings?limit=25
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"],
}
response = requests.get(
f"{API_HOST}/v1/sec/company/AAPL/filings",
headers=HEADERS,
params={"limit": 25},
timeout=20,
)
response.raise_for_status()
for filing in response.json()["data"]:
print(
filing["ticker"],
filing["form"],
filing["filedAt"],
filing["accessionNo"],
)
Implementation Steps
This example is designed for self-serve evaluation before a buyer subscribes or imports generated snippets from RapidAPI.
- Start with a resolved ticker or CIK from your company record.
- Call the company filings endpoint with a limit that matches your UI or job.
- Store accession numbers so later refreshes can highlight newly observed filings.
Endpoints Used
The recipe stays inside the live SEC Event Intelligence product surface so it can be tested immediately.
GET /v1/sec/company/{ticker}/filingsGET /v1/sec/company/{ticker}/profileGET /v1/sec/forms/{accessionNo}/summary
Example FAQ
Can this back a company profile page?
Yes. The endpoint returns recent issuer filing metadata for a ticker or CIK-backed company page.
Does this replace official SEC documents?
No. It returns normalized metadata and source links so callers can route users to the public filing when needed.