DeFi Positions API

Track 4,500+ Protocols in One Schema

250M+Usersserved40+Chainssupported2k+Teamspowered4.5k+DeFi protocolsindexed
DeFi overview4,500+ protocols
Supplied
$563K
Borrowed
$0
Net APY
+4.57%
PositionsProtocol
Lagoon
Deposited· Ethereum
$114.4K
+3.90% APY
Morpho
Deposited· Ethereum
$93.9K
+4.60% APY
Yield Basis
Deposited· Ethereum
$76.3K
+6.10% APY
Sablier
Staked· Ethereum
$68.8K
0.00% APY
Eth2
Staked· Ethereum
$62.1K
+3.20% APY

Anatomy of the DeFi Positions endpoint

Returns a wallet's fungible positions: simple token balances plus decoded DeFi protocol positions (deposited, staked, borrowed, locked, and reward assets) with prices, labels, and protocol metadata resolved for you.

GET/v1/wallets/{address}/positions/Full reference →
4,500+ protocolsDecoded positionsPrices + metadataChain filter
Request
curl "https://api.zerion.io/v1/wallets/0xabc.../positions/" \
  -H "authorization: Basic <API_KEY>" \
  -G -d "filter[chain_ids]=base" -d "currency=usd"
Response
{
  "data": [
    {
      "type": "positions",
      "attributes": {
        "name": "LAGOON",
        "position_type": "deposit",
        "quantity": {
          "float": 58.98
        },
        "value": 114569.34,
        "fungible_info": {
          "symbol": "WETH"
        },
        "chain": "ethereum"
      }
    }
  ]
}

Key parameters

addresspathEVM or Solana wallet address to read positions for.
filter[chain_ids]queryComma-separated chain slugs to scope results, e.g. base,ethereum.
filter[position_types]querydeposit, loan, staked, locked, reward, and more.
currencyqueryDenomination for values. Defaults to usd.

What the DeFi Positions response gives you

One request returns enriched, ready-to-render fields — no decoding, pricing, or post-processing on your side.

Every position type

Deposits, loans, staked, locked, rewards and wallet balances in one list.

position_type

Decoded amounts & value

Raw and human-readable quantity plus current value, priced for you.

quantity.float

Protocol & module

Know the protocol and what the position does — lending, yield, LP, farming.

protocol_module

Grouped LP legs

Liquidity pools return one object per token, linked so you can group them.

group_id

Full asset info

Name, symbol, icon, verification and market data on every asset.

fungible_info

Spam filtering

Trash assets are flagged and filtered out by default.

flags.is_trash

Built for production

Everything the DeFi Positions endpoint gives you to ship a real integration — filters, coverage, and predictable limits.

Filtering

Seven ways to scope the response

Narrow results to the chains, protocols, position types or assets you care about — up to 25 values each.

  • filter[chain_ids] — up to 25 chains
  • filter[position_types] — deposit, loan, staked, locked, reward…
  • filter[dapp_ids] — scope to specific protocols
  • filter[trash] — hide or isolate spam
Protocols

4,500+ protocols, one schema

Positions across thousands of DeFi protocols are decoded into the same shape, so you write integration code once.

  • 4,500+ protocols decoded
  • deposit, lending, yield, liquidity_pool, staked, farming, vesting, rewards
  • Protocol name + module on every position
Liquidity pools

Pools you can actually render

A pool returns one position per underlying token, each sharing a group_id — group by it for a clean, unified pool card.

  • One object per token in the pool
  • Same group_id across legs
  • Distinct symbols and values per leg
Coverage

Multi-chain, non-paginated

Returns all matching positions in a single response across every supported chain.

  • EVM + Solana (wallet positions on Solana)
  • sort=value or -value
  • 503 with Retry-After while warming up

What teams build with it

From dashboards to autonomous agents, teams reach for the DeFi Positions endpoint to ship faster.

DeFi dashboards

Show a wallet's active positions across every protocol in one unified list.

Risk & monitoring

Track lending, borrowing, and LP exposure across chains for alerts and health checks.

Yield trackers

Surface staked and reward positions with live valuations, no protocol-specific code.

Other endpoints

DeFi & Protocol Positions

Fetch active EVM & Solana DeFi positions, rewards, and liquidity pools across 4,500+ protocols.

DeFi overview4,500+ protocols
Supplied
$563K
Borrowed
$0
Net APY
+4.57%
PositionsProtocol
Lagoon
Deposited· Ethereum
$114.4K
+3.90% APY
Morpho
Deposited· Ethereum
$93.9K
+4.60% APY
Yield Basis
Deposited· Ethereum
$76.3K
+6.10% APY
Sablier
Staked· Ethereum
$68.8K
0.00% APY
Eth2
Staked· Ethereum
$62.1K
+3.20% APY

One API, every major chain

Ethereum, Base, Solana, Arbitrum and 45+ more networks — queried in a single call.

