vaults.fyi

The API for
onchain finance.

Ship DeFi yield features in days, not months.
Market data, transaction calldata, and portfolio tracking across 80+ protocols, ready to use.

Trusted by industry leaders

See our case studies ↗

Build on data you can trust.

Every protocol exposes rates differently. Aave uses ray values (1e27), Compound uses per-block rates. Without standardization, cross-protocol data means writing a custom parser for every new integration.

Indexed from onchain state, not external APIs

Rates come directly from contract data. No reliance on protocol-provided endpoints that can go stale.

One schema across all 80+ protocols

APY is always a decimal. TVL is always in USD and native terms. No surprises when you add a new protocol.

Base, reward, and total yield broken out per vault

Every vault returns each yield component separately, using consistent methodology across every protocol and network.

GET /v2/detailed-vaults/base/0x0000...640D5

{
  "name": "Gauntlet USD Alpha",
  "address": "0x000000000001CdB5...640D5",
  "network": { "name": "base", "chainId": 8453 },
  "asset": { "symbol": "USDC", "assetGroup": "USD" },
  "apy": {
    "1day":  { "base": 0.0526, "total": 0.0526 },
    "7day":  { "base": 0.0485, "total": 0.0485 },
    "30day": { "base": 0.0462, "total": 0.0462 }
  },
  "tvl": { "usd": "67483050" },
  "remainingCapacity": "132505066859320",
  "transactionalProperties": {
    "depositStepsType": "complex",
    "redeemStepsType":  "complex"
  },
  "description": "Allocates across Morpho vaults in multiple stablecoins on mainnet and Base. Rewards auto-converted to USDC...",
  "score": { "vaultScore": 78.45 },
  "isTransactional": true
}

Same structure whether you query Gauntlet vaults, Morpho, Aave, or any of 80+ protocols.

Everything you need to build with yield.

Lido stETH

Supply ETH on Ethereum

2.53%

$19.83B

ether.fi eETH

Supply ETH on Ethereum

2.42%

$6.60B

Gauntlet USDC Prime

Supply USDC on Base

4.82%

$351.95M

Accurate APYs

Every rate is calculated from onchain data, not scraped from protocol pages. What you see is what depositors actually earned, normalized across all protocols.

8.1/10

Established

Protocol Morpho
Network Ethereum
Token USDC

Reputation Scores

Not all vaults are equal. Our scores factor in protocol track record, pool liquidity, and underlying asset risk, so you can weigh yield against risk.

Your active position

See historical deposit & withdrawal events, and track what you've earned on your position.

Position size

22,182.18 USDC

Total returns

+1,035.12 USDC

Accurate P&L, no custom tables

Tracking real returns means logging every deposit and withdrawal across protocols, requiring teams to build custom tables from scratch. The portfolio API handles all of it: get precise returns by position, vault, and time range.

20+

Networks

80+

Protocols

1,000+

Vaults

$100B+

TVL tracked

Direct to protocol.
No middleman.

Every transaction goes straight to the protocol's own smart contracts. Vaults.fyi prepares the calldata, your wallet signs it, and the protocol executes it directly.

No intermediary contracts. No custodian. Your funds are in the protocol, not ours.

Our yield integrations open monetization paths for your product. Earn alongside your users, without any additional infrastructure.

Read the transactions docs →

Transaction payload

GET /v2/transactions/deposit
  /0xd8dA...9604/mainnet/0x28B3...a43d

{
  "currentActionIndex": 0,
  "actions": [
    {
      "name": "Approve USDC for Spark vault",
      "tx": {
        "to": "0xA0b8...eB48", // USDC token contract
        "data": "0x095ea7b3...",
        "chainId": 1
      }
    },
    {
      "name": "Deposit USDC to Spark vault",
      "tx": {
        "to": "0x28B3...a43d", // Spark's contract
        "data": "0x9b8d6d38...",
        "chainId": 1
      }
    }
  ]
}

to: is always the protocol's own contract, never ours.

Testimonials

What builders and researchers say:

"Using a third-party data source signals to investors that Maple isn't grading its own homework."

Maple Finance

Maple Finance

Maple Yield Performance 2024 report

"By using a third-party institutional-grade analytics provider like vaults.fyi, there's no opportunity to 'play games' with displayed APY data."

Nashpoint

Cormac Daly

Founder, Nashpoint

"feels like @vaultsfyi has suddenly moved ahead of @DefiLlama for discovering yield opportunities."

crews.eth

crews.eth

@theyoungcrews

"@Vaultsfyi always has great data to track protocol growth!"

0xJibby

0xJibby

@0xJibby

"If you aren't using vaults for your onchain yield data, you are simply doing it wrong."

fatmac

fatmac

@fat_mac2

"One of my new favorite sites for tracking onchain yield opportunities. Highly recommend."

Aes

Aes

@AesPoker

"Vaults.fyi is one of my most visited bookmarked sites. I use it daily to find the highest returning DeFi strategies."

Thomas Hepner

Thomas Hepner

@thomas_hepner

"@vaultsfyi is a really really cool project."

fiddy

fiddy

@fiddyresearch

Build the future of yield.

Get an API key and make your first call in minutes. Standardized yield data, transaction payloads, and portfolio tracking across 1,000+ vaults on 20+ networks.

Put your idle assets to work.

Connect your wallet and start earning from top DeFi protocols in under 60 seconds. No fees.

Open app