About
A currency rate aggregation service built for integration into a larger platform. It collects exchange rates from 30 external APIs, calculates a consolidated rate for each currency pair, and exposes the results through a REST API. When sources disagree beyond an acceptable threshold, the service flags the pair rather than returning an unreliable rate.
My role
I developed the service and its admin panel, covering both backend and frontend development.
Key features
Rate aggregation from 30 APIs, including CoinGecko, CoinMarketCap, Tatum, Coinbase, and Binance
Support for 54 currencies: 17 fiat currencies and 37 cryptocurrencies, including cross rates
Automatic rate updates every 5 minutes
Trimmed mean calculation and spread-based validation
Detection of sharp rate changes against previous values
Configurable fixed rates or percentage markups for individual currency pairs
Separate global markups for crypto-to-crypto and crypto-to-fiat pairs
Response caching
Authenticated admin panel with error indicators
Tech stack
Backend: NestJS, TypeScript, TypeORM
Database: MySQL
Admin panel: React, Vite, Bootstrap
Authentication: JWT

0 likes · 1 view · Nov 25, 2026
NestJS service that aggregates exchange rates for 54 currencies from 30 APIs, with robust rate calculation, a REST API, and an admin panel.