---
title: "fpi_sector: FPI sector flows — eqdoc MCP tool"
description: "Which sectors foreign portfolio investors bought and sold, by fortnight or summed over a window. A tool in eqdoc's MCP server for Indian stocks."
url: "https://eqdoc.com/mcp/tools/fpi_sector"
---

# fpi_sector: FPI sector flows

Which sectors foreign portfolio investors bought and sold, by fortnight or summed over a window.

## What it returns

Net foreign portfolio investment by sector as NSDL publishes it, by fortnight or summed over a window, with the assets held.

## Inputs

| Input | Required | Note |
|---|---|---|
| `period_end` | no | end date of the last fortnight in the window; omit for the latest |
| `fortnights` | no | 1..24; default 1 |
| `limit` | no | 1..25; default 8 |

## Example questions

- Which sectors did FPIs sell most in the last month?
- Which sectors did foreign investors buy in the last quarter?
- How much do FPIs hold in banks?

## Related tools

- [institutional_flows](https://eqdoc.com/mcp/tools/institutional_flows): Daily net buying and selling by foreign and domestic institutions.
- [sector_moves](https://eqdoc.com/mcp/tools/sector_moves): How each sector moved at the last close, or over a week, a month or three months.
- [sector_overview](https://eqdoc.com/mcp/tools/sector_overview): All companies in a sector or industry with their key figures, largest first.
- [shareholding](https://eqdoc.com/mcp/tools/shareholding): Who owns the company: promoter, foreign, domestic institution and public holdings by quarter, with pledges.

## Data freshness

Prices and indicators are end of day, as of the last close. Company figures are as filed, each with its date. There are no live prices.

## More

- Part of the [Ownership & deals](https://eqdoc.com/mcp/tools#g-ownership) group in the [tool reference](https://eqdoc.com/mcp/tools).
- [Set up the eqdoc MCP server](https://eqdoc.com/mcp) in Claude, ChatGPT, Cursor and other AI apps.
- [Limits and what each message means](https://eqdoc.com/mcp/docs/limits)

## Main sections

- [Home: ask the research desk](https://eqdoc.com/)
- [Stock screener](https://eqdoc.com/screener)
- [EqScore](https://eqdoc.com/eqscore)
- [Exchange filings](https://eqdoc.com/filings)
- [Results calendar](https://eqdoc.com/results-calendar)
- [Bulk and block deals](https://eqdoc.com/deals)
- [Stocks: the largest companies and A to Z](https://eqdoc.com/stocks)
- [Sectors](https://eqdoc.com/sectors)
- [Sector reading guides](https://eqdoc.com/guides)
- [Pricing](https://eqdoc.com/pricing)
- [Accuracy and verification](https://eqdoc.com/accuracy)
- [About eqdoc](https://eqdoc.com/about)
- [MCP server for AI tools](https://eqdoc.com/mcp)
- [Contact](https://eqdoc.com/contact)
