PunjiPUNJI
LLM.MD ↗

DEVELOPERS

Punji Data API

Real-time Indian mutual fund & stock market data, via one REST API.

Unlike free community NAV lookups such as mfapi.in, which cover historical NAV and basic scheme info, Punji's Data API adds computed rolling/point-to-point/SIP returns, risk metrics, category rank, holdings, and NSE stock data behind the same key.

How it compares to free NAV-only APIs

There are several good free, no-signup options for raw AMFI NAV data - mfapi.in and TigZig's AMFI NAV API among them. Punji's Data API covers the same NAV data plus everything past it - the layer both of those explicitly don't provide.

CAPABILITYPunji Data APImfapi.inTigZig AMFI NAV API
Historical NAVYesYesYes
Scheme metadata (AMC, category, ISIN)YesYesYes
AUMYesNoYes
Rolling / point-to-point / SIP returnsYesNoNo
Risk metrics (Sharpe, alpha, drawdown, etc.)YesNoNo
Category / AMC rankYesNoNo
Portfolio holdings & sector breakdownYesNoNo
NSE stock dataYesNoNo
Auth requiredAPI key (free, instant)NoneNone

Based on each provider's own published documentation as of 2026-09-16. mfapi.in and TigZig are genuinely useful, free, no-signup options if all you need is raw historical NAV - this table only covers what's on each provider's own docs, not a claim about data accuracy or reliability either way.

Base URL: https://api.punji.ai/v1/

Auth: X-API-Key header. Get a key free in-app (Settings → API Keys).

What's in it - full endpoint surface

MUTUAL FUNDS

Look up any AMFI-registered scheme by name, ISIN, or AMFI code, and pull its metadata, latest NAV, IDCW history, and behaviorally-similar peers.

  • Scheme search
  • Scheme resolve
  • Scheme detail
  • NAV latest
  • IDCW history
  • Similar-fund matches

RETURNS & RISK

Rolling, point-to-point, discrete, and SIP returns for any scheme, plus risk metrics, a peer-relative quality score, and category/AMC rank.

  • Point-to-point returns
  • Rolling returns
  • Discrete returns
  • SIP returns
  • Risk metrics
  • Quality score
  • Category/AMC rank

HOLDINGS

A scheme's sector breakdown, individual security-level holdings, and its market position relative to peers.

  • Sector breakdown
  • Security-level holdings
  • Market position

TAXONOMY

Reference data for building your own filters and screens - asset classes, categories, AMCs (with ranking), fund managers, and ranking-metric definitions.

  • Asset classes
  • Categories
  • AMCs
  • AMC ranking
  • Fund managers
  • Ranking-metrics reference
  • FoF sub-themes

FLOWS

Industry-wide mutual fund flow data, at both the category and individual-fund level.

  • Category-level flow data
  • Fund-level flow data

STOCKS

NSE-listed stock search, fundamentals, technicals, earnings, ownership, and market-activity data (corporate actions, deals, F&O sentiment).

  • Search
  • Resolve
  • Detail
  • Technicals
  • Quality
  • Earnings
  • Corporate actions
  • Deals
  • F&O sentiment
  • Shareholding

COMPARE

Side-by-side comparison across multiple schemes, with lookups by ISIN or AMFI code for exact matching.

  • Multi-scheme comparison
  • Lookup by ISIN
  • Lookup by AMFI code

Get started

  1. Sign in at chat.punji.ai
  2. Settings → API Keys → "Get free API access" (instant, no approval wait)
  3. Copy your key and call the API
curl -H "X-API-Key: pk_live_..." https://api.punji.ai/v1/taxonomy/asset-classes
const res = await fetch("https://api.punji.ai/v1/taxonomy/asset-classes", {
  headers: { "X-API-Key": "pk_live_..." },
});
const data = await res.json();
import requests

res = requests.get(
    "https://api.punji.ai/v1/taxonomy/asset-classes",
    headers={"X-API-Key": "pk_live_..."},
)
data = res.json()

Self-serve, no approval wait. Sign up → click "Get free API access" → key issued instantly. No sales call, no card.

Sample response

Rolling returns for Parag Parikh Flexi Cap Fund - Direct Plan - Growth - median/min/max annualized CAGR across every overlapping window, not just one trailing number.

GET https://api.punji.ai/v1/schemes/parag-parikh-flexi-cap-fund-direct-plan-growth-48b786/returns/rolling

[
  { "duration_years": 1, "min_cagr_pct": -21.2652, "max_cagr_pct": 100.0569, "median_cagr_pct": 17.3433, "calc_as_of": "2026-09-14" },
  { "duration_years": 3, "min_cagr_pct": 0.742,   "max_cagr_pct": 37.6443,  "median_cagr_pct": 19.2866, "calc_as_of": "2026-09-14" },
  { "duration_years": 5, "min_cagr_pct": 4.1806,  "max_cagr_pct": 33.6188,  "median_cagr_pct": 19.09,   "calc_as_of": "2026-09-14" },
  { "duration_years": 7, "min_cagr_pct": 14.1952, "max_cagr_pct": 22.3035,  "median_cagr_pct": 19.2757, "calc_as_of": "2026-09-14" },
  { "duration_years": 10, "min_cagr_pct": 16.8544, "max_cagr_pct": 21.5043, "median_cagr_pct": 18.9819, "calc_as_of": "2026-09-14" }
]

