All posts

IntroducingDune'sDeFiPositionsAPI:UnifiedMulti-ChainPositionTrackingforEVMWallets

Dune Sim is launching a new DeFi Positions API that gives wallets and applications instant access to protocol-aware DeFi positions across major EVM chains. Get lending positions, liquidity pools, yield vaults, and NFT-based positions through a single API call. No more building custom indexers for every protocol.

NewsApril 1, 20263 min read
@Alsie L.
Alsie L.Content Marketing Manager at Dune
Introducing Dune's DeFi Positions API: Unified Multi-Chain Position Tracking for EVM Wallets

The DeFi Data Problem Wallets Face

A great wallet experience reflects a user’s complete portfolio, going beyond token balances to include active DeFi positions like Uniswap V2/V3 liquidity, Aave lending, and assets staked in yield vaults.

But here's the challenge: every DeFi protocol structures data differently. To show accurate positions, wallet teams need to:

  • Index dozens of protocols individually
  • Normalize different data structures
  • Price positions across multiple chains
  • Maintain accuracy as protocols upgrade
  • Build and maintain this infrastructure indefinitely

This is exactly why teams building wallets either skip DeFi positions entirely or spend months of engineering effort to tackle this issue.

[See what you can achieve with Sim’s DeFi position endpoint]

A Better Approach: Protocol-Aware Position Data

Dune's DeFi Positions API solves this by providing protocol-aware DeFi positions through a unified endpoint. Instead of raw blockchain data that you need to interpret, you get structured realtime position data that's ready to display.

Here's what makes it different:

Multi-Chain by Default

Query any EVM wallet address and get positions across Ethereum, Arbitrum, Unichain, Base, BSC, Polygon, and Avalanche in a single response. New EVM chains can be added in approximately one week upon request. HyperEVM coverage will be ready in Q2.

Realtime by Default

Sim is already the standard for ultra-fresh onchain data, delivering wallet balances and collectibles in under a second. Now that same realtime infrastructure powers DeFi positions. No stale snapshots, no batch delays. Positions appear in <1s after creation, priced at query time, across every supported chain simultaneously. If it happened onchain, it’s on Sim.

Protocol-Aware Parsing

We don't just return token balances, we understand what those tokens represent. A Compound cToken becomes a lending position with supply APY. A Uniswap V3 NFT is a liquidity position with tick ranges and rewards.

Comprehensive Coverage

Support for the protocols that matter:

  • Lending: Aave family, Compound family, Moonwell
  • Liquidity: Uniswap family, Velodrome/Aerodrome
  • Yield Vaults: ERC-4626 vault standard, Pendle, Fluid
  • And more: New protocols added upon customer request, typically within days

Complete Position Context

Every position includes:

  • Current value and amounts (adjusted for decimals)
  • Unclaimed rewards and yield
  • Protocol-specific metadata (collateral status, price ranges, pool shares)
  • Human-readable names and labels

The response also includes the aggregated value in USD per chain and across all chains.

Why Sim for DeFi Data?

Dune has been the trusted source for blockchain data and DeFi analytics for years. Millions of users already come to dune.com for curated DeFi dashboards and insights.

Now we're bringing that same expertise to Sim’s API products:

  • Trusted Infrastructure: Battle-tested data pipelines processing billions of blockchain events
  • Rapid Coverage Expansion: New protocols are typically added within days of request. New EVM-compatible chains are live within approximately one week.
  • Best-in-class Benchmark Coverage: Protocol coverage in production is >95% vs. DeBank in most cases >98%, at a significantly lower price point.

Common use cases for DeFi positions

Unified Portfolio Views

Show users their complete portfolio, including tokens, NFTs, and DeFi positions, all in one place.

Dedicated DeFi Tabs

Create a separate DeFi section in your wallet that surfaces lending positions, liquidity pools, and yield vaults with full context.

Position Monitoring

Track DeFi positions across chains for portfolio management, tax reporting, or risk monitoring applications.

Multi-Chain DeFi Aggregation

Build applications that aggregate DeFi positions across chains, showing users where their capital is deployed and how it's performing.

Getting Started

The DeFi Positions API is now available. View the full documentation to see request/response schemas, supported protocols, and integration examples.

Ready to integrate? Sign up for a Free Sim API key and start building. Or contact our sales team for custom Enterprise pricing and rate limits.

Related

VIEW ALL

Build across chains. Ship without setup.

Sim

Looking to use Dune for your company?