vaults.fyi
  • General
    • 🏦Overview
    • 💡Use Cases
      • For Wallets and Apps
      • For Analysts
      • For Protocols & Product Teams
    • 🔎Methodology
      • vaults.fyi USD benchmark rate
      • vaults.fyi ETH benchmark rate
    • ❓FAQ
      • Vault requirements for inclusion on vaults.fyi
    • 🤖AI
  • API
    • Introduction
      • Market data
      • Transactional support
      • Portfolio tracking
      • Personalized insights
  • Endpoints
    • General
    • Detailed Vaults
    • Historical
    • Portfolio
    • Transactions
    • Legacy (v1) endpoints
      • v1 Market data
        • Get historical data
          • Get historical APY and TVL data on single vault over timestamp range
          • Get historical APY on single vault over timestamp range
          • Get historical TVL on single vault at single timestamp
          • Get historical APY on single vault at single timestamp
        • Get data for multiple vaults
        • Get data on single vault
          • Get APY on single vault
        • Get benchmark rates
        • Get supported vaults, networks & tokens
          • /vaults
          • /networks
          • /tokens
          • /tags
      • v1 Contextual insights
        • Top vault options for address
        • Get single top option for address
        • [Etherscan cards] Get top USD, top ETH vault for address
      • v1 Generate payloads
        • Prepare calldata
          • Supply/Deposit
          • Withdraw/Redeem
            • Request redeem
            • Claim redeem
          • Claim rewards
        • Get contract interaction details
        • Get supported assets
        • Get supported vaults
      • v1 Position tracking
        • Get user balances
        • Get user positions
        • Get list of past vault txns by user address
        • Get estimated returns for user's vault position
  • Case Studies
    • Kraken Wallet
    • Etherscan Cards
  • Plans
    • Credits
      • Credits (v1 endpoints)
  • Links
    • vaults.fyi
    • X
    • Farcaster
    • Wallfacer Labs
Powered by GitBook
On this page
  • Why use Credits?
  • Credits by endpoint
  • Legacy (v1) API credits per endpoint
  1. Plans

Credits

PreviousPlansNextCredits (v1 endpoints)

Last updated 10 hours ago

Why use Credits?

Our subscriptions are based around "Credits" or "Compute Units", which provide a measure for the resources required to fulfill each request.

To demonstrate through an example, is lighter weight than an endpoint like .

The /apy endpoint returns a single APY at a point in time, while the /historical-apy endpoint can return a wealth of data for many points of time, including detailed metrics for base vs. rewards APY and liquid/locked TVL over requested intervals spanning weeks or months.

Credits by endpoint

Endpoint
Credits

General

/v2/vaults

1 credit

/v2/assets

1 credit

/v2/tags

1 credit

/v2/networks

1 credit

Detailed Vaults

/v2/detailed-vaults

1 base + 4 per vault requested

/v2/detailed-vaults/{network}/{vaultAddress}

3 credits

/v2/detailed-vaults/{network}/{vaultAddress}/apy

1 credit

/v2/detailed-vaults/{network}/{vaultAddress}/tvl

1 credit

Historical

/v2/historical/{network}/{vaultAddress}

4 base + 2 per historical point

/v2/historical/{network}/{vaultAddress}/apy

2 base + 1 per historical point

/v2/historical/{network}/{vaultAddress}/tvl

2 base + 1 per historical point

Portfolio

/v2/portfolio/best-vault/{userAddress}

2 credits

/v2/portfolio/positions/{userAddress}

5 credits

/v2/portfolio/positions/{userAddress}/{network}/{vaultAddress}

1 credit

/v2/portfolio/best-deposit-options/{userAddress}

1 base + 2 per vault requested

/v2/portfolio/returns/{userAddress}/{network}/{vaultAddress}

2 credits

/v2/portfolio/idle-assets/{userAddress}

5 credits

/v2/portfolio/events/{userAddress}/{network}/{vaultAddress}

3 credits

Transactions

/v2/transactions/context/{userAddress}/{network}/{vaultAddress}

3 credits

/v2/transactions/{action}/{userAddress}/{network}/{vaultAddress}

5 credits

Legacy (v1) API credits per endpoint

Looking for details on v1 endpoints? See .

Note: Our v1 (legacy) API endpoints remain fully supported and maintained. You can access the full v1 documentation .

/v1/vaults/{network}/{vaultAddress}/apy
/v1/vaults/{network}/{vaultAddress}/historical-apy
here
here