Go back

yearn.finance (YFI) API and Price Oracle

yearn.finance icon

yearn.finance

YFI
$ 
Information
For informational use only; request a custom oracle/API for production below.

General information

Contract address
Smart contract address of the asset
More info
0x0bc5...d93e
Network
Blockchain network where the asset is deployed
More info
Ethereum
Methodology
Pricing methodology used to determine the price of the token in USD. By default, all price feeds on the DIA App are calculated with a MAIR methodology. This parameter is customisable.Learn more about methodologies.
More info
MAIR
Update frequency
120 seconds is the default update frequency. This parameter is customisable.Learn more about oracle updates.
More info
120s
Next update
24h Volume
The total volume captured by DIA across all the integrated sources.
More info
Source
Volume 24h
Trades 24h
Pairs

Get a custom yearn.finance price oracle or API endpoint

Request custom oracle

Request a fully tailored price oracle implementation

  • Autonomously deploy oracles under 3 minutes
  • Tailored oracles for any individual needs
  • Editable, updatable oracles
  • Real-time gas balance notifications
  • Available in 50+ chains
Start request process

Token information

What is yearn.finance (YFI)?

Yearn.finance (YFI) is a decentralized yield optimization protocol built on Ethereum that automates investment strategies for users holding crypto assets. The protocol aggregates liquidity across DeFi platforms and directs funds to the highest-yielding opportunities, reducing manual management for yield farmers. Launched in 2020 by Andre Cronje, Yearn introduced YFI as its governance token, allowing holders to vote on protocol changes and strategy improvements.

The yearn.finance price API is a blockchain price oracle that delivers real-time YFI token price data sourced from aggregated trades across on-chain and off-chain exchanges. YFI is the governance token for Yearn Finance, a decentralized yield optimization protocol built on Ethereum.

Developers integrate a yearn.finance price API into smart contracts, DeFi applications, and trading systems to access current YFI market prices without relying on centralized data providers. The API returns aggregated price feeds built from individual trade data across 100+ exchanges, enabling accurate pricing for lending protocols, DEX interfaces, portfolio trackers, and automated trading strategies.

DIA provides a free yearn.finance price API endpoint on this page for testing and evaluation. For production deployments, DIA builds custom, configurable feeds where data sources, pricing methodology, and update frequency can be tailored to specific requirements via DIA's Discord or Telegram.

DIA publishes a free price API endpoint for Yearn Finance (YFI) on this asset page, available for developers to test and evaluate at no cost. The free endpoint is designed for testing and evaluation purposes only, not for production use.

For production deployments or customized Yearn Finance price feeds, DIA builds dedicated feeds configured by data sources, pricing methodology, and update frequency. These production feeds are requested via DIA's Discord or Telegram channels, where developers can specify their requirements and discuss implementation details.

A blockchain price oracle is an external data provider that supplies verified market prices from off-chain sources to smart contracts on a blockchain, enabling applications to access real-time asset valuations without relying on a single centralized data point.

DIA can deploy a yearn.finance price oracle on any of its 60+ supported blockchains, delivering verified on-chain YFI price data that smart contracts can consume. YFI is the governance token for the yearn.finance protocol, which aggregates yield farming strategies across decentralized finance.

DIA's price oracle infrastructure runs on Lasernet, DIA's Ethereum layer-2 rollup, which makes each feed independently verifiable on-chain. Custom price oracles for YFI are configurable by data sources, pricing methodology, and update frequency. Production deployments or custom requirements are requested via DIA's Discord or Telegram.

DIA's yearn.finance (YFI) price is calculated by aggregating individual trade data from on-chain and off-chain sources across multiple exchanges, rather than relying on a single exchange or liquidity pool. This methodology reduces the influence of any one market venue on the final price and captures YFI trading activity across the broader market.

The data sources and pricing methodology used in DIA's YFI feed are transparent and publicly documented. For production deployments, the sources, calculation method, and update frequency are configurable based on the specific requirements of the application. Custom YFI feeds can be requested through DIA's Discord or Telegram channels to align with individual use cases.

YFI is a governance token for Yearn Finance, a yield optimization protocol on Ethereum and other blockchains. Developers can use YFI price feeds to build applications that depend on accurate token valuation for Yearn's ecosystem.

A price oracle for YFI enables several concrete use cases:

Governance collateral protocols can accept YFI as backing for loans or stablecoins, requiring live price data to calculate collateral ratios and liquidation thresholds.

Yield farming dashboards track positions in Yearn vaults and need YFI pricing to display the current value of governance rewards earned by liquidity providers.

Decentralized exchanges listing YFI trading pairs require price feeds for slippage detection and fair execution on swaps against other assets.

DIA aggregates trade data from 100+ exchanges to build yearn.finance price feeds, giving developers visibility into which sources and venues contribute to each quote. This transparency lets builders understand exactly how prices are constructed rather than relying on a black-box feed.

DIA builds custom feeds tailored to yearn.finance's specific needs: developers can configure which data sources to include, select the pricing methodology, and set update frequency. This flexibility matters for yield-bearing tokens where sourcing decisions directly affect risk exposure.

Feeds deploy across 60+ blockchains, so yearn.finance integrations work wherever the protocol operates. Independent verifiability through DIA's Lasernet layer-2 means each price update can be cryptographically confirmed without trusting a single party.

To evaluate DIA for yearn.finance, test the free API endpoint available on this page. For production use, request a custom feed via DIA's Discord or Telegram.

Why use DIA data feeds and oracles?

Transparent

DIA provides full insight on the oracle’s data journey as well monitoring tools to track feeds in real-time.

Customisable

Oracles can be tailored to any use case in terms of data sources, methodologies and update mechanisms and much more.

Broadest coverage

DIA provides price oracles for 3,000+ cryptocurrencies: from blue-chip tokens to long-tail assets.