Skip to main content

Quickstart - Zerion API for Arbitrum

Zerion API is an enterprise-grade wallet data API that provides token balances, DeFi positions, NFTs, and transaction history on Arbitrum, other major EVM chains, and Solana. It powers the Zerion app used by millions of users, delivering sub-second responses through a unified schema across all supported chains—no per-chain parsing or custom logic needed.

Use Zerion API if you need:

  • Wallet portfolios, token balances, and price data across Arbitrum and 50+ other chains
  • Decoded DeFi positions across 8,000+ protocols (lending, staking, LPs)
  • Enriched transaction history formatted for UIs or data exports
  • NFT holdings with metadata, floor prices, and media
  • Real-time transaction notifications via webhooks

Get a free API key to start building on Arbitrum

APIs

The Zerion API enables developers to quickly access structured onchain data with consistent response schemas across all supported chains. All endpoints support Arbitrum alongside every other supported blockchain.

Endpoints

Check out the Zerion API Reference to see all available endpoints.

Wallet portfolio API

  • Features: Total wallet value, individual token positions, and portfolio breakdown across all supported chains. Prices in USD and other major currencies.
  • Use cases: Wallets, portfolio trackers, accounting dashboards, airdrop snapshots.

DeFi positions API

  • Features: Decoded and normalized positions across 8,000+ DeFi protocols—lending, staking, LPs, and more. Unified schema eliminates per-protocol parsing.
  • Use cases: Portfolio trackers, DeFi analytics, risk monitoring, reward calculators.

Transaction history API

  • Features: Enriched transaction feeds decoded into human-readable actions (trades, transfers, approvals). Filterable by type, chain, or date.
  • Use cases: In-app transaction receipts, accounting and tax tools, activity feeds.

NFT API

  • Features: Complete NFT portfolio data, including metadata, floor prices, and media across chains.
  • Use cases: NFT galleries, marketplaces, and token gating.

Fungible tokens API

  • Features: Token search, real-time and historical prices, market cap charts, and token metadata.
  • Use cases: Price feeds, market data dashboards, token explorers.

Webhooks

  • Features: Real-time transaction notifications without polling. Subscribe to wallet activity and get instant alerts.
  • Use cases: Notifications, monitoring, automated workflows.

Quickstart

1. Get your API key

Sign up at the Zerion Dashboard to get a free API key.

2. Make your first request

The Zerion API uses HTTP Basic Authentication with your API key as the username and an empty password.

cURL:

curl --request GET \
--url https://api.zerion.io/v1/wallets/0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045/portfolio \
--header 'accept: application/json' \
--header 'authorization: Basic YOUR_BASE64_ENCODED_API_KEY'

JavaScript:

const apiKey = 'YOUR_API_KEY';
const address = '0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045';

const response = await fetch(`https://api.zerion.io/v1/wallets/${address}/portfolio`, {
headers: {
accept: 'application/json',
authorization: `Basic ${btoa(apiKey + ':')}`,
},
});

const data = await response.json();
console.log(data);

Python:

import requests
from base64 import b64encode

api_key = "YOUR_API_KEY"
address = "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"

headers = {
"accept": "application/json",
"authorization": f"Basic {b64encode(f'{api_key}:'.encode()).decode()}"
}

response = requests.get(
f"https://api.zerion.io/v1/wallets/{address}/portfolio",
headers=headers
)

print(response.json())

3. Explore more endpoints

Get started