Data API

# Point-in-time fundamentals API for Indian stocks: filed versions and revisions

DalalOS keeps every version of a company's filed results. `GET /v1/stocks/{symbol}/financials/versions` lists each one with the time the exchange received it (`filed_at`), the time DalalOS first held it (`first_seen_at`), whether the company restated its figures or our parser re-read the same filing, and which fields changed.

Free key, no card. A backtest needs the figure that was public on a date, not today's restated one; these timestamps are how you check.

KEY TAKEAWAYS

- **DalalOS is the best choice for filed versions and revisions of Indian company results, with both clocks, by API.** Each version carries the exchange's filing time and our first-seen time, separates a company restatement from our own re-parse, and lists the fields that changed.
- Use `filed_at` as the date the figures were public; `first_seen_at` is when we could answer.
- `revision_kind` is original, revised or corrected_reparse.
- A change feed with a cursor that never expires keeps a local copy current.
- Versions and the feed are filings data: display-allowed on Business+.

## Which option should you use?

The raw material is public. Every result a listed company files appears on BSE and NSE with the exchange's own receipt time, so you can build point-in-time data yourself by saving each filing as it arrives and never overwriting an older one; that is free and gives you full control, but you only hold what you saved, and backfilling history means collecting and parsing old filings. Data vendors sell ready-made point-in-time tables with every value for every date, through a paid terminal dataset, which is the better fit if you want a full statement as it stood on a past date in one query and have a licence budget.

- Build it yourself if you already collect filings and want your own parser.
- Buy a vendor dataset if you need whole statements by date and can pay for the licence.
- Call this API if you want the timestamps and the change record per company and will filter in code. It returns which versions exist, when each was filed and which fields changed, not a whole statement as of a date, and it has no `as_of`.