More runnable examples (fund/stock resolve, SIP returns, compare, deals, industry flows) are in theindian-market-data-api-examples repo on GitHub.

Pricing

PLANPRICELIMIT
Free₹010 calls/minute, 7 calls/hour, 50 calls/day, across up to 20 distinct funds or stocks per calendar month, shared with Punji Chat - self-serve key, instant, no card
Higher volumeContact usQuote-based - contact@punji.ai

What each tier includes

Tiers gate two things: which metric categories you get, and how far back each window goes. Paid tiers are quote-based.

METRICFREEBRONZESILVERGOLD
MUTUAL FUND RETURNS
Rolling CAGR (min / max / median)1Y, 3Y1Y, 3Y1Y, 3Y, 5Y1Y to 10Y
Rolling SIP XIRR3Y3Y3Y, 5Y3Y to 10Y
Rolling percentiles (P25 / P75)---All windows
Benchmark-beat %--1Y, 3Y1Y to 10Y
Calendar / financial-year returnsLast 3Last 3Last 5All
MUTUAL FUND RISK AND RANK
Excess return, std dev vs benchmark3Y3Y3Y, 5Y3Y, 5Y
Sharpe, Sortino, alpha, beta, max drawdown--3Y3Y, 5Y
Treynor, Calmar, info ratio, R2, tracking error, capture ratios---3Y, 5Y
Category rank: returns1Y, latest, CY/FY1Y, latest, CY/FY+ 3Y, 5Y+ 7Y, 10Y
Category rank: risk--3Y, 5Y+ 7Y, 10Y
Category rank: cost, size, stewardship---All windows
Fund health score (Quality, Safety, Compound)--3Y3Y, 5Y
MUTUAL FUND PORTFOLIO AND MARKET
Sector allocation, valuations, asset allocationYesYesYesYes
Top holdingsTop 10Top 10Top 25Top 50
Portfolio turnover--YesYes
Similar funds--YesYes
Overlap between compared funds--Overlap %+ shared securities, look-through
Dividend (IDCW) historyLast 4Last 4Last 12All
Category share of industry AUM--12 quartersAll
PricingFreeContact usContact usContact us

Always on at every tier: scheme and stock search, scheme detail, latest NAV, taxonomy, category and AMC listings, and trailing 1W to 6M returns. Windows are trailing (today minus 1Y, 3Y, and so on). Free has the same depth as Bronze, capped to 20 distinct funds and stocks a month.

FAQ

Is there a free API for Indian mutual fund data?

Yes - Punji's Data API has a free, self-serve tier: sign in at chat.punji.ai, go to Settings → API Keys, and click "Get free API access" for an instant key, no card or approval wait. The free tier allows 10 calls a minute, 7 an hour, 50 a day, across up to 20 distinct funds or stocks a calendar month.

What are the Punji Data API tiers?

Four tiers: Free, Bronze, Silver and Gold. Tiers gate two things: which metric categories you get (for example risk ratios, health scores, overlap, advanced technicals) and how far back each window goes (for example rolling returns of 1 and 3 years on Free and Bronze, up to 10 years on Gold). Free has the same depth as Bronze, capped to 20 distinct funds and stocks a month. The full tier table is on this page. Pricing for Bronze, Silver and Gold is quote-based: contact us.

How much does the Punji Data API cost?

The Free tier costs nothing and needs no card. Bronze, Silver and Gold are quote-based, sized to the metric categories and history depth you need. Contact us for a quote.

How do I get mutual fund NAV data using Python?

Call the Data API with the requests library, passing your key in the X-API-Key header - see the Python example above for the exact pattern (swap the endpoint path for a NAV-history or NAV-latest call).

Is there a REST API for NSE stock data?

Yes - the same Data API covers NSE stock search, detail, technicals, earnings, shareholding, F&O sentiment, and corporate actions, alongside its mutual fund endpoints.

How do I calculate mutual fund rolling returns via an API?

Call the Returns & Risk group's rolling-returns endpoint for a scheme - it returns median/min/max annualized CAGR for each rolling window (1 and 3 years on Free and Bronze, up to 10 years on Gold), computed across every overlapping period in the fund's history, not just one trailing number. See the sample JSON response above.

Does Punji's Data API support JavaScript/Node.js?

Yes - it's a plain REST API over HTTPS, so any HTTP client works. The JavaScript example above uses the native fetch API with no SDK required.

Is there an alternative to mfapi.in with more than just NAV data?

Yes - Punji's Data API covers the same historical NAV and scheme metadata that free NAV-only tools like mfapi.in provide, plus computed rolling/point-to-point/SIP returns, risk metrics, category rank, portfolio holdings, and NSE stock data under the same key. See the comparison table above for exactly what each covers.

How do I access AMFI mutual fund data in Python?

AMFI itself doesn't publish a public API - it only posts raw NAV text files, which is why community layers like Punji's Data API and mfapi.in exist to serve that data as structured JSON. In Python, that just means an HTTP GET with the requests library and your API key in the X-API-Key header, the same pattern as any REST API - no AMFI-specific SDK needed.