DEVELOPERS
Punji Data API
Real-time Indian mutual fund & stock market data, via one REST API.
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
INDICES
Benchmark index levels, constituents, technicals, and earnings for Nifty/Sensex and sector/market-cap indices.
- Detail
- Constituents
- Earnings
- Technicals
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
- Sign in at chat.punji.ai
- Settings → API Keys → "Get free API access" (instant, no approval wait)
- 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" }
]Pricing
| PLAN | PRICE | LIMIT |
|---|---|---|
| Free | ₹0 | Self-serve key, instant, no card |
| Higher volume | Contact us | Quote-based - Sales@cloudoptics.io |
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.
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 and index 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/3/5/7/10-year), 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.