Skip to Content
While25SDK docs
Market data

Open data

Public filings and registers (SEC today), live from the source, through the same registry the AI reads.

Public filings and registers (SEC today), live from the source and never cached, through the same registry the AI reads.

while25.data.catalog("filings")            # [{"id", "category", "description", "markets"}]
while25.data.describe("sec.company_filings")   # params with choices, result columns
df = while25.data.fetch("sec.company_filings", symbol="AAPL")
df.attrs["dataset_id"]                     # "ds_..."; the AI sees the same id
df.attrs["provenance"]                     # provider, command, params, hosts, fetched_at
while25.data.get("ds_...")                 # a dataset fetched earlier this session

Dates come back as datetime.date. A refusal raises While25Error whose .code says why: AMBIGUOUS (the symbol matches several companies; the message lists them), CONTACT_REQUIRED (SEC needs a contact email, taken from your While25 account, and none is available yet), INVALID_PARAMS, NOT_FOUND, NOT_COVERED, UNKNOWN_COMMAND, DATASET_EVICTED, FETCH_FAILED (the message carries retry_after_s when the source said), TOO_LARGE (the dataset is too big to hand over whole; it is kept: read it in pages with while25.data.get(id, offset=, limit=, columns=, filter=)). Outside the desktop app these calls raise RuntimeError.