NPS API - Purified Bytes (1.0.0)

The National Pension System (NPS) is a pension system by Government of India. User contribution are managed by Pension Fund Managers (PFM). This Rest API provides PFM list, Scheme list, latest NAV published by the PFMs and the daily NAV history of all the schemes available.

Base API URL: https://nps.purifiedbytes.com/api

Get PFMs

Get the list of Pension Fund Manager (PFM)

Responses

Response Schema: application/json
Array of objects (PFM) [ items ]
Array
id
required
string
name
required
string

Response samples

Content type
application/json
{
  • "data": [
    • {
      • "id": "SM008",
      • "name": "HDFC Pension Management Company Limited"
      }
    ]
}

Get Schemes

Get the list of Schemes

Responses

Response Schema: application/json
Array of objects (Scheme) [ items ]
Array
id
required
string
name
required
string
pfm_id
required
string
pfm_name
required
string

Response samples

Content type
application/json
{
  • "data": [
    • {
      • "id": "SM008003",
      • "name": "HDFC PENSION MANAGEMENT COMPANY LIMITED SCHEME G - TIER I",
      • "pfm_id": "SM008",
      • "pfm_name": "HDFC Pension Management Company Limited"
      }
    ]
}

Get latest NAV value of all Schemes

Get the latest NAV

Responses

Response Schema: application/json
Array of objects[ items ]
Array
nav
required
number
date
required
string <date>
scheme_id
required
string

Response samples

Content type
application/json
{
  • "data": [
    • {
      • "nav": 21.9349,
      • "date": "2022-08-05",
      • "scheme_id": "SM008003"
      }
    ]
}

Get Nav history

Get the Nav history of the given Scheme

path Parameters
id
required
string
Example: SM008003

Scheme id

Responses

Response Schema: application/json
Array of objects (SchemeNav) [ items ]
Array
nav
required
number
date
required
string <date>

Response samples

Content type
application/json
{
  • "data": [
    • {
      • "nav": 21.9349,
      • "date": "2022-08-05"
      }
    ]
}