Skip to content
Skip to Content
DalalOSdocs

GET /security-history/{symbol}

Daily bhavcopy history, any series

Daily rows for one NSE symbol or ISIN in every series it trades in (equity, SME, bonds, G-secs, fund units), prices as published, not split-adjusted.

In plain words: Daily rows from NSE's end-of-day trade file (the bhavcopy) for one symbol, in every series it trades in.

Try it

To test this route you need an API key on a plan that includes the REST API. Create one on the keys page of your dashboard, paste it into the Authorization field of the reference on this page and press Send. Your key stays in this browser tab.

Daily bhavcopy history, any series for RELIANCE
curl -H "Authorization: Bearer $DALALOS_API_KEY" "https://mcp.dalalos.in/v1/security-history/RELIANCE?days=10"
{
  "status": "success",
  "data": {
    "symbol": "RELIANCE",
    "series": null,
    "from": "2026-11-17",
    "to": "2026-11-27",
    "isin": "INE002A01018",
    "isins": [
      "INE002A01018"
    ],
    "instrument_class": "equity",
    "count": 8,
    "truncated": false,
    "adjusted": false,
    "results": [
      {
        "trade_date": "2026-11-27",
        "series": "EQ",
        "open": 1393.8,
        "high": 1398,
        "low": 1373.1,
        "close": 1382.6,
        "last": 1382.6,
        "prev_close": 1396.2,
        "volume": 12173225,
        "turnover": 16824840078.3,
        "num_trades": 249818,
        "deliv_qty": 6663541,
        "deliv_pct": 54.74
      },
      {
        "trade_date": "2026-11-26",
        "series": "EQ",
        "open": 1371.1,
        "high": 1401.7,
        "low": 1361.8,
        "close": 1396.2,
        "last": 1396.2,
        "prev_close": 1373.9,
        "volume": 20028816,
        "turnover": 27693763569.2,
        "num_trades": 272674,
        "deliv_qty": 9435244,
        "deliv_pct": 47.11
      }
    ],
    "coverage": {
      "first_date": "2021-11-08",
      "last_date": "2026-11-27"
    }
  },
  "cached_at": "2026-11-27T14:51:03+00:00",
  "source": "nse",
  "stale": false,
  "error": null,
  "reason_code": null,
  "data_age_seconds": 514.762
}

Saved answer. Run on 2026-11-27, answered 200. Lists show their first item in full; the other items and long text are shortened. A call you make now gets the current answer.

A call can also answer 402, 403, 409 or 429 when a plan's limit is reached; those are described on Plans, credits and errors.

Parameters and response

GET
/security-history/{symbol}

Authorization

bearerAuth
headerAuthorizationBearer <token>

DalalOS API key (isk_live_...) as a Bearer token. Create one in the DalalOS dashboard.

Path Parameters

symbol*string

NSE symbol, ISIN, or BSE code (retired tickers resolve via the alias map).

Query Parameters

series?string

One NSE series (default: all).

days?integer

Window (default 30, max 1825).

from?string

Optional ISO date (YYYY-MM-DD).

to?string

Optional ISO date (YYYY-MM-DD).

Response Body

Success (or success-with-empty when nothing is cached).

application/json
  1. response

Standard DalalOS response envelope. source is a per-tool provenance tag; stale/data_age_seconds describe cache freshness.

as_of?string

ISO date (YYYY-MM-DD) the data refers to: the trade date of the newest row, or the end date of the newest period. Present only on tools that state one; cached_at is the fetch time.

Formatdate
cached_at?string

ISO timestamp the served data was refreshed.

data?unknown

Tool payload (object or array); null on error.

data_age_seconds?number

Present only when cached_at is set.

error?string
reason_code?string

Stable machine-readable category (no_data, not_found, bad_request,...).

resolved_via?string

Present only when a query resolved via a rename/merger alias (rename, merger, demerger_successor; single-company result) or, on /v1/search, an everyday name (common_name: the company it means is the first row and carries the same resolved_via on the row; ordinary matches follow).

source?string
stale*boolean
status*string
Value in"success""error"

What comes back

The top-level fields of data in the saved answer, run on 2026-11-27. The fields can differ for another company or window.

Fields of data
FieldType
symbolstring
seriesnull
fromstring
tostring
isinstring
isinslist
instrument_classstring
countnumber
truncatedboolean
adjustedboolean
resultslist
coverageobject

Where the inputs come from

Errors

The errors every route can return (401, 402, 403, 429 and the rest) are on Plans, credits and errors.

In MCP

The MCP tool get_security_history reads the same data, for an AI assistant that connects over MCP, the Model Context Protocol, instead of REST.

Research data only. Answers are disclosed facts and mechanically computed figures. They are not investment advice.

KEEP EXPLORING