
Connect to Avalanche via Vezgo API
Accounts
Positions
Transactions
Support for Accounts, Positions, Transactions and Nfts enabled.
Support of native, tokens, NFT positions and transactions.
Import up to 15,000 transactions.
Scam tokens are filtered.
Data mapping
A field-level guide to the Vezgo API data for Avalanche — what each attribute means and where to read it — so you can map it into your own system.
| Data | Where to read it | Source on Avalanche |
|---|---|---|
| Account & wallet | account.wallets[].address | The connected Avalanche address (0x…). One address is one account; wallet.address is the stable identity reused across syncs and reconnects. |
| Balances / positions | account.balances[] | Native AVAX, ERC-20 tokens and NFTs from the live on-chain snapshot. Each balance has ticker, amount, decimals and fiat_value (USD); ERC-20 add ticker_address; NFTs add asset_type "nft" (when sync_nfts is on). |
| Transactions | GET /accounts/:id/transactions | Native, ERC-20, NFT and internal transfers plus swaps, consolidated per on-chain hash. See "How to read a transaction" below. |
| Assets / securities | balance.ticker · balance.ticker_address | Native AVAX uses ticker AVAX. ERC-20 assets are keyed by ticker_address (contract address) so the same symbol on different chains stays distinct. |
How to read a transaction
Vezgo consolidates every movement that shares one on-chain transaction hash (misc.origin_id) into a single Vezgo transaction. Read the native movement from the transaction itself, and the token / NFT / internal movements from misc:
- Native AVAX transfer — on the transaction itself: parts[] (ticker "AVAX", amount, fiat_value, from/to) and gas in fees[] (always AVAX).
- ERC-20 token transfers — misc.tokenTransfers[].
- NFT transfers — misc.nftTransfers[].
- Internal (contract-triggered) AVAX transfers — misc.internalTransfers[] (also flagged by misc.hasInternalTransaction).
// One Vezgo transaction = all movements sharing one hash (tx.misc.origin_id)
const hash = tx.misc.origin_id; // on-chain transaction hash
const kind = tx.misc.origin_type; // chain-level category (see list below)
const native = tx.parts?.[0]; // native AVAX transfer (ticker "AVAX")
const gas = tx.fees?.[0]; // gas fee, always in AVAX
const tokenTransfers = tx.misc.tokenTransfers ?? []; // ERC-20 movements
const nftTransfers = tx.misc.nftTransfers ?? []; // NFT movements
const internal = tx.misc.internalTransfers ?? []; // internal AVAX transfers
if (tx.misc.isSwap) { /* DEX swap — tokenTransfers holds both legs */ }
if (tx.misc.failed) { /* reverted on-chain — no value moved, gas still spent */ }| Where to read it | Attributes | What it is |
|---|---|---|
tx.parts[0] | direction, ticker ("AVAX"), amount, fiat_value, from_address, to_address | Native AVAX transfer. |
tx.fees[0] | ticker ("AVAX"), amount, fiat_value | Gas / network fee — always paid in AVAX. |
tx.misc.tokenTransfers[] | direction, ticker, token_name, amount, fiat_value, token_address, possible_spam, verified_contract | ERC-20 token movements. amount is negative when sent. |
tx.misc.nftTransfers[] | direction, token_address, contract_type, amount, from_address, to_address, possible_spam, verified_collection | NFT (ERC-721 / ERC-1155) movements. |
tx.misc.internalTransfers[] | direction, amount, token_symbol ("AVAX"), fiat_value, from_address, to_address | Native AVAX transfers triggered inside a contract call. |
misc.origin_type takes one of:
- Send
- Receive
- NFT Send
- NFT Receive
- Token Send
- Token Receive
- Deposit
- Withdraw
- Token Swap
- Airdrop
- Mint
- Burn
- NFT Purchase
- NFT Sale
- Borrow
- Approve
- Revoke
- Contract Interaction
Supported
- Native AVAX balances and transfers
- ERC-20 token balances and transfers
- NFTs (ERC-721 / ERC-1155) — when sync_nfts is enabled
- Internal transactions
- DEX swaps
- Gas / network fees (reported in AVAX)
- USD fiat valuation for balances and transactions
Notes & limitations
- ERC-20 and NFT balances reflect the current on-chain snapshot.
- Tokens outside the known-token list, or flagged via possible_spam / verified_contract, may be excluded — check those flags before importing.
Try to connect to Avalanche in our Demo Sandbox
Open DemoLet's get you started
To get your API Keys, sign up on the portal or reach out to the team at sales@vezgo.com