Home / Developers / Mutual Fund Flows API (Form N-PORT)
API reference

Mutual Fund Flows API (Form N-PORT)

Monthly fund flows from Form N-PORT: sales, reinvestments, redemptions and net flow of every fund series in a trust, for each of the three months a quarterly report covers. Ask by trust CIK or by a fund ticker, per series or summed per trust, with the source filing on every series row. Product overview →

Endpoints

/v1/fund-flows

GEThttps://secfeedapi.com/v1/fund-flows

Monthly sales, reinvestments, redemptions and net flow of a fund from its Form N-PORT filings, with the source accession; per series or summed per registrant.

ParameterTypeDescriptionExample
tickerstringA mutual fund or ETF ticker, resolved to its trust's CIK.VFIAX
cikintegerThe trust (registrant) CIK, instead of ticker.36405
seriesIdstringOnly this fund series, for example S000002848.S000002848
startDatestringFirst month end to include, YYYY-MM-DD.2026-01-01
endDatestringLast month end to include, YYYY-MM-DD.2026-06-30
bystringseries (one row per series and month) or registrant (summed per month). Default series.registrant
sizeintegerRows, newest month first, max 120. Default 24.6
  • Send ticker or cik. A ticker returns every series of the fund's trust; add seriesId to keep one fund.
  • Each N-PORT reports three months, so one filing gives three rows per series. The newest filing for a series and month wins (amendments replace originals).
  • netFlow is sales plus reinvestments minus redemptions, in US dollars as reported.
  • Funds that do not report flows, such as some closed-end funds, show zeros.

Request examples

Every response below is real output from the API, trimmed to the first records.

Flows of a fund family, per series

The latest month of each series in the trust, with sales, reinvestments, redemptions, net flow and the N-PORT accession.

curl -H "Authorization: Bearer $SECFEED_KEY" \
  "https://secfeedapi.com/v1/fund-flows?cik=36405&size=3"
import os, requests

r = requests.get(
    "https://secfeedapi.com/v1/fund-flows",
    params={'cik': '36405', 'size': '3'},
    headers={"Authorization": f"Bearer {os.environ['SECFEED_KEY']}"},
    timeout=60,
)
r.raise_for_status()
print(r.json())
{
  "cik": 36405,
  "by": "series",
  "total": 3,
  "flows": [
    {
      "seriesId": "S000012757",
      "seriesName": "VANGUARD MORNINGSTAR MID-CAP VALUE INDEX FUND",
      "accessionNo": "0000036405-26-000652",
      "filed": "2026-11-27",
      "netAssetsAtPeriodEnd": 36771278409.06,
      "month": "2026-09",
      "monthEnd": "2026-09-30",
      "sales": 821357484.580002,
      "reinvestments": 65002085.33,
      "redemptions": 1012160514.87,
      "netFlow": -125800944.95999801
    },
    {
      "seriesId": "S000012756",
      "seriesName": "VANGUARD MORNINGSTAR MID-CAP GROWTH INDEX FUND",
      "accessionNo": "0000036405-26-000655",
      "filed": "2026-11-27",
      "netAssetsAtPeriodEnd": 33201431416.71,
      "month": "2026-09",
      "monthEnd": "2026-09-30",
      "sales": 1203837078.07001,
      "reinvestments": 15920200.5,
      "redemptions": 1091065646.73,
      "netFlow": 128691631.84000993
    }
  ],
  "source": "U.S. Securities and Exchange Commission, EDGAR: Form N-PORT filings (public). Flows as each fund reported them.",
  "note": "Sales, reinvestments and redemptions in US dollars for each of the three months of the reporting quarter, as the fund reported them in Form N-PORT (Part B item 5). Funds that do not report flows (for example some closed-end funds) show zeros. Not investment advice."
}

Net flow of a whole trust by month

Monthly totals summed over every series, with the number of series that reported.

curl -H "Authorization: Bearer $SECFEED_KEY" \
  "https://secfeedapi.com/v1/fund-flows?cik=36405&by=registrant&size=3"
import os, requests

r = requests.get(
    "https://secfeedapi.com/v1/fund-flows",
    params={'cik': '36405', 'by': 'registrant', 'size': '3'},
    headers={"Authorization": f"Bearer {os.environ['SECFEED_KEY']}"},
    timeout=60,
)
r.raise_for_status()
print(r.json())
{
  "cik": 36405,
  "by": "registrant",
  "total": 3,
  "flows": [
    {
      "month": "2026-09",
      "monthEnd": "2026-09-30",
      "series": 12,
      "sales": 127886899623.6102,
      "reinvestments": 6889640174.04,
      "redemptions": 151511798103.40997,
      "netFlow": -16735258305.759796
    },
    {
      "month": "2026-08",
      "monthEnd": "2026-08-31",
      "series": 12,
      "sales": 81348419332.08972,
      "reinvestments": 3343.5399999999995,
      "redemptions": 67545743576.159996,
      "netFlow": 13802679099.469723
    }
  ],
  "source": "U.S. Securities and Exchange Commission, EDGAR: Form N-PORT filings (public). Flows as each fund reported them.",
  "note": "Sales, reinvestments and redemptions in US dollars for each of the three months of the reporting quarter, as the fund reported them in Form N-PORT (Part B item 5). Funds that do not report flows (for example some closed-end funds) show zeros. Not investment advice."
}

