Skip to content

REST REFERENCE

DalalOS REST API

Use the REST surface when your script, dashboard, or service does not speak MCP. It exposes the same read-only data functions and JSON envelope under /v1.

Base URL: https://mcp.dalalos.in/v1. The live data surface currently documents all 44 GET routes.

Authentication

Send an API key from your dashboardas Authorization: Bearer isk_live_…. Keep keys server-side; never put them in browser code.

Envelope and example

curl -H "Authorization: Bearer isk_live_…" \
  "https://mcp.dalalos.in/v1/stocks/RELIANCE/quote"

{"status":"success","data":{...},"source":"nse-bhavcopy","cached_at":"…","stale":false}

Errors use {"status":"error","error":"…","reason_code":"…"}. Values are raw disclosed facts and mechanically-computed ratios; the API does not provide investment advice or recommendations.

Endpoint reference

Each route below links to the matching MCP tool reference. The REST and MCP surfaces use the same underlying data function.

Search & discovery

Search & discovery REST endpoints
MethodPathPurposeMCP tool
GET/searchSearch securitiessearch-stocks
GET/screenScreen stocks by mechanical filtersscreen-stocks
GET/sectorsList sector and industry aggregatesget-sector-overview
GET/sectors/{sector}Get one sector or industry aggregateget-sector-overview
GET/indicesList tracked indiceslist-indices
GET/indices/{index}/constituentsList index constituentslist-index-constituents
GET/indices/{index}/heatmapGet index constituents with multi-horizon returnsget-market-heatmap
GET/presetsList preset screenslist-preset-screens
GET/presets/{name}Run a preset screenrun-preset-screen

Quotes & prices

Quotes & prices REST endpoints
MethodPathPurposeMCP tool
GET/quotesGet batch quotesget-batch-quotes
GET/stocks/{q}/quoteGet the latest end-of-day quoteget-stock-quote
GET/stocks/{q}/price-historyGet historical OHLCV barsget-price-history
GET/stocks/{q}/returnsGet mechanical return statisticsget-returns
GET/stocks/{q}/delivery-trendsGet delivery trendsget-delivery-trends
GET/stocks/{q}/technical-indicatorsGet technical indicatorsget-technical-indicators

Financials & ratios

Financials & ratios REST endpoints
MethodPathPurposeMCP tool
GET/stocks/{q}/financialsGet financial statements and ratiosget-financials
GET/stocks/{q}/financial-trendsGet financial trendsget-financial-trends
GET/stocks/{q}/profileGet a company profileget-company-profile
GET/stocks/{q}/brsrGet BRSR filing dataget-brsr

Peer comparison

Peer comparison REST endpoints
MethodPathPurposeMCP tool
GET/stocks/{q}/peersCompare company peersget-peer-comparison

Ownership & risk

Ownership & risk REST endpoints
MethodPathPurposeMCP tool
GET/stocks/{q}/shareholdingGet shareholding dataget-shareholding
GET/stocks/{q}/pledge-trendGet promoter pledge trendsget-pledge-trend

Corporate actions & events

Corporate actions & events REST endpoints
MethodPathPurposeMCP tool
GET/stocks/{q}/dividendsGet dividend disclosuresget-dividends
GET/stocks/{q}/corporate-actionsGet corporate actionsget-corporate-actions
GET/stocks/{q}/eventsGet corporate events and filingsget-stock-events
GET/results-calendarGet upcoming resultsget-upcoming-results
GET/stocks/{q}/filings/{news_id}/extractExtract a filingget-filing-extract
GET/calendarGet the market event calendarget-market-calendar
GET/iposGet IPO calendar dataget-ipos
GET/bucketsList announcement bucketslist-announcement-buckets
GET/buckets/{bucket}Get one announcement bucketget-announcement-bucket

Market context

Market context REST endpoints
MethodPathPurposeMCP tool
GET/fii-diiGet FII/DII flowget-fii-dii-flow
GET/fii-dii/sectorsGet sector FII flowget-sector-fii-flow
GET/stocks/{q}/fii-activityGet security FII activityget-fii-activity
GET/index-valuationsList index valuationslist-index-valuations
GET/index-valuations/{index}Get one index valuationget-index-valuation
GET/india-vixGet India VIX dataget-india-vix
GET/market-breadthGet market breadthget-market-breadth
GET/fo-participant-activityGet F&O participant activityget-fo-participant-activity
GET/macro/indicatorsGet macro indicatorsget-macro-indicators
GET/macro/fx-ratesGet FX reference ratesget-fx-reference-rates
GET/stocks/{q}/bulk-block-dealsGet bulk and block dealsget-bulk-block-deals
GET/stocks/{q}/derivatives-positioningGet derivatives positioningget-derivatives-positioning

System

System REST endpoints
MethodPathPurposeMCP tool
GET/freshnessGet data freshnessget-data-freshness

MCP-only account tools

ping, get_watchlist, add_to_watchlist, andremove_from_watchlist are account-scoped MCP tools and have no public REST equivalent. See the tool reference for their behavior.

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.