Skip to content

Retrieve Net Asset Value (NAV) data for mutual funds effortlessly with the AMFI NAV API. This API provides information on mutual fund schemes, including scheme code, ISIN, fund house, scheme type, scheme name, and daily NAV data. Users can query by scheme code, ISIN, scheme name, or specific date to access the latest or historical NAV values.

Notifications You must be signed in to change notification settings

m-amaresh/amfi-nav-api

Repository files navigation

AMFI NAV API

A RESTful API built with FastAPI to provide Net Asset Value (NAV) data for mutual funds. https://amfi-nav.azurewebsites.net

Build and deploy Python app to Azure Web App - amfi-nav

Overview

The AMFI NAV API allows users to retrieve NAV data for mutual funds based on scheme codes, ISINs, scheme names, and specific dates. The API is built using FastAPI, a modern, fast (high-performance), web framework for building APIs with Python 3.7+.

Features

  • Retrieve NAV data by scheme code, ISIN, scheme name, and date.
  • Pagination support for managing large result sets.

API Endpoints

Retrieve NAV Data

GET /navdata/ Parameters:

scheme_code: (Required) Scheme code (regex: ^\d{6}$) isin: (Optional) ISIN code (regex: ^[A-Za-z0-9]{12}$) scheme_name: (Optional) Scheme name date: (Optional) Specific date for NAV data page: (Optional) Page number for pagination (default: 1) page_size: (Optional) Number of items per page (default: 10, max: 100) Example:

curl -X 'GET' \
  'https://amfi-nav.azurewebsites.net/navdata/?scheme_code=119551&date=2024-01-15' \
  -H 'accept: application/json'

API Docs

Swagger Redoc

License

This project is licensed under the MIT License.

Acknowledgments

FastAPI: https://fastapi.tiangolo.com/ MongoDB: https://www.mongodb.com/

About

Retrieve Net Asset Value (NAV) data for mutual funds effortlessly with the AMFI NAV API. This API provides information on mutual fund schemes, including scheme code, ISIN, fund house, scheme type, scheme name, and daily NAV data. Users can query by scheme code, ISIN, scheme name, or specific date to access the latest or historical NAV values.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published