One fund over time

Six months of flows for a single series.

curl -H "Authorization: Bearer $SECFEED_KEY" \
  "https://secfeedapi.com/v1/fund-flows?cik=36405&seriesId=S000002848&size=6"
import os, requests

r = requests.get(
    "https://secfeedapi.com/v1/fund-flows",
    params={'cik': '36405', 'seriesId': 'S000002848', 'size': '6'},
    headers={"Authorization": f"Bearer {os.environ['SECFEED_KEY']}"},
    timeout=60,
)
r.raise_for_status()
print(r.json())
{
  "cik": 36405,
  "by": "series",
  "total": 6,
  "flows": [
    {
      "seriesId": "S000002848",
      "seriesName": "VANGUARD MORNINGSTAR TOTAL STOCK MARKET INDEX FUND",
      "accessionNo": "0000036405-26-000663",
      "filed": "2026-11-27",
      "netAssetsAtPeriodEnd": 2322399492132.42,
      "month": "2026-09",
      "monthEnd": "2026-09-30",
      "sales": 20852261176.2002,
      "reinvestments": 3875970961.45,
      "redemptions": 22565813949.66,
      "netFlow": 2162418187.9902
    },
    {
      "seriesId": "S000002848",
      "seriesName": "VANGUARD MORNINGSTAR TOTAL STOCK MARKET INDEX FUND",
      "accessionNo": "0000036405-26-000663",
      "filed": "2026-11-27",
      "netAssetsAtPeriodEnd": 2322399492132.42,
      "month": "2026-08",
      "monthEnd": "2026-08-31",
      "sales": 25754607605.8198,
      "reinvestments": 11.64,
      "redemptions": 32288177304.29,
      "netFlow": -6533569686.8302
    }
  ],
  "source": "U.S. Securities and Exchange Commission, EDGAR: Form N-PORT filings (public). Flows as each fund reported them.",
  "note": "Sales, reinvestments and redemptions in US dollars for each of the three months of the reporting quarter, as the fund reported them in Form N-PORT (Part B item 5). Funds that do not report flows (for example some closed-end funds) show zeros. Not investment advice."
}

Response fields

FieldTypeMeaning
cikintegerThe trust CIK.
bystringseries or registrant.
totalintegerRows returned.
flows[].seriesIdstringby=series: SEC series id.
flows[].seriesNamestringby=series: fund name.
flows[].accessionNostringby=series: the N-PORT filing.
flows[].filedstringby=series: filing date.
flows[].netAssetsAtPeriodEndnumberby=series: net assets at the end of the reporting quarter.
flows[].monthstringCalendar month, YYYY-MM.
flows[].monthEndstringLast day of that month.
flows[].seriesintegerby=registrant: number of series summed.
flows[].salesnumberShares sold in the month, in dollars.
flows[].reinvestmentsnumberDividends and distributions reinvested.
flows[].redemptionsnumberShares redeemed or repurchased.
flows[].netFlownumbersales + reinvestments minus redemptions.
sourcestringWhere the data comes from.
notestringMethod and caveats.

How to

How do I get the flows of a fund by its ticker?

Pass the ticker; every series of its trust comes back. Add seriesId to keep one.

curl -H "Authorization: Bearer $SECFEED_KEY" \
  "https://secfeedapi.com/v1/fund-flows?ticker=VFIAX&size=2"
How do I get one total per month for a fund family?

Use by=registrant.

curl -H "Authorization: Bearer $SECFEED_KEY" \
  "https://secfeedapi.com/v1/fund-flows?cik=36405&by=registrant&size=6"
How do I keep one fund series?

Add seriesId from a series row.

curl -H "Authorization: Bearer $SECFEED_KEY" \
  "https://secfeedapi.com/v1/fund-flows?cik=36405&seriesId=S000002848&size=3"
How do I limit the months?

Use startDate and endDate on the month end.

curl -H "Authorization: Bearer $SECFEED_KEY" \
  "https://secfeedapi.com/v1/fund-flows?cik=36405&by=registrant&startDate=2026-01-01&endDate=2026-06-30"
How far back can I go?

Raise size up to 120 rows; history follows the N-PORT filings stored for the trust.

curl -H "Authorization: Bearer $SECFEED_KEY" \
  "https://secfeedapi.com/v1/fund-flows?cik=36405&by=registrant&size=24"
Where do the numbers come from?

Each series row carries the accession of its N-PORT filing (Part B item 5).

curl -H "Authorization: Bearer $SECFEED_KEY" \
  "https://secfeedapi.com/v1/fund-flows?cik=36405&size=1"
How do I compare inflows across a trust's funds?

Read the series rows for the same month and sort by netFlow.

curl -H "Authorization: Bearer $SECFEED_KEY" \
  "https://secfeedapi.com/v1/fund-flows?cik=36405&size=12"
Why are a fund's flows zero?

Some funds, for example certain closed-end funds, do not report flows and file zeros.

curl -H "Authorization: Bearer $SECFEED_KEY" \
  "https://secfeedapi.com/v1/fund-flows?cik=36405&size=3"

Errors

  • 400 when neither ticker nor cik is given.
  • 400 when by is not series or registrant, or size is not a number.

See also the error codes every endpoint shares.

Try it with your own key

Free key, no card needed.

Get free API key →