GENKA 原価 · Docs / Ecosystem

Ecosystem · Free data All ecosystem services mfapi.in ↗

mfapi.in — free MF NAV history

The unsung free REST endpoint for AMFI mutual fund NAVs. We use it ourselves.

What it's great at. mfapi.in mirrors AMFI's daily NAV file as a clean REST endpoint — one URL per scheme, no key, no quota. The data is the same canonical AMFI NAV that every Indian MF distributor uses. We seeded our 20y NAV history from mfapi ourselves before adding daily AMFI ingest of our own. For NAV-only workloads, this is the right answer. Compose with Genka when you need risk metrics (Sharpe / Sortino / max-DD), the SEBI category taxonomy, a screener across 4,700 funds, holdings, or backtester — data mfapi doesn't compute.

Decision matrix

If you needPick
Daily NAV history for one fund (by scheme code)mfapi.in
Free, no-key access for a script or hobby projectmfapi.in
Bulk NAV seed for your own pipelinemfapi.in
Filter 4,700 funds by Sharpe / Sortino / max-DD across rolling windowsGenka
SEBI category taxonomy + theme/factor facetsGenka
Multi-fund portfolio backtester with survivorship transparencyGenka
Holdings + holdings overlap between two fundsGenka
Time-travel via as_of for a specific past dateGenka
MCP-native tool catalog for an agentGenka

What mfapi.in is great at

Where Genka complements mfapi

Compose them

mfapi for ad-hoc NAV pulls; Genka for the screener / backtester / agent loop:

# Quick NAV check via mfapi (no key):
import requests
nav = requests.get("https://api.mfapi.in/mf/122639/latest").json()
# → {"meta": {...}, "data": [{"date":"...","nav":"..."}]}

# Screen 4,700 funds by 3y Sharpe via Genka MCP:
# (in Claude Code) "Find flexi-cap funds with 3y Sharpe over 0.9"
# → mf_screener returns ranked list with metric breakdowns

# Backtest a two-fund portfolio with monthly rebalance:
# mf_backtest({ from, to, allocation: [...], rebalance: "monthly" })

Relevant Genka endpoints

Full catalog: /llms.txt

Working with mfapi.in — gotchas

Other ecosystem services