Skip to content
Skip to Content
DalalOSdocs

GET /fpi/sectors

Sector-wise FPI investment (NSDL)

Fortnightly FPI net investment and assets under custody by NSDL sector, across both depositories (INR crore and USD million).

In plain words: Foreign portfolio investment in each sector, every fortnight, from the depository NSDL.

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 FPI investment (NSDL)
curl -H "Authorization: Bearer $DALALOS_API_KEY" "https://mcp.dalalos.in/v1/fpi/sectors?from=2026-08-01&instrument=equity"
{
  "status": "success",
  "data": {
    "from": "2026-08-01",
    "to": "2026-11-27",
    "sector": null,
    "instrument": "equity",
    "count": 175,
    "latest_period_end": "2026-11-15",
    "periods": [
      {
        "period_start": "2026-08-01",
        "period_end": "2026-08-15",
        "taxonomy": "bse_common",
        "discrepancies": []
      },
      {
        "period_start": "2026-08-16",
        "period_end": "2026-08-31",
        "taxonomy": "bse_common",
        "discrepancies": []
      }
    ],
    "coverage_note": "Sourced from NSDL's Fortnightly Sector-wise FPI Investment data, which covers every FPI across both depositories (NSDL and CDSL). Figures are as NSDL publish…",
    "results": [
      {
        "period_start": "2026-08-01",
        "period_end": "2026-08-15",
        "taxonomy": "bse_common",
        "sector": "Financial Services",
        "row_kind": "sector",
        "parent_sector": null,
        "instrument": "equity",
        "net_inr_cr": 6535,
        "net_usd_mn": 685,
        "auc_inr_cr": 2108866,
        "auc_usd_mn": 220994
      },
      {
        "period_start": "2026-08-01",
        "period_end": "2026-08-15",
        "taxonomy": "bse_common",
        "sector": "Automobile and Auto Components",
        "row_kind": "sector",
        "parent_sector": null,
        "instrument": "equity",
        "net_inr_cr": 4405,
        "net_usd_mn": 462,
        "auc_inr_cr": 557414,
        "auc_usd_mn": 58413
      }
    ]
  },
  "cached_at": "2026-11-18T15:03:02+00:00",
  "source": "nsdl",
  "stale": false,
  "error": null,
  "reason_code": null,
  "data_age_seconds": 777266.941,
  "as_of": "2026-11-15"
}

Saved answer. Run on 2026-11-27, answered 200. The data in it was collected on 2026-11-18, not on the run date. 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
/fpi/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), matched to period_end.

to?string

Optional ISO date (YYYY-MM-DD), matched to period_end.

sector?string

Optional NSDL sector label (case-insensitive).

instrument?string

equity | debt_general | debt_vrr | debt_far | hybrid | aif | total | mf_equity | mf_debt | mf_hybrid | mf_solution_oriented | mf_other.

Default"equity"
include_subsectors?boolean

Also return pre-2022 nested sub-sector rows.

Defaultfalse

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
sectornull
instrumentstring
countnumber
latest_period_endstring
periodslist
coverage_notestring
resultslist

Where the inputs come from

  • sector: An NSDL sector label, 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_fpi_investment 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