# Nodely vestleg API > Nodely's DEX analytics and swap-routing API for Algorand mainnet: pools, assets and prices, OHLC candles and history, swaps, protocol volumes, wallet values, vaults, launchpad balances, and an aggregator (quotes and unsigned swap transactions routed across Tinyman, Pact, Folks, Algofi, Humble and the liquid-staking vaults). It is a drop-in replacement for the legacy DEX-analytics API of the same shape: same paths, parameters, field names and error format, so existing clients only change the base URL to https://vestleg.api.nodely.io. Conventions: - Amounts are base units unless a field says otherwise; prices are in the denominating asset (default ALGO, id 0). - Errors are JSON objects `{"detail": ...}`: 422 for invalid parameters, 404 when nothing matches. - Rate limit: 2 requests per second per client IP, bursts up to 180 (20 for POST /swap/v4/transactions); HTTP 429 above it. - History, candles, /protocols/volume and /assets carry Cache-Control max-age and are cached at the edge; real-time routes (quotes, pools, notes) carry no-store. - Network: only Algorand mainnet (`network_id=0`). ## Endpoints - [GET /assets](https://vestleg.api.nodely.io/llms-full.txt#get-assets): Get Assets - [GET /assets/list](https://vestleg.api.nodely.io/llms-full.txt#get-assets-list): Get Asset List - [GET /assets/price](https://vestleg.api.nodely.io/llms-full.txt#get-assets-price): Get Asset Prices - [GET /assets/search](https://vestleg.api.nodely.io/llms-full.txt#get-assets-search): Search Assets - [GET /assets/{asset_id}/candles](https://vestleg.api.nodely.io/llms-full.txt#get-assets-asset-id-candles): Get Asset Candles - [GET /assets/{asset_id}/composition](https://vestleg.api.nodely.io/llms-full.txt#get-assets-asset-id-composition): Get Asset Composition - [GET /assets/{asset_id}/history](https://vestleg.api.nodely.io/llms-full.txt#get-assets-asset-id-history): Get Asset History - [GET /balances](https://vestleg.api.nodely.io/llms-full.txt#get-balances): Get Balances - [GET /marks](https://vestleg.api.nodely.io/llms-full.txt#get-marks): Get Chart Marks - [GET /networks](https://vestleg.api.nodely.io/llms-full.txt#get-networks): Get Networks - [GET /networks/{network_id}](https://vestleg.api.nodely.io/llms-full.txt#get-networks-network-id): Get Network By Id - [GET /notes](https://vestleg.api.nodely.io/llms-full.txt#get-notes): Get Notes - [GET /notes/count](https://vestleg.api.nodely.io/llms-full.txt#get-notes-count): Get Asset Notes Count - [GET /notes/first](https://vestleg.api.nodely.io/llms-full.txt#get-notes-first): Get First Asset Notes - [GET /ping](https://vestleg.api.nodely.io/llms-full.txt#get-ping): Echo - [GET /pools](https://vestleg.api.nodely.io/llms-full.txt#get-pools): Get Pools - [GET /protocols](https://vestleg.api.nodely.io/llms-full.txt#get-protocols): Get Protocols - [GET /protocols/volume](https://vestleg.api.nodely.io/llms-full.txt#get-protocols-volume): Get Protocol Volumes - [GET /protocols/{protocol_id}](https://vestleg.api.nodely.io/llms-full.txt#get-protocols-protocol-id): Get Protocol By Id - [GET /swap/v4](https://vestleg.api.nodely.io/llms-full.txt#get-swap-v4): Get Best V4 Swap Data - [GET /swap/v4/fee](https://vestleg.api.nodely.io/llms-full.txt#get-swap-v4-fee): Get V4 Swap Discount - [GET /swap/v4/history](https://vestleg.api.nodely.io/llms-full.txt#get-swap-v4-history): Get Aggregator History - [POST /swap/v4/transactions](https://vestleg.api.nodely.io/llms-full.txt#post-swap-v4-transactions): Get V4 Swap Data Transactions - [GET /swaps](https://vestleg.api.nodely.io/llms-full.txt#get-swaps): Get Swaps - [GET /usage](https://vestleg.api.nodely.io/llms-full.txt#get-usage): Get Api Usage - [GET /vaults](https://vestleg.api.nodely.io/llms-full.txt#get-vaults): Get Vaults - [GET /wallets/{address}/pnl](https://vestleg.api.nodely.io/llms-full.txt#get-wallets-address-pnl): Get Wallet Pnl - [GET /wallets/{address}/value](https://vestleg.api.nodely.io/llms-full.txt#get-wallets-address-value): Get Wallet Value ## Optional - [Full reference for LLMs](https://vestleg.api.nodely.io/llms-full.txt): every parameter, response field and an example - [OpenAPI 3.1 spec](https://vestleg.api.nodely.io/openapi.json) - [Human docs](https://nodely.io/docs/vestige)