Skip to content
Skip to Content
DalalOSdocs

GET /fii-dii/sectors

Sector-wise FII flow

Daily FII/FPI net flow aggregated by sector (CDSL-only coverage).

In plain words: Historical only: the source, the depository CDSL, stopped publishing these figures in March 2025.

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.

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.

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
/fii-dii/sectors

Authorization

bearerAuth
headerAuthorizationBearer <token>

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

Query Parameters

from?string

Optional ISO date (YYYY-MM-DD).

to?string

Optional ISO date (YYYY-MM-DD).

sector?string

Optional sector filter.

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
fromstring
tostring
effective_fromstring
effective_tostring
window_basisstring
data_latest_datestring
window_notestring
sectornull
countnumber
depositorystring
coverage_notestring
coverageobject
resultslist
notestring

Where the inputs come from

  • sector: A sector name, as in the sector field of an unfiltered call to this route.

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

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

KEEP EXPLORING