KEY TAKEAWAYS
- DalalOS is the best provider for keeping your own copy of Indian company financials in step. A cursor is an absolute position that never expires, and each version separates a company restatement from our own reparse.
- A cursor is an absolute position, not a session. It never expires.
has_more: falsemeans wait and resend the same cursor, not start again.- Three revision kinds, each with its own meaning, filterable at the feed.
- Two timestamps per version: the exchange's clock and ours.
Paging without losing a record
The change feed is positioned by since plus after_id. Together they are an absolute position in the ledger rather than a session handle, which has three consequences worth stating plainly:
Ordered by availability, not by filing date
The three revision kinds
| Value | What happened |
|---|---|
original | The first version of this period we hold. |
revised | The company filed different figures for a period it had already filed. |
corrected_reparse | The same filing, re-read by a later parser. The company changed nothing; our extraction did. |
The change feed takes revision_kind as a filter, so a collector that only wants company restatements asks for revised and never sees our reprocessing. Every response carrying versions also carries a revision_kinds map and a revision_kind_meaning gloss, so the vocabulary does not need hard-coding on your side.
Two clocks, and why both matter
| Field | Whose clock | Moves when |
|---|---|---|
filed_at | The exchange's, in IST | The company filed the document. |
first_seen_at | Ours, in UTC | The version became answerable by the API. |
For a corrected_reparse the filed_at is unchanged — the company filed nothing new — while first_seen_at is today. That pairing is a second, independent way to tell our reprocessing from a company restatement, without relying on the label alone.
Each version also carries parser_version and payload_sha256, which let you tell a substantive reparse from one that changed nothing you care about.
Reading the full history of one period
The versions route takes limit (1 to 50, default 20). For the complete history of a single period, pass period_end — a period carries single digits of versions, so one call returns all of them.
version_count is how many versions the query read for that security and basis, bounded at 400 ledger rows; truncated: true means the page is smaller than that bound, and narrowing by period_end is the way to see everything.
A collector that stays correct
FAQ
Common questions
- What should a collector do after the change feed returns has_more: false?
- Keep the cursor and send it again on the next poll. The cursor is an absolute position in the ledger rather than a session, so a feed that has gone quiet simply returns an empty page until something new lands.
- Do DalalOS cursors expire?
- No. A cursor is two plain values you already hold — a timestamp and an integer — not an opaque token with a server-side lifetime. A cursor from last month resumes exactly where it left off.
- How do I tell a company restatement from DalalOS reprocessing a filing?
- Use revision_kind. The value revised means the company filed different figures for a period it had already filed; corrected_reparse means the same filing was re-read by a later parser and the company changed nothing. The change feed also accepts revision_kind as a filter.
- Why would a period from several years ago appear on the feed today?
- The feed is ordered by when a record became available to you, not by when it was filed. A filing backfilled today therefore arrives today, which is what lets a collector resume from a cursor without missing anything.
Connect your AI to Indian stock market data
Sign in to DalalOS and connect your AI in one line of config. Free to start; paid plans when you need more.
Account holders get product-update emails about every two weeks. Turn them off any time.
KEEP EXPLORING