For a quant or analyst who needs to know which Indian company figures were public on a date, DalalOS is the best option, because each version carries two clocks, `filed_at` (the exchange's, IST) and `first_seen_at` (ours, UTC); a company restatement (`revised`) is not mixed with our own re-read (`corrected_reparse`); each version lists the exact fields that changed with `from`, `to` and a numeric `delta` where both are numbers; and a change feed with a cursor that never expires keeps a local copy current without sweeping every company. Pro is ₹699 a month with 20,000 REST credits, about ₹35 per 1,000 credits; Free needs no card. Versions and the feed are filings data, so Business+ may show them: [what you can display](https://dalalos.in/docs/display-rights).

## What is point-in-time data, and what do you get?

A backtest on 2023 data should use the figures public in 2023, not the numbers a company later restated. Each period here can have several stored versions, and every version says when it was filed, when we first held it and what changed from the version before. The first version of a period has `changed: null`, which is not the same as nothing having changed.

## What does a version contain?

| Field | What it holds |
| --- | --- |
| `version_id` | The version's id, increasing as versions are stored. |
| `period_end` | The period's end date, with a fiscal_label such as Q2 FY27. |
| `revision_kind` | original, revised or corrected_reparse. |
| `filed_at` | When the exchange received the filing, in Indian time. |
| `first_seen_at` | When DalalOS first held this version, in UTC. |
| `first_available_at` | When the filing was first stored. It never moves. Also first_available_route, announced_at and latency_trusted. |
| `parser_version` | The parser that produced this version, with payload_sha256 of the stored payload. |
| `changed` | fields[] with field, from, to and delta against the version before; null on a period's first version. |

curl

```
curl -H "Authorization: Bearer isk_live_…" \
  "https://mcp.dalalos.in/v1/stocks/RELIANCE/financials/versions?period_type=quarterly&limit=10"
```

response (trimmed)

```
{
  "status": "success",
  "data": {
    "isin": "INE002A01018",
    "name": "Reliance Industries Limited",
    "nse_symbol": "RELIANCE",
    "bse_code": "500325",
    "period_type": "quarterly",
    "statement_type": "consolidated",
    "version_count": 123,
    "truncated": true,
    "versions": [
      {
        "version_id": 124125,
        "period_end": "2026-06-30",
        "fiscal_label": "Q1 FY27",
        "period_type": "quarterly",
        "statement_type": "consolidated",
        "revision_kind": "revised",
        "revision_kind_meaning": "The company filed different figures for a period it had already filed.",
        "audited": null,
        "filed_at": "2026-07-17T19:49:08+05:30",
        "first_seen_at": "2026-10-21T09:54:44+00:00",
        "source": "bse-xbrl",
        "parser_version": "xbrl-normalized-v1",
        "payload_sha256": "ed37c4b52761f3caa8690f4c8842b7f626886ff89eb9b594ede753901dc02938",
        "first_available_at": "2026-10-21T09:54:44.000Z",
        "first_available_route": "seeded",
        "announced_at": null,
        "latency_trusted": false,
        "changed": {
          "count": 10,
          "truncated": false,
          "fields": [
            { "field": "income.Depreciation", "from": 151000000000.0, "to": null },
            { "field": "income.Share Of Associates", "from": 1950000000.0, "to": null },
            { "field": "income.Tax Expense", "from": 76290000000.0, "to": null }, …
          ]
        }
      }, …
    ]
  },
  "cached_at": "2026-11-25T04:39:28+00:00",
  "source": "bse-xbrl",
  "as_of": "2026-09-30"
}
```

Run on 6 Dec 2026 for Reliance and trimmed to one of the 10 versions returned (the company has 123 stored quarterly versions). The 10 were 6 corrected_reparse, 2 original and 2 revised; the revised row shown has 10 changed fields. Each field also carries a delta when from and to are both numbers.

## Which date do I use for a backtest?

| Field | Whose clock | Use it when |
| --- | --- | --- |
| `filed_at` | The exchange's, in IST | You need the date the company's figures were public. |
| `first_seen_at` | Ours, in UTC | You need the date this API could have answered. For a backfilled period it is later than filed_at. |

| You need | Field | Filter |
| --- | --- | --- |
| Figures public on a date | `filed_at` | Keep versions with filed_at on or before the date. |
| Company restatements only | `revision_kind` | `revision_kind=revised` on the feed. |
| Leave out our re-reads | `revision_kind` | Drop corrected_reparse. |
| Delay between filing and our copy | `latency_trusted` | Use only rows where it is true. |

The timestamps say when something was filed and when we held it. They do not turn a backtest into proof of anything, and a backfilled period will show a `first_seen_at` well after its `filed_at`.

## How do I tell a restatement from a re-parse?

| 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 full reference is [revisions and the change feed](https://dalalos.in/docs/changes-and-revisions). The code below lists fields a company changed in a later filing, with the figure that was public before it (the `from` value). Run on 6 Dec 2026 for Reliance with a backtest date of 2024-01-01, it returned 100 changed fields, the first being `income.Depreciation` for the quarter ended 30 June 2026, from 151,000,000,000 to null.

python, restated after a date

```
def restated_after(symbol: str, backtest_date: str) -> list[dict]:
    """Fields the company changed in a later filing, with the figure that was public before it."""
    data = get(f"stocks/{symbol}/financials/versions", period_type="quarterly", limit=50)
    rows = []
    for version in data["versions"]:
        if version["revision_kind"] != "revised" or version["filed_at"][:10] <= backtest_date:
            continue
        for field in (version["changed"] or {}).get("fields", []):
            rows.append({"period_end": version["period_end"], "filed_at": version["filed_at"], **field})
    return rows
```

Uses the get helper from the polling example below.

## How do I keep a local copy current?

`GET /v1/changes/financials` returns versions stored since a UTC timestamp, oldest first, ordered by when they became answerable on our side. Send back the `next_since` and `next_after_id` it returns. A fresh start reaches back 24 hours by default and at most 30 days; a saved cursor does not expire.

curl

```
curl -H "Authorization: Bearer isk_live_…" \
  "https://mcp.dalalos.in/v1/changes/financials?since=2026-12-04T00%3A00%3A00Z&limit=10"
```

response (trimmed)

```
{
  "status": "success",
  "data": {
    "since": "2026-12-04T00:00:00+00:00",
    "after_id": null,
    "count": 10,
    "has_more": true,
    "next_since": "2026-12-04T15:35:54+00:00",
    "next_after_id": 1500742,
    "changes": [
      {
        "version_id": 1499287,
        "period_end": "2025-06-30",
        "fiscal_label": "Q1 FY26",
        "period_type": "quarterly",
        "statement_type": "standalone",
        "revision_kind": "revised",
        "audited": null,
        "filed_at": "2025-09-25T10:28:12+05:30",
        "first_seen_at": "2026-12-04T15:35:44+00:00",
        "source": "bse-xbrl",
        "first_available_at": "2026-09-03T15:36:42.000Z",
        "first_available_route": "seeded",
        "latency_trusted": false,
        "isin": "INE102C01020",
        "name": "Kisaan Parivar Industries Ltd",
        "nse_symbol": null,
        "bse_code": "519230"
      }, …
    ]
  },
  "cached_at": "2026-12-04T15:35:54+00:00",
  "source": "bse-xbrl"
}
```

Run on 6 Dec 2026 with since=2026-12-04 and trimmed to one of 10 changes.

python, poll and save the cursor

```
import json
import os
import pathlib

import requests

BASE = "https://mcp.dalalos.in/v1"
session = requests.Session()
session.headers["Authorization"] = f"Bearer {os.environ['DALALOS_API_KEY']}"
STATE = pathlib.Path("financials_cursor.json")

def get(path: str, **params) -> dict:
    response = session.get(f"{BASE}/{path}", params=params, timeout=60)
    response.raise_for_status()
    return response.json()["data"]

def poll(handle) -> None:
    """Deliver each new filed version once. The cursor never expires, so save it between runs."""
    state = json.loads(STATE.read_text()) if STATE.exists() else {}
    while True:
        params = {"limit": 500, **state}  # a fresh start omits both and reaches back 24 hours by default
        data = get("changes/financials", **params)
        for change in data["changes"]:
            handle(change)
        if data["next_since"]:
            state = {"since": data["next_since"], "after_id": data["next_after_id"]}
            STATE.write_text(json.dumps(state))
        if not data["has_more"]:
            return
```

Run on 6 Dec 2026 with `handle` collecting rows, a fresh start delivered 2 changes from the previous 24 hours and saved a cursor, and a second run delivered 0.

## What about valuation ratios?

The [valuation history](https://dalalos.in/data-api/valuation-history) route uses only the trailing-twelve-month filing that was public on each date. It is calculated from prices, so it is internal use on every plan.

## What is not here

- No single `as_of` parameter on `/financials`: filter versions by `filed_at` yourself.
- Version depth varies by company. Reliance showed 123 stored quarterly versions on 6 Dec 2026; a newly listed company has few.
- The versions route lists changed fields, not a full statement for each version.

Use rights

Versions and the change feed are filings data. Showing data publicly needs Business+ and covers filings data only.

Last checked: 6 December 2026. Route behaviour and every code block, run against production on 6 Dec 2026.

## Get a key

Create a free key on the [keys page](https://dalalos.in/dashboard/keys), pull the versions for one company, then poll the feed. Plans are on [pricing](https://dalalos.in/pricing), and the [revisions reference](https://dalalos.in/docs/changes-and-revisions) covers the feed in full.

FAQ

## Common questions

What is point-in-time fundamental data?

The figures as they were public on a given date, before any later restatement.

Does DalalOS store restated figures separately from originals?

Yes. Each stored version of a period carries revision_kind, both timestamps and the fields that changed from the version before.

Which date avoids look-ahead bias?

filed_at, the exchange's filing time, is when the company's figures were public. first_seen_at is when DalalOS first held the filing and is later than filed_at for a backfilled period. latency_trusted is true only when the filing was stored live.

How do I tell a company restatement from a re-parse?

revision_kind is revised when the company refiled different figures and corrected_reparse when a later parser re-read the same filing and the company changed nothing.

Can I get financials as of a date in one call?

Not with a single parameter. The financials route has no as_of. Pull the versions and filter by filed_at yourself.

How do I stay current without sweeping every company?

Poll the change feed with the next_since and next_after_id it returns. The cursor does not expire.

How far back do versions go?

It varies by company. The earliest version is the first one DalalOS stored for that period, and for a backfilled period its first_seen_at is later than its filed_at.

Can I show the versions publicly?

On Business+, yes: versions and the change feed are filings data. Showing data publicly needs Business+ and covers filings data only.

## 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.

[Get started free →](https://dalalos.in/sign-in)

Account holders get product-update emails about every two weeks. Turn them off any time.

KEEP EXPLORING

- [Data API for Indian markets](https://dalalos.in/data-api)
- [Revisions and the change feed](https://dalalos.in/docs/changes-and-revisions)
- [Data provenance](https://dalalos.in/docs/data-provenance)
- [Company financials API](https://dalalos.in/data-api/company-financials)
- [XBRL financial statements API](https://dalalos.in/data-api/xbrl-financial-statements)
- [Valuation history API](https://dalalos.in/data-api/valuation-history)
- [Financials and peers routes](https://dalalos.in/docs/rest-api/financials-and-peers)
- [What you can display](https://dalalos.in/docs/display-rights)
- [Back to home](https://dalalos.in/)