Skip to content
Skip to Content
DalalOSdocs

GET /stocks/{q}/quote

Latest quote

Latest EOD quote (price, OHLC, volume, computed ratios).

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.

Latest quote for RELIANCE
curl -H "Authorization: Bearer $DALALOS_API_KEY" "https://mcp.dalalos.in/v1/stocks/RELIANCE/quote"
{
  "status": "success",
  "data": {
    "isin": "INE002A01018",
    "nse_symbol": "RELIANCE",
    "price": 1382.6,
    "change": -13.6,
    "pct_change": -0.974072482452,
    "volume": 12173225,
    "market_cap": 18894130563700,
    "pe": 23.0092,
    "pb": 2.0007,
    "week52_high": 1611.8,
    "week52_low": 1152.2,
    "week52_high_unadjusted": 1611.8,
    "week52_low_unadjusted": 1152.2,
    "week52_adjustment_incomplete": 0,
    "day_open": 1393.8,
    "day_high": 1398,
    "day_low": 1373.1,
    "prev_close": 1396.2,
    "turnover": 16824840078.3,
    "num_trades": 249818,
    "deliv_pct": 54.74,
    "market_cap_source": "nse_daily_market_cap",
    "bse_reported": {
      "roe": 0.0836,
      "operating_margin": 0.1046,
      "net_margin": 0.0507,
      "note": "BSE ComHeader's own published figures (fractions) — a different, BSE-computed number from this project's XBRL-derived TTM ratios, not necessarily TTM or the …"
    },
    "week52": {
      "high": 1611.8,
      "low": 1152.2,
      "validity": "valid",
      "reason_codes": [],
      "reason_text": null,
      "reason_texts": {},
      "as_of": "2026-11-27"
    },
    "recent_dividends": [
      {
        "ex_date": "2026-06-05",
        "type": "final",
        "amount": 6
      }
    ],
    "upcoming_dividends": [],
    "dividend_yield": 0.0043,
    "currency": "INR",
    "vwap": 1382.1185,
    "pe_reason": null,
    "pe_reason_text": null,
    "pb_reason": null,
    "pb_reason_text": null
  },
  "cached_at": "2026-11-27T14:45:05+00:00",
  "source": "nse-bhavcopy",
  "stale": false,
  "error": null,
  "reason_code": null,
  "data_age_seconds": 901.726,
  "as_of": "2026-11-27",
  "freshness": {
    "version": 1,
    "stale": false,
    "price": {
      "basis": "end_of_day",
      "session": "2026-11-27",
      "market_latest_session": "2026-11-27",
      "fetched_at": "2026-11-27T14:45:05+00:00",
      "status": "latest_session"
    },
    "source_check": {
      "job": "refresh_quotes",
      "job_last_success_at": "2026-11-27T14:48:26+00:00",
      "status": "recent"
    },
    "reason_codes": [
      "end_of_day_price"
    ],
    "reason_text": "Closing price for Friday 27 Nov 2026, the latest trading session on file. This is not a live price."
  }
}

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
/stocks/{q}/quote

Authorization

bearerAuth
headerAuthorizationBearer <token>

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

Path Parameters

q*string

NSE symbol, ISIN, or BSE code.

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
isinstring
nse_symbolstring
pricenumber
changenumber
pct_changenumber
volumenumber
market_capnumber
penumber
pbnumber
week52_highnumber
week52_lownumber
week52_high_unadjustednumber
week52_low_unadjustednumber
week52_adjustment_incompletenumber
day_opennumber
day_highnumber
day_lownumber
prev_closenumber
turnovernumber
num_tradesnumber
deliv_pctnumber
market_cap_sourcestring
bse_reportedobject
week52object
recent_dividendslist
upcoming_dividendslist
dividend_yieldnumber
currencystring
vwapnumber
pe_reasonnull
pe_reason_textnull
pb_reasonnull
pb_reason_textnull

Where the inputs come from

  • q: An NSE symbol, an ISIN or a BSE code. Find one with GET /search.

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_stock_quote reads the same data, for an AI assistant that connects over MCP, the Model Context Protocol, instead of REST.

Notes

  • A null pe or pb carries pe_reason/pb_reason (a stable code) and *_reason_text (plain words); week52.reason_codes carry week52.reason_text/reason_texts.

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

KEEP EXPLORING