← 返回
开发者工具 中文

Npsnav

Query Indian NPS (National Pension System) fund NAV data, scheme info, returns, and history via the free npsnav.in REST API.
使用免费 npsnav.in REST API 查询印度国家养老金系统(NPS)基金的净值、计划信息、收益率及历史数据。
kanaksinghal
开发者工具 clawhub v0.1.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 514
下载
💾 47
安装
1
版本
#latest

概述

NPS NAV Skill

Query Indian NPS (National Pension System) fund data — NAV, scheme info, returns, history — using the free npsnav.in API.

Setup

No authentication or API keys required. The API is completely free for non-commercial use.

Ensure curl and jq are installed.

What is an NPS Scheme Code?

NPS scheme codes follow the format SM followed by 6 digits (e.g. SM001001). Each code uniquely identifies an NPS fund managed by a Pension Fund Manager (PFM). Scheme codes can be discovered via the Schemes API or from the full list of NPS funds.

Base URL

https://npsnav.in/api

Usage

Get latest NAV for a scheme (plain text)

The simplest endpoint — returns just the NAV number as plain text. Perfect for spreadsheets and quick lookups.

curl -s "https://npsnav.in/api/SM001001"
# → 46.7686

List all scheme codes

curl -s "https://npsnav.in/api/schemes" | jq '.data[] | {code: .[0], name: .[1]}'

Get latest NAV for all funds (detailed)

curl -s "https://npsnav.in/api/latest" | jq '.data[:5]'

Get latest NAV for all funds (minimal)

curl -s "https://npsnav.in/api/latest-min" | jq '.data[:5]'

Get detailed fund data with returns

curl -s "https://npsnav.in/api/detailed/SM001001" | jq '.'

Get historical NAV data

curl -s "https://npsnav.in/api/historical/SM001001" | jq '.data[:5]'

More Examples

# Get NAV for SBI Pension Fund (Central Govt)
curl -s "https://npsnav.in/api/SM001001"

# List all NPS scheme names
curl -s "https://npsnav.in/api/schemes" | jq '.data[] | .[1]'

# Get detailed data with returns for a scheme
curl -s "https://npsnav.in/api/detailed/SM001001" | jq '{name: .["Scheme Name"], nav: .NAV, "1Y": .["1Y"], "3Y": .["3Y"]}'

# Get latest NAV and date for all funds
curl -s "https://npsnav.in/api/latest" | jq '.data[] | {code: .["Scheme Code"], name: .["Scheme Name"], nav: .NAV}'

# Get historical NAV for a scheme
curl -s "https://npsnav.in/api/historical/SM001001" | jq '[.data[0], .data[-1]] | {latest: .[0], oldest: .[1]}'

# Find a scheme by name (filter from schemes list)
curl -s "https://npsnav.in/api/schemes" | jq '.data[] | select(.[1] | test("HDFC")) | {code: .[0], name: .[1]}'

Endpoints Reference

MethodEndpointDescriptionResponse
-----------------------------------------------------------------------------------------
GET/api/schemesList all scheme codes and namesJSON
GET/api/{scheme_code}Latest NAV for a schemePlain text
GET/api/latestLatest NAV for all funds (detailed)JSON
GET/api/latest-minLatest NAV for all funds (minimal)JSON
GET/api/detailed/{scheme_code}Fund data with returnsJSON
GET/api/historical/{scheme_code}Historical NAV dataJSON

Notes

  • Scheme codes follow the format SM + 6 digits (e.g. SM001001)
  • Dates in responses use DD-MM-YYYY format
  • The Simple API (/api/{scheme_code}) returns plain text, not JSON
  • The /api/schemes endpoint returns all ~151 NPS schemes
  • No API keys or rate limits; unlimited non-commercial usage
  • Data is sourced from Protean eGov Technologies and NPS Trust

版本历史

共 1 个版本

  • v0.1.0 当前
    2026-03-30 08:12 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

developer-tools

CodeConductor.ai

larsonreever
AI驱动平台,提供快速全栈开发、智能体、工作流自动化及低代码AI集成的可扩展产品创建。
★ 66 📥 179,936
developer-tools

Gog

steipete
Google Workspace 命令行工具,支持 Gmail、日历、云端硬盘、通讯录、表格和文档。
★ 921 📥 185,755
developer-tools

Agent Browser

matrixy
专为AI智能体优化的无头浏览器自动化CLI,支持无障碍树快照和基于引用的元素选择。
★ 426 📥 118,072