FunFair (FUN) API and Price Oracle

FunFair API Logo


For informational use only; request a custom oracle/API for production below.
General information
Contract address
Smart contract address of the asset
Blockchain network where the asset is deployed
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.
Update frequency
120 seconds is the default update frequency. This parameter is customisable.Learn more about oracle updates.
Next update
24h Volume
The total volume captured by DIA across all the integrated sources.
Volume 24h
Trades 24h
Get a custom FunFair price oracle or API endpoint

DIA Oracle Builder [BETA]
Create and manage price oracles autonomously
  • Autonomously deploy oracles under 3 minutes
  • Select data sources, methodology & update triggers
  • Easily fund, edit and delete oracles
  • Management and monitoring dashboard
  • Available in 3 testnet chains
build your oracle
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 35+ chains
Start request process
Token information

What is FunFair (FUN)?

FunFair (FUN) is a decentralized platform for online casino gaming. It offers a transparent and secure gambling experience using blockchain technology. Launched in 2017 by founder Jez San, FunFair aims to revolutionize the gaming industry by eliminating the need for trust in traditional casinos. The token allows users to place bets and receive winnings within the ecosystem. With a focus on fairness and efficiency, FunFair provides a unique gaming experience for players worldwide.

How does FunFair work?

FunFair is a decentralized gambling platform that aims to revolutionize the online casino industry by utilizing blockchain technology. The platform is built on the Ethereum blockchain, which allows for transparency, security, and fairness in the gambling process.

One of the key technologies behind FunFair is smart contracts. Smart contracts are self-executing contracts with the terms of the agreement directly written into lines of code. In the context of FunFair, these smart contracts act as the casino operator, controlling the rules of the game and the distribution of winnings.

To ensure fairness and randomness, FunFair employs a unique technology called Fate Channels. Fate Channels operate off-chain, meaning the majority of transactions occur outside of the blockchain, thus reducing costs and increasing efficiency. During the gameplay, players deposit their funds into the FunFair system and open a Fate Channel. The result of each game is determined off-chain, and only the final outcome is recorded on the blockchain.

By utilizing blockchain technology, FunFair eliminates the need for traditional intermediaries such as casinos and regulators. This significantly reduces costs and allows for a more direct and secure gambling experience. Players can also achieve instant payouts without the need to wait for lengthy withdrawal processes.

Furthermore, FunFair's use of the Ethereum blockchain ensures that all transactions and game outcomes are transparent and auditable. This transparency builds trust among players, knowing that the platform doesn't have the ability to manipulate results.

In summary, FunFair utilizes the Ethereum blockchain, smart contracts, and Fate Channels to create a decentralized gambling platform that offers transparency, security, fairness, and instant payouts.

What are the benefits of FunFair?

FunFair is a blockchain-based platform that offers a range of benefits compared to its direct competitors in the online gambling and gaming industry. One of the key advantages of FunFair is its decentralized nature, which ensures transparency and fairness in the gaming process. This is achieved through the use of smart contracts, which eliminate the need for traditional intermediaries and reduce the risk of fraud or manipulation.

Another benefit of FunFair is its efficiency. The platform operates on the Ethereum blockchain, which allows for fast and inexpensive transactions compared to traditional online casinos. Additionally, FunFair's use of state channels enables off-chain processing, further enhancing the speed and scalability of the platform.

FunFair also offers a superior user experience compared to its competitors. The platform is designed with a user-friendly interface and intuitive gameplay, making it accessible to both experienced gamblers and newcomers. Moreover, FunFair's games are provably fair, providing players with the ability to independently verify the fairness of each game.

In terms of cost-effectiveness, FunFair stands out from its competitors. By utilizing blockchain technology, the platform eliminates the need for costly infrastructure and third-party service providers, resulting in lower operating costs. These cost savings can be passed on to the players in the form of higher payouts and lower fees.

Overall, FunFair's decentralized and efficient nature, along with its user-friendly interface and cost-effectiveness, give it a competitive edge over its direct competitors in the online gambling and gaming industry.

What is FunFair used for?

FunFair is a blockchain-based platform that aims to revolutionize the online casino industry. It is used to create and operate decentralized casinos, providing a fair and transparent gambling experience for players.

One of the common use cases for FunFair is to address the many challenges faced by traditional online casinos. With FunFair, players can enjoy provably fair games, meaning that the outcomes are verifiably random and not influenced by the platform or any third party. This increases trust and eliminates the need to rely on centralized platforms that handle user funds.

Another common case for FunFair is its ability to reduce transaction costs and improve efficiency. By leveraging blockchain technology, FunFair allows for instant deposits and withdrawals, eliminating the need for lengthy withdrawal processes associated with traditional casinos. Additionally, the use of cryptographic tokens as currency enables seamless and secure transactions, providing a frictionless gambling experience.

