You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
π CryptoVault API β Personal Crypto Portfolio Tracker
A production-ready REST API for real-time crypto portfolio tracking. JWT authentication, live prices via CoinGecko, PnL analytics, and full CRUD for portfolios, holdings & transactions β built with FastAPI + PostgreSQL.
π What is This?
CryptoVault API is a production-ready personal crypto portfolio tracker REST API built entirely in Python. It provides secure JWT authentication, full CRUD for portfolios and holdings, transaction history logging, real-time prices from CoinGecko, and PnL analytics β all via a clean, predictable REST surface.
This is the second major project of the Web3 Python Toolkit by @rizalcodes.
β¨ Features
#
Feature
Description
1
π JWT Authentication
Secure register, login, access & refresh tokens via python-jose
2
π Portfolio Management
Create and manage multiple crypto portfolios per user
3
π Holdings Tracker
Track crypto assets with quantity and average buy price
4
π Transaction History
Log every buy/sell with auto-calculated total value
5
π° Live Prices
Real-time prices, 24h change, market cap via CoinGecko API
6
π PnL Analytics
Full portfolio analytics β invested vs current value, profit/loss per holding
π Quick Start
1. Clone the repo
git clone https://github.com/rizalcodes/cryptovault-api.git
cd cryptovault-api
This API is for personal portfolio tracking and educational purposes only. Nothing here constitutes financial advice. Always do your own research before making any investment decisions.
Building Web3 tools with Python πβοΈ
Follow on X: @rizalcodes_
π License
MIT License β free to use, modify, and distribute.
About
π CryptoVault API β FastAPI + PostgreSQL REST API for crypto portfolio tracking. Features JWT auth, holdings management, transaction history & real-time price integration via CoinGecko.