# DIA Oracles ## Docs - [Feeders (Sourcing Layer)](https://www.diadata.org/docs/dia-stack/architecture/core-components/feeders.md) - [DIA Chain Information](https://www.diadata.org/docs/dia-stack/architecture/core-components/lasernet/chain-information.md) - [Overview](https://www.diadata.org/docs/dia-stack/architecture/core-components/lasernet/overview.md) - [Architecture Overview](https://www.diadata.org/docs/dia-stack/architecture/core-components/overview.md): Explore how Lumina handles the flow of data and updates across the network using its robust and modular architecture. - [Spectra (Cross-chain Messaging Layer)](https://www.diadata.org/docs/dia-stack/architecture/core-components/spectra.md) - [CEXes Data](https://www.diadata.org/docs/dia-stack/architecture/data-sources/cexes-data.md) - [DEXes Data](https://www.diadata.org/docs/dia-stack/architecture/data-sources/dexes-data.md): In contrast to centralized exchanges, in decentralized exchanges, it is possible to retrieve trading data directly from the respective blockchain by subscribing to the corresponding pool events. - [Data Sources](https://www.diadata.org/docs/dia-stack/architecture/data-sources/overview.md) - [Distributed Randomness Beacon](https://www.diadata.org/docs/dia-stack/architecture/data-sources/randomness.md): DIA leverages Drand's distributed randomness beacon to provide verifiable, unbiased random numbers on-chain - [Fundamental Feeds](https://www.diadata.org/docs/dia-stack/data-products/fundamental-feeds.md): Derive asset values from their fundamentals rather than market prices. Ideal for stablecoins, synthetic assets, and yield-bearing tokens. - [Real-World Asset Feeds](https://www.diadata.org/docs/dia-stack/data-products/rwa-price-feeds.md): DIA xReal is designed for Real-World Asset (RWA) applications, bringing hundreds of data feeds for stocks, commodities, FX rates, and more on-chain. - [Token Price Feeds](https://www.diadata.org/docs/dia-stack/data-products/token-price-feeds.md): DIA token price feeds provide smart contracts with real-time price information of cryptocurrencies, transparently sourced from high-volume DEXs and CEXs. - [Verifiable Randomness](https://www.diadata.org/docs/dia-stack/data-products/verifiable-randomness.md): DIA xRandom provides smart contracts with unpredictable random numbers. - [DIA Stack Overview](https://www.diadata.org/docs/dia-stack/overview.md): DIA is a fully on-chain, trustless oracle architecture featuring permissionless access and modular design, powered by an Ethereum Layer-2 core. Developed by DIA, open for all. - [Overview](https://www.diadata.org/docs/guides/chain-guides-overview.md): Chain-specific guides for accessing DIA oracle price feeds on each supported blockchain network. - [Alephium](https://www.diadata.org/docs/guides/chain-specific-guide/alephium.md): dApps built on Alephium can leverage DIA oracles to access up-to-date asset price information. - [Arbitrum](https://www.diadata.org/docs/guides/chain-specific-guide/arbitrum.md): dApps built on Arbitrum can leverage DIA oracles to access up-to-date asset price information. - [Astar](https://www.diadata.org/docs/guides/chain-specific-guide/astar.md): dApps built on Astar can leverage DIA oracles to access up-to-date asset price information. - [Aurora](https://www.diadata.org/docs/guides/chain-specific-guide/aurora.md): dApps built on Aurora can leverage DIA oracles to access up-to-date asset price information. - [Avalanche](https://www.diadata.org/docs/guides/chain-specific-guide/avalanche.md): dApps built on Avalanche can leverage DIA oracles to access up-to-date asset price information. - [Base](https://www.diadata.org/docs/guides/chain-specific-guide/base.md): dApps built on Base can leverage DIA oracles to access up-to-date asset price information. - [GEB Network](https://www.diadata.org/docs/guides/chain-specific-guide/bevm.md): dApps built on GEB Network can leverage DIA oracles to access up-to-date asset price information. - [BNB Chain](https://www.diadata.org/docs/guides/chain-specific-guide/bnb-chain.md): dApps built on BNB Chain can leverage DIA oracles to access up-to-date asset price information. - [BOB Build on Bitcoin](https://www.diadata.org/docs/guides/chain-specific-guide/bob-build-on-bitcoin.md): dApps built on BOB Build on Bitcoin can leverage DIA oracles to access up-to-date asset price information. - [Boba Network](https://www.diadata.org/docs/guides/chain-specific-guide/boba-network.md): dApps built on Boba Network can leverage DIA oracles to access up-to-date asset price information. - [Celo](https://www.diadata.org/docs/guides/chain-specific-guide/celo.md): dApps built on Celo can leverage DIA oracles to access up-to-date asset price information. - [Clover](https://www.diadata.org/docs/guides/chain-specific-guide/clover.md): dApps built on Clover can leverage DIA oracles to access up-to-date asset price information. - [CrossFi](https://www.diadata.org/docs/guides/chain-specific-guide/crossfi.md): dApps built on CrossFi can leverage DIA oracles to access up-to-date asset price information. - [Edu Chain](https://www.diadata.org/docs/guides/chain-specific-guide/edu-chain.md): dApps built on EduChain can leverage DIA oracles to access up-to-date asset price information. - [Ethereum](https://www.diadata.org/docs/guides/chain-specific-guide/ethereum.md): dApps built on Ethereum can leverage DIA oracles to access up-to-date asset price information. - [ETHPar](https://www.diadata.org/docs/guides/chain-specific-guide/ethpar.md): dApps built on ETHPar can leverage DIA oracles to access up-to-date asset price information. - [Evmos](https://www.diadata.org/docs/guides/chain-specific-guide/evmos.md): dApps built on Evmos can leverage DIA oracles to access up-to-date asset price information. - [Fantom](https://www.diadata.org/docs/guides/chain-specific-guide/fantom.md): dApps built on Fantom can leverage DIA oracles to access up-to-date asset price information. - [Fuse](https://www.diadata.org/docs/guides/chain-specific-guide/fuse.md): dApps built on Fuse can leverage DIA oracles to access up-to-date asset price information. - [Gnosis Chain](https://www.diadata.org/docs/guides/chain-specific-guide/gnosis-chain.md): dApps built on Gnosis Chain can leverage DIA oracles to access up-to-date asset price information. - [GOAT Network](https://www.diadata.org/docs/guides/chain-specific-guide/goat-network.md): dApps built on GOAT Network can leverage DIA oracles to access up-to-date asset price information. - [Hydration](https://www.diadata.org/docs/guides/chain-specific-guide/hydration.md): dApps built on Hydration can leverage DIA oracles to access up-to-date asset price information. - [Kadena](https://www.diadata.org/docs/guides/chain-specific-guide/kadena.md): dApps built on Kadena can leverage DIA oracles to access up-to-date asset price information. - [Linea](https://www.diadata.org/docs/guides/chain-specific-guide/linea.md): dApps built on Linea can leverage DIA oracles to access up-to-date asset price information. - [LUKSO](https://www.diadata.org/docs/guides/chain-specific-guide/lukso.md): dApps built on LUKSO can leverage DIA oracles to access up-to-date asset price information. - [Metis](https://www.diadata.org/docs/guides/chain-specific-guide/metis.md): dApps built on Metis can leverage DIA oracles to access up-to-date asset price information. - [Moonbase](https://www.diadata.org/docs/guides/chain-specific-guide/moonbase.md): dApps built on Moonbase can leverage DIA oracles to access up-to-date asset price information. - [Moonbeam](https://www.diadata.org/docs/guides/chain-specific-guide/moonbeam.md): dApps built on Moonbeam can leverage DIA oracles to access up-to-date asset price information. - [Moonriver](https://www.diadata.org/docs/guides/chain-specific-guide/moonriver.md): dApps built on Moonriver can leverage DIA oracles to access up-to-date asset price information. - [Nervos](https://www.diadata.org/docs/guides/chain-specific-guide/nervos.md): dApps built on Nervos can leverage DIA oracles to access up-to-date asset price information. - [OKT Chain (OKX)](https://www.diadata.org/docs/guides/chain-specific-guide/okt-chain.md): dApps built on OKT Chain can leverage DIA oracles to access up-to-date asset price information. - [Optimism](https://www.diadata.org/docs/guides/chain-specific-guide/optimism.md): dApps built on Optimism can leverage DIA oracles to access up-to-date asset price information. - [Plume](https://www.diadata.org/docs/guides/chain-specific-guide/plume.md): dApps built on Plume can leverage DIA oracles to access up-to-date asset price information. - [Polygon](https://www.diadata.org/docs/guides/chain-specific-guide/polygon.md): dApps built on Polygon can leverage DIA oracles to access up-to-date asset price information. - [Polygon zkEVM](https://www.diadata.org/docs/guides/chain-specific-guide/polygon-zkevm.md): dApps built on Polygon zkEVM can leverage DIA oracles to access up-to-date asset price information. - [Shibuya](https://www.diadata.org/docs/guides/chain-specific-guide/shibuya.md): dApps built on Shibuya can leverage DIA oracles to access up-to-date asset price information. - [Shiden](https://www.diadata.org/docs/guides/chain-specific-guide/shiden.md): dApps built on Shiden can leverage DIA oracles to access up-to-date asset price information. - [Shido](https://www.diadata.org/docs/guides/chain-specific-guide/shido.md): dApps built on Shido can leverage DIA oracles to access up-to-date asset price information. - [Somnia](https://www.diadata.org/docs/guides/chain-specific-guide/somnia.md): dApps built on Somnia can leverage DIA oracles to access up-to-date asset price information - [Sonic](https://www.diadata.org/docs/guides/chain-specific-guide/sonic.md): dApps built on Sonic can leverage DIA oracles to access up-to-date asset price information. - [Soroban](https://www.diadata.org/docs/guides/chain-specific-guide/soroban.md): dApps built on Soroban can leverage DIA oracles to access up-to-date asset price information. - [Stacks](https://www.diadata.org/docs/guides/chain-specific-guide/stacks.md): dApps built on Stacks can leverage DIA oracles to access up-to-date asset price information. - [Superseed](https://www.diadata.org/docs/guides/chain-specific-guide/superseed.md): dApps built on Superseed can leverage DIA oracles to access up-to-date asset price information. - [Swell](https://www.diadata.org/docs/guides/chain-specific-guide/swell.md): dApps built on Swell can leverage DIA oracles to access up-to-date asset price information. - [Telos](https://www.diadata.org/docs/guides/chain-specific-guide/telos.md): dApps built on Telos can leverage DIA oracles to access up-to-date asset price information. - [Unichain](https://www.diadata.org/docs/guides/chain-specific-guide/unichain.md): dApps built on Unichain can leverage DIA oracles to access up-to-date asset price information. - [Units Network](https://www.diadata.org/docs/guides/chain-specific-guide/units-network.md): dApps built on Units Network can leverage DIA oracles to access up-to-date asset price information. - [Velas](https://www.diadata.org/docs/guides/chain-specific-guide/velas.md): dApps built on Velas can leverage DIA oracles to access up-to-date asset price information. - [W Chain](https://www.diadata.org/docs/guides/chain-specific-guide/w-chain.md): dApps built on W Chain can leverage DIA oracles to access up-to-date asset price information. - [Wanchain](https://www.diadata.org/docs/guides/chain-specific-guide/wanchain.md): dApps built on Wanchain can leverage DIA oracles to access up-to-date asset price information. - [XRP Ledger (XRPL)](https://www.diadata.org/docs/guides/chain-specific-guide/xrp-ledger-xrpl.md): dApps built on XRPL can leverage DIA oracles to access up-to-date asset price information. - [zkSync](https://www.diadata.org/docs/guides/chain-specific-guide/zksync.md): dApps built on zkSync can leverage DIA oracles to access up-to-date asset price information. - [DIA Deployments](https://www.diadata.org/docs/guides/dia-deployments.md): Complete list of DIA contract deployments for the Lumina components on DIA Lasernet Testnet& Mainnet. - [DIA Staking](https://www.diadata.org/docs/guides/general-guides/dia-staking.md) - [Run a Feeder](https://www.diadata.org/docs/guides/general-guides/run-a-feeder.md): Running a feeder is a way to contribute to the decentralization of the data sourcing process in DIA's feeder network, making the ecosystem robust and giving dApps access to real-time and verifiable data. - [Hardware Specs](https://www.diadata.org/docs/guides/general-guides/run-a-feeder/hardware-specs.md) - [Setting Up the Node](https://www.diadata.org/docs/guides/general-guides/run-a-feeder/setting-up-the-node.md) - [Docker Compose](https://www.diadata.org/docs/guides/general-guides/run-a-feeder/setting-up-the-node/docker-compose.md) - [Docker Run](https://www.diadata.org/docs/guides/general-guides/run-a-feeder/setting-up-the-node/docker-run.md) - [Kubernetes](https://www.diadata.org/docs/guides/general-guides/run-a-feeder/setting-up-the-node/kubernetes.md) - [OracleRequestRecipient.sol](https://www.diadata.org/docs/guides/general-guides/smart-contracts/OracleRequestRecipient.sol.md) - [PushOracleReceiver.sol](https://www.diadata.org/docs/guides/general-guides/smart-contracts/PushOracleReceiver.sol.md) - [DIAOracleV2.sol](https://www.diadata.org/docs/guides/general-guides/smart-contracts/diaoraclev2.sol.md) - [DIARandomOracle.sol](https://www.diadata.org/docs/guides/general-guides/smart-contracts/diarandomoracle.sol.md) - [Build a Scraper](https://www.diadata.org/docs/guides/general-guides/tutorials.md): Develop applications and sources on top of DIA using our open-source infrastructure. - [Add a New Exchange Scraper](https://www.diadata.org/docs/guides/general-guides/tutorials/add-a-new-exchange-scraper.md) - [Add a New Foreign Scraper](https://www.diadata.org/docs/guides/general-guides/tutorials/add-a-new-foreign-scraper.md) - [Add a New Liquidity Scraper](https://www.diadata.org/docs/guides/general-guides/tutorials/add-a-new-liquidity-scraper.md) - [Additional Notes](https://www.diadata.org/docs/guides/general-guides/tutorials/additional-notes.md) - [Development Cluster Stack](https://www.diadata.org/docs/guides/general-guides/tutorials/development-cluster-stack.md) - [DIA Test‐Space with Docker Compose](https://www.diadata.org/docs/guides/general-guides/tutorials/dia-test-space-with-docker-compose.md): Developing, Testing, and Building the DIA platform with Docker Compose - [DIA Test‐Space with Minikube](https://www.diadata.org/docs/guides/general-guides/tutorials/dia-test-space-with-minikube.md): Developing, Testing, and Building the DIA platform with Minikube - [Fetch Price Data](https://www.diadata.org/docs/guides/how-to-guides/fetch-price-data.md): Learn how to fetch token price data from DIA's decentralized oracle network. - [request Method](https://www.diadata.org/docs/guides/how-to-guides/fetch-price-data/pull-based-oracles.md): [Pull (or also known as Request Based Oracle) oracle](/reference/architecture/data-delivery#pull-model) model enables the creation of requests for asset prices on a source blockchain. These requests are sent through a mailbox on the current chain and ultimately delivered to the DIA chain, which retrieves and delivers the required price data. - [updates Method](https://www.diadata.org/docs/guides/how-to-guides/fetch-price-data/push-based-oracles.md): The [Push Oracle ](/reference/architecture/data-delivery#push-model)model enables contracts to receive real-time updates based on predefined criteria such as fixed intervals, specific price deviations, or a combination of both. This design provides flexibility and efficiency for decentralized applications needing accurate and timely data. - [getValue Method](https://www.diadata.org/docs/guides/how-to-guides/fetch-price-data/solidity.md): There are two ways that you can access the oracle in your dApp. You can either declare an IDIAOracleV2 interface or import the solidity library. - [Fund your Oracle](https://www.diadata.org/docs/guides/how-to-guides/fund-the-oracle.md): Oracles require a constant stream of updates, thus gas costs reimbursement for updates is needed. To achieve this, all oracles deployed by DIA have a dedicated wallet which calls oracle contracts for updates. This is referred to as the "gas wallet". - [Generate Randomness](https://www.diadata.org/docs/guides/how-to-guides/generate-randomness.md): This guide shows you how to use the randomness oracle within your smart contract and get verifiable random numbers available to your dApp! - [Solidity](https://www.diadata.org/docs/guides/how-to-guides/generate-randomness/solidity.md): DIA uses the drand.love public randomness beacon, and updates its oracle with round number, randomness and signature. Anyone can access published random values via round ID. - [Migrate from Chainlink](https://www.diadata.org/docs/guides/how-to-guides/migrate-to-dia.md): The `DiaAssetSpecificCallingConvention` contract is compatible with `AggregatorV3Interface`, allowing developers to read price data from a DIA oracle contract deployed for each asset by calling `latestRoundData()` and returning the latest available price of that specific asset. - [Request a Custom Oracle](https://www.diadata.org/docs/guides/how-to-guides/request-a-custom-oracle.md): DIA offers highly customizable oracles that are individually tailored to each dApp’s needs. Each oracle can be customized in several ways, ensuring that the data and oracle remain robust and resilient to market volatily. - [Methodologies](https://www.diadata.org/docs/guides/methodologies-overview.md): Learn how DIA processes data and applies pricing methodologies for delivering reliable oracle feeds. - [Price Aggregation](https://www.diadata.org/docs/guides/methodologies/data-processing/price-aggregation.md): With all [aggregated data from multiple sources](trades-collection), DIA performs many layers of processing to build high-quality feeds resilient to bad actors. All steps can be customized with tailor-made methodologies to best serve each use case. - [Trades Collection](https://www.diadata.org/docs/guides/methodologies/data-processing/trades-collection.md) - [Update Triggers](https://www.diadata.org/docs/guides/methodologies/data-processing/update-triggers.md): The price feed is created and published via an API endpoint, utilizing the previously [selected data sources](trades-collection) and [computational methodologies](price-aggregation). - [IR: Interquartile Range Filter](https://www.diadata.org/docs/guides/methodologies/pricing-methodologies/ir-interquartile-range-filter.md): This section describes how we filter for outliers in ourprice determination system. - [LST Fair Price](https://www.diadata.org/docs/guides/methodologies/pricing-methodologies/lst-fair-price.md) - [MAIR: Moving Average with Interquartile Range Filter](https://www.diadata.org/docs/guides/methodologies/pricing-methodologies/mair-moving-average-with-interquartile-range-filter.md) - [VWAP: Volume Weighted Average Price](https://www.diadata.org/docs/guides/methodologies/pricing-methodologies/vwap-volume-weighted-average-price.md): This page contains information about the VWAP pricing methodology. - [VWAPIR: Volume Weighted Average Price with Interquartile Range Filter](https://www.diadata.org/docs/guides/methodologies/pricing-methodologies/vwapir-volume-weighted-average-price-with-interquartile-range-filter.md): This page contains information about the VWAPIR pricing methodology. - [Oracle Grants](https://www.diadata.org/docs/guides/oracle-grants.md): A grant initiative designed to accelerate dApp development across blockchains by covering oracle gas fees for builders. - [Quickstart](https://www.diadata.org/docs/guides/quickstart.md) - [Audits](https://www.diadata.org/docs/guides/resources/audits.md) - [Community & Support](https://www.diadata.org/docs/guides/resources/community-and-support.md) - [Research](https://www.diadata.org/docs/guides/resources/research.md): This section represents DIAs research efforts aimed at providing genuine data for the users. - [Compounded Rates](https://www.diadata.org/docs/guides/resources/research/compounded-rates.md): In order to reduce the impact of outliers in daily fluctuations of financial markets, many financial products use simple or compounded averages of a given reference rate. For instance, on every business day the New York Federal Reserve Bank publishes the average rate of the Secured Overnight Financing Rate, compounded over the last 30 calendar days under the name of SOFR30. - [Crypto Volatility Index](https://www.diadata.org/docs/guides/resources/research/cvi.md): The CVI is calculated on top of bid/ask information received from crypto (BTC) option markets. First of all, the current level of the orderbook is recorded and placed into a timestamped order. Instruments for each strike price are monitored, both for Call and Put options. - [Polkadot Medianizer](https://www.diadata.org/docs/guides/resources/research/polkadot-medianizer.md): This example demonstrates the functionality of the Laminar chain's oracle pallet including the aggregation of price values. - [Return Rates in Crypto Farming](https://www.diadata.org/docs/guides/resources/research/return-rates-in-crypto-farming.md): A basic introduction to some fundamental concepts in crypto asset farming - [Security Bounty Program](https://www.diadata.org/docs/guides/resources/security-bounty-program.md): If you report security issues within our backend, smart contracts, and production operations, we offer a security bounty program. To be eligible for a bounty, be sure to follow these requirements: - [Terms & Conditions](https://www.diadata.org/docs/guides/resources/t-and-c.md) - [Contributor Covenant Code of Conduct](https://www.diadata.org/docs/guides/resources/t-and-c/code_of_conduct.md): We welcome every contributor who wants to add something to our project. If you want to submit a feature request or a bug report please submit an issue on our issue page. In case you want to add code, read the documentation about the area you want to contribute to and generate a pull request after you finished programming. We will then take a look at your contribution and eventually integrate it. - [Disclaimer](https://www.diadata.org/docs/guides/resources/t-and-c/disclaimer.md): Important disclaimer information for visitors of DIA, outlining the boundaries and limitations of the content provided. - [Licence Agreement](https://www.diadata.org/docs/guides/resources/t-and-c/licence-agreement.md): For the usage of DIA's data and services - [null](https://www.diadata.org/docs/home.md) - [DIA APIs](https://www.diadata.org/docs/reference/apis.md) - [Commodities](https://www.diadata.org/docs/reference/apis/commodities.md): Returns the latest price of a commodity in USD. - [ETFs](https://www.diadata.org/docs/reference/apis/etfs.md): Returns the latest price of an ETF in USD. - [Forex](https://www.diadata.org/docs/reference/apis/forex.md): Returns the latest available exchange rate for fiat currencies. - [RWA Prices](https://www.diadata.org/docs/reference/apis/rwa-prices.md): DIA currently offers a set of price feeds for a selection of traditional financial assets, delivered via RestAPI endpoints. - [Token Prices](https://www.diadata.org/docs/reference/apis/token-prices.md): Test DIA's APIs dedicated to token prices. - [RestAPI](https://www.diadata.org/docs/reference/apis/token-prices/api-endpoints.md): The page includes a list of all available Token data endpoints on DIA network. To review the data sources and methodologies used for pricing, visit the [Data Sources](/reference/cryptocurrency-trading-data) page. - [Asset Chart Points](https://www.diadata.org/docs/reference/apis/token-prices/api-endpoints/asset-chart-points.md): Get asset details for all exchanges. - [Asset Last Trades](https://www.diadata.org/docs/reference/apis/token-prices/api-endpoints/asset-last-trades.md): Get last trade timestamp for an asset. - [Blockchains](https://www.diadata.org/docs/reference/apis/token-prices/api-endpoints/blockchains.md): Get a list of all available blockchains. - [Centralized Exchange Pairs by Asset](https://www.diadata.org/docs/reference/apis/token-prices/api-endpoints/centralized-exchange-pairs-by-asset.md): Get all pairs on a centralized exchange for which DIA is collecting trades data at the moment. Include pairs across all exchanges involving the requested asset as either base- or quote token. - [Centralized Exchange Pairs by Exchange](https://www.diadata.org/docs/reference/apis/token-prices/api-endpoints/centralized-exchange-pairs-by-exchange.md): Get all pairs on a given exchange for which DIA is collecting trades data at the moment. - [Decentralized Exchanges Pool Liquidity](https://www.diadata.org/docs/reference/apis/token-prices/api-endpoints/decentralized-exchanges-pool-liquidity.md): Get the latest state of a DEX pool's liquidity. - [DeFi Protocols Collateral Information](https://www.diadata.org/docs/reference/apis/token-prices/api-endpoints/defi-protocols-collateral-information.md): The endpoint provides information on the health factor of DeFi protocols. - [Exchange Chart Points](https://www.diadata.org/docs/reference/apis/token-prices/api-endpoints/exchange-chart-points.md): Get chart points for an exchange. - [Exchanges](https://www.diadata.org/docs/reference/apis/token-prices/api-endpoints/exchanges.md): Get a list of all available crypto exchanges. - [Guest Quotation](https://www.diadata.org/docs/reference/apis/token-prices/api-endpoints/guest-quotation.md): Get the latest quotation for a token from a guest source. - [Guest Symbols](https://www.diadata.org/docs/reference/apis/token-prices/api-endpoints/guest-symbols.md): Get the list of available symbols along with their ITIN for guest quotations. - [Quotable Assets](https://www.diadata.org/docs/reference/apis/token-prices/api-endpoints/quotable-assets.md): Returns a list of assets available for quotations. - [Request Samples](https://www.diadata.org/docs/reference/apis/token-prices/api-endpoints/request-samples.md): To simplify your DIA API integration journey, we created sample API calls for retrieving price data in the most widely used programming languages. - [Slippage Calculation (for Uniswap V2 and its forks)](https://www.diadata.org/docs/reference/apis/token-prices/api-endpoints/slippage-calculation-for-uniswap-v2-and-its-forks.md): To predict the amount of tokens required to reach a specified slippage, you can use `Pool Slippage` endpoint. It works for any pool that exists on Uniswap V2 or any fork DEX on supported list of exchanges. - [Token Price Quotation (by address)](https://www.diadata.org/docs/reference/apis/token-prices/api-endpoints/token-price-quotation-by-address.md): Returns the quotation for a fully qualified asset (i.e. distinguished by blockchain and address). Quotations are obtained by filtering trades data with a Moving Average filter and Interquartile Range outlier detection (MAIR). - [Token Price Quotation (by symbol)](https://www.diadata.org/docs/reference/apis/token-prices/api-endpoints/token-price-quotation-by-symbol.md): Get most recent information on the currency corresponding to symbol. Quotations are obtained by filtering trades data with a Moving Average filter and Interquartile Range outlier detection (MAIR). - [GraphQL](https://www.diadata.org/docs/reference/apis/token-prices/graphql.md): DIA made API data easily accessible through GraphQL endpoint. - [Request Samples](https://www.diadata.org/docs/reference/apis/token-prices/graphql/request-samples.md): You can find examples of how to query the endpoint in different programming languages below: ## Optional - [Talk to a dev](https://discord.gg/RjHBcZ9mEH) - [Blog Updates](https://www.diadata.org/blog/)