One specific case where FunFair excels is in enabling global accessibility to online gambling. Traditional online casinos often restrict access based on a player's geographic location or require lengthy verification processes. With FunFair, anyone with an internet connection can participate, regardless of their location or personal information. This opens up new opportunities for players who were previously excluded from the online gambling market, creating a more inclusive ecosystem.

In summary, FunFair is used to create and operate decentralized casinos that offer provably fair games, reduce transaction costs, and improve accessibility. It strives to revolutionize the online casino industry by providing a transparent and inclusive gambling experience for players worldwide.

What is DIA's FunFair API?

DIA's FunFair API is part of DIA's suite of API endpoints that provide real-time price feeds for various crypto assets. These feeds are generated using raw data from multiple on-chain and off-chain exchanges, totaling over 85 cryptocurrency and NFT exchanges. DIA's robust data aggregation process sets them apart from other web3 data providers, allowing them to deliver unparalleled accuracy and reliability.

While DIA does offer free API endpoints for developers to test, the real value lies in their custom feeds. These custom feeds can be tailor-made to suit specific requirements, including the sources, methodologies, and update mechanisms. By offering this level of customization, DIA ensures that users have access to the most relevant and accurate data for their specific needs.

To request a custom feed, users can reach out to DIA via Discord or Telegram. The possibilities for utilizing DIA's APIs are vast and diverse. In the world of decentralized finance (DeFi), the price information from DIA's APIs can be leveraged in areas such as derivatives, options and futures, lending and borrowing markets, collateralized stablecoins, synthetic asset issuance, and money markets, among others.

Furthermore, in the growing sector of NFT finance (NFTfi), DIA's APIs have applications in peer-to-pool NFT lending and borrowing, on-chain NFT derivatives, NFT renting, NFT fractionalization, and more.

In summary, DIA's FunFair API, along with their other API endpoints, provides developers with real-time price feeds for crypto assets. While free API endpoints are available for testing purposes, the true value lies in DIA's custom feeds, which can be fully tailored to meet specific requirements. These APIs have wide-ranging applications in both DeFi and NFTfi sectors, contributing to the overall growth and innovation within the blockchain ecosystem.

What is DIA's FunFair price oracle?

DIA's FunFair price oracle is a smart contract that provides real-time price feeds for crypto assets. DIA sets itself apart by offering a wide range of custom price oracles, tailored to specific user requirements. While DIA provides demo oracles for testing purposes, these cannot be integrated into production applications. Developers looking for a custom configuration for price feed data can request a dedicated price feed oracle from DIA.

DIA's price feeds are constructed using raw data from over 85 on-chain and off-chain exchanges, covering billions of individual trades. This extensive data collection ensures accurate and reliable price information. DIA is integrated with 35+ layer 1 and layer 2 networks, enabling the deployment of price oracles across multiple blockchains.

The use cases for DIA's price oracles are vast and span the blockchain ecosystem. In DeFi, DIA's price feeds can be utilized in derivatives, options and futures, lending and borrowing markets, collateralized stablecoins, synthetic asset issuance, money markets, and more. For NFTfi applications, DIA's oracles can facilitate peer-to-pool NFT lending and borrowing, on-chain NFT derivatives, NFT renting, NFT fractionalization, and more.

A blockchain oracle, in general, is an external information provider that supplies verified data from outside the blockchain to smart contracts. Oracles play a crucial role in enabling smart contracts to interact with real-world data, expanding the usability and functionality of blockchain applications.

To request a custom feed from DIA or to explore their demo oracles, developers can reach out to DIA via Discord or Telegram. For more information, DIA's documentation provides detailed insights and resources (

Why use DIA's FUN API & price oracle?

DIA's FUN API and Price Oracle offer numerous benefits for users in the blockchain ecosystem. These tools provide accurate and reliable price data for cryptocurrencies and NFTs, giving users access to crucial information. One key advantage of DIA's API and Price Oracle is the high level of customization available. Users can tailor each oracle and API endpoint to suit the specific needs of their decentralized applications. This includes configuring data sources, applying data cleaning filters, determining pricing methodologies, and establishing update mechanisms and frequencies. This customization ensures the robustness and resilience of the data and oracle, even in unique market conditions.

Transparency is another major benefit of using DIA's API and Oracle feeds. DIA provides full and granular transparency throughout the entire data journey. Users can closely track and monitor the oracle and API feeds, ensuring transparency and trust in the information provided. DIA's tracking and monitoring tools further enhance the overall user experience.

In summary, DIA's FUN API and FUN Price Oracle offer tailored and customizable solutions for users in the blockchain ecosystem. With accurate and customizable price data, users can make informed decisions and efficiently operate their decentralized applications. The transparency provided by DIA's tools ensures trust and reliability in the data, enabling users to confidently navigate the blockchain market.

Why use DIA data feeds and oracles?

DIA provides full insight on the oracle’s data journey as well monitoring tools to track feeds in real-time.
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.