Skip to content
Skip to Content
DalalOSdocs

GET /stocks/{q}/fii-flow

Per-stock FII flow

Per-stock daily FII/FPI transaction flow (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.

Per-stock FII flow for RELIANCE
curl -H "Authorization: Bearer $DALALOS_API_KEY" "https://mcp.dalalos.in/v1/stocks/RELIANCE/fii-flow?days=90"
{
  "status": "success",
  "data": {
    "isin": "INE002A01018",
    "nse_symbol": "RELIANCE",
    "name": "Reliance Industries Limited",
    "days": 90,
    "effective_from": "2024-12-28",
    "effective_to": "2025-03-28",
    "data_latest_date": "2025-03-28",
    "window_basis": "latest_data_held",
    "window_note": "This series covers the 90 days ending 2025-03-28, the latest date held for this security (not counted back from today). This is historical data: CDSL stopped…",
    "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"
    },
    "series": [
      {
        "trade_date": "2025-03-03",
        "buy_qty": 984758,
        "buy_value": 1156254654.2,
        "sell_qty": 5233968,
        "sell_value": 6118678049.24,
        "net_qty": -4249210,
        "net_value": -4962423395.04,
        "trade_count": 110
      },
      {
        "trade_date": "2025-03-04",
        "buy_qty": 2556148,
        "buy_value": 2976735771.52,
        "sell_qty": 4535386,
        "sell_value": 5280110291.81,
        "net_qty": -1979238,
        "net_value": -2303374520.29,
        "trade_count": 126
      }
    ],
    "summary": {
      "days": 30,
      "from_date": "2025-03-03",
      "to_date": "2025-03-28",
      "window_from": "2025-02-26",
      "window_to": "2025-03-28",
      "data_latest_date": "2025-03-28",
      "window_basis": "latest_data_held",
      "window_note": "This summary covers the 30 days ending 2025-03-28, the latest date held for this security (not counted back from today). This is historical data: CDSL stoppe…",
      "buy_qty": 75607483,
      "buy_value": 94926165510.6,
      "sell_qty": 94292157,
      "sell_value": 117404515270,
      "net_qty": -18684674,
      "net_value": -22478349759.6,
      "trade_count": 2388,
      "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…",
      "cached_at": "2026-07-13T20:06:19+00:00"
    }
  },
  "cached_at": "2026-07-13T20:06:19+00:00",
  "source": "cdsl",
  "stale": true,
  "error": null,
  "reason_code": null,
  "data_age_seconds": 11818418.16
}

Saved answer. Run on 2026-11-27, answered 200. The data in it was collected on 2026-07-13, not on the run date. 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
/stocks/{q}/fii-flow

Authorization

bearerAuth
headerAuthorizationBearer <token>

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

Path Parameters

q*string

NSE symbol, ISIN, or BSE code.

Query Parameters

days?integer

Lookback window (1..1825).

Default90

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
isinstring
nse_symbolstring
namestring
daysnumber
effective_fromstring
effective_tostring
data_latest_datestring
window_basisstring
window_notestring
depositorystring
coverage_notestring
coverageobject
serieslist
summaryobject

Where the inputs come from

  • q: An NSE symbol, an ISIN or a BSE code. Find one with GET /search.

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

Notes

  • Renamed from /stocks/{q}/fii-activity so the path carries "flow" like its /market-fii-dii-flow//fii-dii/sectors siblings; the old path is kept as a deprecated alias for this release.

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

KEEP EXPLORING