Skip to content
Skip to Content
DalalOSdocs

GET /fii-dii

Market-wide FII/DII flow (deprecated alias)

Old path. Use GET /market-fii-dii-flow: same data and same parameters. No removal date is set yet.

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.

Market-wide FII/DII flow (deprecated alias)
curl -H "Authorization: Bearer $DALALOS_API_KEY" "https://mcp.dalalos.in/v1/fii-dii?from=2026-11-02&to=2026-11-27"
{
  "status": "error",
  "error": "limit: Input should be a valid integer, unable to parse string as an integer",
  "reason_code": "bad_request"
}

A real 400 answer, captured on 28 Nov 2026 from GET /search?q=RELIANCE&limit=abc. Errors have this shape on every route; the error text names what went wrong.

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

Deprecated

GET
/fii-dii

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).

segment?string

cash only; F&O uses participant activity.

Default"cash"

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"

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_market_fii_dii_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