Ethereum logoEthereumBase logoBaseSolana logoSolanaArbitrum logoArbitrumOptimism logoOptimismEthereum logoEthereumBase logoBaseSolana logoSolanaArbitrum logoArbitrumOptimism logoOptimismEthereum logoEthereumBase logoBaseSolana logoSolanaArbitrum logoArbitrumOptimism logoOptimismEthereum logoEthereumBase logoBaseSolana logoSolanaArbitrum logoArbitrumOptimism logoOptimismEthereum logoEthereumBase logoBaseSolana logoSolanaArbitrum logoArbitrumOptimism logoOptimismEthereum logoEthereumBase logoBaseSolana logoSolanaArbitrum logoArbitrumOptimism logoOptimism
Polygon logoPolygonAvalanche logoAvalancheBNB Chain logoBNB ChainRobinhood logoRobinhoodLinea logoLineaScroll logoScrollPolygon logoPolygonAvalanche logoAvalancheBNB Chain logoBNB ChainRobinhood logoRobinhoodLinea logoLineaScroll logoScrollPolygon logoPolygonAvalanche logoAvalancheBNB Chain logoBNB ChainRobinhood logoRobinhoodLinea logoLineaScroll logoScrollPolygon logoPolygonAvalanche logoAvalancheBNB Chain logoBNB ChainRobinhood logoRobinhoodLinea logoLineaScroll logoScrollPolygon logoPolygonAvalanche logoAvalancheBNB Chain logoBNB ChainRobinhood logoRobinhoodLinea logoLineaScroll logoScrollPolygon logoPolygonAvalanche logoAvalancheBNB Chain logoBNB ChainRobinhood logoRobinhoodLinea logoLineaScroll logoScroll
Zora logoZoraCelo logoCeloGnosis logoGnosisFantom logoFantomAurora logoAuroraHyperEVM logoHyperEVMZora logoZoraCelo logoCeloGnosis logoGnosisFantom logoFantomAurora logoAuroraHyperEVM logoHyperEVMZora logoZoraCelo logoCeloGnosis logoGnosisFantom logoFantomAurora logoAuroraHyperEVM logoHyperEVMZora logoZoraCelo logoCeloGnosis logoGnosisFantom logoFantomAurora logoAuroraHyperEVM logoHyperEVMZora logoZoraCelo logoCeloGnosis logoGnosisFantom logoFantomAurora logoAuroraHyperEVM logoHyperEVMZora logoZoraCelo logoCeloGnosis logoGnosisFantom logoFantomAurora logoAuroraHyperEVM logoHyperEVM

Why builders choose the
DeFi Positions API

Ship faster

Go live in minutes, not months

Grab a free key, paste one request, and you're serving portfolio data. No nodes, no indexers, no infra to maintain.

< 5 min to first callGet a free API key

Speed

Fast everywhere your users are

A globally cached edge keeps every query fast, so your app feels instant no matter where your users open it.

~50ms median response

Freshness

Balances update in seconds

Balances, positions, and transactions land within seconds of confirmation. Never stale, never guessing.

Fresh within 1 block

Scale

Scale from one user to millions

One request spans Solana, Ethereum, Base and 50+ chains. The same endpoint carries your first user and your millionth.

50+ chains · billions of calls

Built for Consumer Scale and Enterprise Reliability

The same infrastructure that runs the Zerion wallet — sized for everything from a first prototype to fintech products in production.

1000+
RPS
SLA
Guaranteed
99.9%
Uptime

Stay ahead with the Zerion API

New endpoints, chains, and webhooks — straight to your inbox.

Simple, transparent tiers

Start building for free. Upgrade as you scale.

Developer
$0forever

For early prototypes and proofs of concept

Get Started Free
  • 2K requests / day
  • 3 RPS limit
  • Chat widget
  • Best effort support
Builder
$149/ month

For shipping MVP without running any Infrastructure

Start building
  • Up to 250K requests / month
  • 10 RPS
  • Telegram group
  • Priority support
Most popular
Startup
$499/ month

For apps preparing for launches or already in production

Start building
  • Up to 1M requests / month
  • 25 RPS
  • Slack or Telegram channel
  • Priority support
Enterprise

Custom pricing & features

For scale-ups & enterprises with high volume or custom needs

Contact sales
2.5M+ requests / month
1,000+ RPS
Slack or Telegram channel
24/7 support
99.9% uptime SLA
Dedicated account manager

DeFi Positions, Wallet Portfolio Chart, and Wallet P&L endpoints are limited to 25% of every plan quota and aren’t covered by overages.

What can you build?

Wallets & Stablecoins

Power portfolio views, transaction history, and in-app swaps with one API — across every chain and stablecoin your users hold.

Wallets & Stablecoins

Fintech & Neobanks

Add portfolio charts, PnL, and transaction history to your app — no blockchain node to stand up, no infra to maintain.

Fintech & Neobanks

AI Agents

Wallet holdings, DeFi positions, and PnL in a single call. Pay per request with x402 on Base — no subscriptions, no keys.

AI Agents
Join 2,000+ teams building on Zerion

Built for developers.
Trusted by enterprises.

Give wallets, AI agents, and consumer apps reliable access to wallets, positions, transactions, and DeFi data across chains.

FAQ

If you have any questions