Data Providers
These services provide the DeFi data that powers NMT's pool discovery, pricing, and portfolio features.
Krystal API
What: DEX aggregation service that provides unified access to Uniswap V2/V3/V4 pool data and positions.
Endpoint: api.krystal.app
Used by: Backend workers (primary data source for Uniswap pools)
Criticality: HIGH — if Krystal is down, Uniswap pool data goes stale.
Auth: KRYSTAL_API_KEY + KRYSTAL_USER_AGENT
CoinGecko Pro
What: Token price oracle providing real-time and historical pricing for thousands of tokens.
Endpoint: pro-api.coingecko.com/api/v3
Used by: Backend workers (price fetching for valuations)
Criticality: MEDIUM — if CoinGecko is down, price data becomes stale but existing cached prices remain available.
Auth: COINGECKO_API_KEY
Zerion API
What: Comprehensive portfolio tracking API. Provides wallet balances, transaction history, and portfolio charts.
Used by: Frontend (portfolio view, P&L charts)
Criticality: HIGH — portfolio and balance views depend on Zerion.
Aave GraphQL
What: Aave's official GraphQL API for reserve and market data.
Endpoint: api.v3.aave.com/graphql
Used by: Backend workers (Aave pool indexing)
Criticality: MEDIUM — Aave market data goes stale if unavailable.
Auth: None (free, public API)
Morpho — The Graph
What: Subgraph on The Graph network for MetaMorpho vault data.
Endpoint: gateway.thegraph.com/api/subgraphs/id/...
Used by: Backend workers (Morpho vault indexing)
Criticality: MEDIUM — Morpho vault data goes stale if unavailable.
Auth: MORPHO_API_TOKEN
Yearn yDaemon
What: Yearn's official data API for vault metadata and APYs.
Endpoint: ydaemon.yearn.fi
Used by: Backend workers (Yearn vault indexing)
Criticality: LOW — only affects Yearn vault data.
Auth: None (free, open API)
Moralis
What: Web3 data API for transaction history and address metadata.
Used by: Frontend (transaction history views)
Criticality: LOW
Auth: MORALIS_API_KEY
Etherscan
What: Block explorer API for contract verification and transaction data.
Used by: Frontend (transaction details, contract verification)
Criticality: LOW
Auth: ETHERSCAN_API_KEY