Skip to content
Skip to Content
DalalOSdocs

Tool reference

Sector-wise FII flow in Indian stocks

get_sector_fii_flow — Daily FII/FPI transaction flow by sector. 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_sector_fii_flow for you and answers from the figures it returns.

EXAMPLE PROMPTS

  • Which sectors saw the most reported FII activity in the latest CDSL data held?
  • Which sectors had the largest reported FII net buying in the latest CDSL data held?
  • Show daily FII transaction flow for the banking sector in the latest 30 days of CDSL data.

Parameters and response fields

get_sector_fii_flow

Daily FII/FPI transaction flow by sector

USE WHEN

Read available CDSL-sourced daily FII/FPI transaction activity aggregated by sector.

PARAMETERS

get_sector_fii_flow parameters
NameTypeRequiredDefaultDescription
from_datedateNo—ISO start date; the window is at most 366 days.
to_datedateNo—ISO end date.
sectorstringNo—Optional sector filter, matched whatever the case. A name that is not found returns the valid names (valid_sectors).

RESPONSE DATA

  • Sector-level daily transaction flow, totals, changes, coverage note, and effective_from and effective_to for the dates covered.

NOTES

  • CDSL-only coverage is partial, not a complete view of all FII/FPI activity.
  • The CDSL data ends in March 2025. With no dates given, the window is the 30 days up to the latest data held, not the last 30 days; with explicit dates it is as asked. For current sector flows use get_sector_fpi_investment.
Also available via REST: /fii-dii/sectors

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 /fii-dii/sectors. The call and the answer below were run against the live API.

Sector-wise FII flow
curl -H "Authorization: Bearer $DALALOS_API_KEY" "https://mcp.dalalos.in/v1/fii-dii/sectors?from=2026-11-10&to=2026-11-26"
{
  "status": "success",
  "data": {
    "from": "2026-11-10",
    "to": "2026-11-26",
    "effective_from": "2026-11-10",
    "effective_to": "2026-11-26",
    "window_basis": "explicit_dates",
    "data_latest_date": "2025-03-28",
    "window_note": "Window used: 2026-11-10 to 2026-11-26 as requested. The latest date held is 2025-03-28.",
    "sector": null,
    "count": 0,
    "depository": "cdsl",
    "coverage_note": "Sourced from CDSL's own Trade-Wise Equity Data of FII/FPI ONLY -- NSDL's per-stock trade data (India's other depository) is not ingested, so this is a PARTIA…",
    "coverage": {
      "source_scope": "cdsl_only",
      "dataset_status": "discontinued",
      "latest_data_date": "2025-03-28",
      "discontinued_after": "2025-03-31"
    },
    "results": [],
    "note": "The requested window starts after the data ends: the latest date held is 2025-03-28. CDSL stopped publishing after March 2025."
  },
  "cached_at": null,
  "source": "cdsl",
  "stale": true,
  "error": null,
  "reason_code": null
}

Saved answer. Run on 2026-11-27, answered 200. The API marked it stale ("stale": true): it answered from its last stored copy because a newer one was not available. 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.