Skip to content
Skip to Content
DalalOSdocs

Tool reference

Prices for several Indian stocks in one request

get_batch_quotes — Quotes for up to 20 stocks in one call. This is a read-only research or operational tool. It does not place trades or issue investment recommendations.

What you can ask

Connect DalalOS to Claude or ChatGPT and ask in plain English; the assistant calls get_batch_quotes for you and answers from the figures it returns.

EXAMPLE PROMPTS

  • Give me quotes for RELIANCE, TCS, HDFCBANK, INFY and ICICIBANK.
  • Compare the latest closing price and P/E of SBIN, PNB and BANKBARODA.
  • Quotes for NIFTY IT heavyweights: TCS, INFY, WIPRO and HCLTECH.

Parameters and response fields

get_batch_quotes

Quotes for up to 20 stocks in one call

USE WHEN

The same data as get_stock_quote, for a whole watchlist at once — one bad ticker never fails the rest.

PARAMETERS

get_batch_quotes parameters
NameTypeRequiredDefaultDescription
symbolslist[string]Yes—Up to 20 symbols, ISINs or codes.

RESPONSE DATA

  • A per-symbol array: query, status, quote, cached_at, error, reason_code.
Also available via REST: /quotes

See the same data on DalalOS

Public pages that need no sign-in and show data from the same source.

The same data over REST, run on 2026-11-27

This tool reads the same data as GET /quotes. The call and the answer below were run against the live API.

Batch EOD quotes
curl -H "Authorization: Bearer $DALALOS_API_KEY" "https://mcp.dalalos.in/v1/quotes?symbols=RELIANCE%2CTCS%2CINFY"
{
  "status": "success",
  "data": [
    {
      "query": "RELIANCE",
      "status": "success",
      "quote": {
        "isin": "INE002A01018",
        "nse_symbol": "RELIANCE",
        "price": 1382.6,
        "change": -13.6,
        "pct_change": -0.974072482452,
        "volume": 12173225,
        "market_cap": 18710088037000,
        "pe": 22.7851,
        "pb": 1.9812,
        "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",
      "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."
      },
      "error": null,
      "reason_code": null,
      "resolved_via": null,
      "source": "nse-bhavcopy"
    }
  ],
  "cached_at": "2026-11-27T14:45:05+00:00",
  "source": "nse-bhavcopy",
  "stale": false,
  "error": null,
  "reason_code": null,
  "data_age_seconds": 4056.57
}

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.

KEEP EXPLORING

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.