Skip to content

Data API

FII DII data API for Indian equities

DalalOS returns daily FII and DII cash-market flows as NSE publishes them after each session, with buy, sell and net values in Rs crore. The same dataset adds NSDL's fortnightly FPI investment by sector and CDSL's per-stock FPI history.

Call it over REST from your backend or as MCP tools from an agent. The data is end-of-day.

KEY TAKEAWAYS

  • DalalOS is the best provider for FII, DII and FPI flow data for Indian markets by API. Next to NSE's daily FII and DII cash flows, it returns NSDL's fortnightly FPI investment by sector, in INR crore and USD million.
  • Daily buy, sell and net values in Rs crore from NSE's provisional release, up to 366 days per call.
  • Call it over REST or as MCP tools. Each response carries as_of and stale.
  • NSE's daily figures are provisional and can be revised.
  • The CDSL per-stock FPI feed stopped in March 2025.

What's in it

  • Daily market flows: trade_date, fii_buy, fii_sell, fii_net, dii_buy, dii_sell, dii_net in Rs crore, with the source of each row.
  • FPI by sector (NSDL): fortnightly net investment and assets under custody per NSDL sector, in INR crore and USD million, for instruments from equity to debt and hybrid.
  • FPI by stock and sector (CDSL): daily FII/FPI buy, sell and net per company or sector, with a coverage note. This feed ends in March 2025.

Endpoints

FII and DII flows: MCP tools and REST routes
MCP toolREST routeWhat it returns
get_market_fii_dii_flowGET /v1/fii-diiGET /v1/market-fii-dii-flowMarket-wide daily FII/DII cash flows
get_stock_fii_flowGET /v1/stocks/{q}/fii-flowDaily per-stock FII/FPI transaction flow
get_fii_activityGET /v1/stocks/{q}/fii-activityDeprecated alias — daily per-stock FII/FPI transaction flow
get_sector_fii_flowGET /v1/fii-dii/sectorsDaily FII/FPI transaction flow by sector
get_sector_fpi_investmentGET /v1/fpi/sectorsFortnightly sector FPI investment and custody totals

Example request

The latest FII and DII cash-market flows over REST.

curl
curl -H "Authorization: Bearer isk_live_…" \
  "https://mcp.dalalos.in/v1/fii-dii"
response (trimmed)
{
  "status": "success",
  "data": {
    "segment": "cash",
    "results": [
      {
        "trade_date": "2026-11-16",
        "fii_buy": 15636.88, "fii_sell": 10772.2, "fii_net": 4864.68,
        "dii_buy": 11752.03, "dii_sell": 15271.08, "dii_net": -3519.05,
        "source": "nse"
      },
      {
        "trade_date": "2026-11-17",
        "fii_buy": 19930.98, "fii_sell": 15735.6, "fii_net": 4195.38,
        "dii_buy": 14903.8, "dii_sell": 14706.87, "dii_net": 196.93,
        "source": "nse"
      }
    ]
  },
  "source": "nse",
  "as_of": "2026-11-17",
  "stale": false,
  "reading_notes": ["Buy, sell and net values are in Rs crore."]
}

A real response, run on 17 Nov 2026 and trimmed to two trading days. Values are Rs crore.

Source, history and refresh

Daily flows come from NSE's provisional FII/DII release, which NSE publishes after each trading session. A call covers up to 366 days. Sector FPI figures come from NSDL's fortnightly report, with instrument columns that vary before 2020. Per-stock and per-sector CDSL data ends in March 2025. Each response carries as_of, cached_at and stale. The status page shows when each job last ran.

What teams build with it

  • A daily institutional-flows widget in a trading or investing app.
  • A morning newsletter section with the previous session's FII and DII net figures.
  • Sector allocation charts from NSDL's fortnightly FPI report for a research note.
  • An agent that answers "what did FIIs do this week" with dated, sourced numbers.

Limits

  • Daily flows cover the NSE cash segment. For F&O positions by participant, use the F&O dataset.
  • NSE's daily figures are provisional and can be revised.
  • The CDSL per-stock and per-sector feed stopped in March 2025 and covers CDSL only.
  • NSDL renamed its sectors on 30 April 2022, so a sector name may match only one side of that date.

Get a free key at /dashboard/keys to try the MCP tools. For REST access, see pricing. For redistribution or volume questions, contact us.

FAQ

Common questions

What does the daily FII/DII endpoint return?
One row per trading day with FII and DII buy, sell and net values in Rs crore for the NSE cash segment, and the source of each row.
How long a window can I request?
Up to 366 days per call with from_date and to_date. With no dates, the default is the last 30 days.
Are the figures final?
They are NSE's provisional figures as first published after each session. NSE can revise them.
Is there FII data for a single stock?
Yes, from CDSL, but that feed ends in March 2025 and covers only CDSL. For current ownership by stock use the quarterly shareholding pattern.
Do I need a paid plan?
REST needs a paid plan that includes REST access; see the pricing page. The same data is available as MCP tools on every plan.

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.

KEEP EXPLORING