Terra (LUNA) API and Price Oracle

Terra 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 Terra 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 Terra (LUNA)?

Terra (LUNA) is a blockchain protocol that aims to create a stablecoin ecosystem on the Terra blockchain. It was founded in 2018 by Daniel Shin and Do Kwon. The protocol uses stablecoins, such as TerraUSD (UST), which are collateralized by a basket of different cryptocurrencies, to provide price stability. By enabling programmable money, Terra aims to facilitate decentralized finance (DeFi) and build a global payment infrastructure.

How does Terra work?

Terra is a blockchain-based platform that aims to create a stable and scalable digital currency system. It operates on its own blockchain called the Terra blockchain. The underlying technology behind Terra is a combination of algorithms, smart contracts, and decentralized governance.

The Terra blockchain is built on the Cosmos SDK framework, which allows for interoperability with other blockchain networks. It utilizes a delegated proof-of-stake (DPoS) consensus mechanism to validate transactions and secure the network. DPoS involves token holders selecting a set number of validators to validate and confirm transactions.

One of the key features of Terra is its stablecoin, known as TerraUSD (UST). This stablecoin is pegged to the value of the US dollar, making it a reliable store of value and means of transaction within the Terra ecosystem. The stability of TerraUSD is achieved through a mechanism called algorithmic central bank. The protocol autonomously expands and contracts the supply of TerraUSD based on demand, helping to maintain price stability.

Terra also leverages a system of decentralized price oracles to ensure accurate and reliable price feeds for its stablecoin and other assets on the platform. These oracles gather data from various sources and provide it to smart contracts on the Terra blockchain, enabling the execution of automated financial services.

Overall, Terra's underlying technology and blockchain infrastructure enable it to create a stable, scalable, and interoperable ecosystem for digital currencies and financial applications.

What are the benefits of Terra?

Terra is one of the leading blockchain platforms that aims to facilitate stable and scalable decentralized finance (DeFi) applications. It offers several benefits compared to its direct competitors, such as Ethereum or Binance Smart Chain.

One of the key benefits of Terra is its stablecoin ecosystem. Terra uses algorithmic stablecoins pegged to different fiat currencies, such as the U.S. dollar (UST) or the Korean won (KRT). Unlike fiat-backed stablecoins, which require centralization and stringent regulations, Terra's stablecoins are backed by collateral and algorithmic mechanisms. This approach enables stability and reduces counterparty risk.

Another advantage of Terra is its interoperability. Terra stands out by being compatible with various blockchain networks, including Ethereum. This ensures that users can easily transfer assets and interact with other DeFi protocols seamlessly.

Terra also distinguishes itself with its low transaction fees and fast settlement times. By employing a delegated proof-of-stake (DPoS) consensus algorithm, Terra achieves high scalability and throughput, making it an attractive option for users seeking efficient and cost-effective transactions.

Furthermore, Terra fosters a vibrant ecosystem through its native token, Luna, which has enticing staking rewards. Participants can earn rewards and actively participate in the governance of the Terra network, enhancing decentralization and community engagement.

While Terra faces competition from established platforms like Ethereum and Binance Smart Chain, its stability, interoperability, low fees, and vibrant ecosystem contribute to its appeal and set it apart in the DeFi landscape. It offers a compelling option for users looking for a reliable and efficient blockchain platform.

What is Terra used for?

Terra is a blockchain platform designed to maintain a stable digital currency called TerraUSD (UST) and enable the creation of decentralized applications (dApps) and DeFi protocols. It aims to provide a stable and scalable infrastructure for the development of a variety of financial services.

One common use case for Terra is as a stablecoin, offering a digital currency with a stable value for users. Stablecoins like TerraUSD can be used as a medium of exchange, store of value, or unit of account within the Terra ecosystem. Stablecoin adoption allows users to transact in a cryptocurrency with reduced volatility compared to other digital assets like Bitcoin or Ethereum.

Another significant use case for Terra is as a platform for decentralized finance (DeFi) applications. With Terra, developers can create smart contracts and dApps that facilitate lending, borrowing, decentralized exchanges, yield farming, and other financial services. By leveraging blockchain technology, Terra aims to automate financial processes, eliminate intermediaries, and provide transparency and security.

Elaborating on a specific case, one notable Terra-based application is Mirror Protocol. Mirror Protocol allows users to create, manage, and trade synthetic assets called "mirrors." These mirror assets are cryptographic tokens that track the price of real-world assets, such as stocks, indices, or exchange-traded funds (ETFs). Mirror Protocol enables users to gain exposure to traditional financial markets without directly owning the underlying assets. This opens up new investment opportunities and enables diversification within the cryptocurrency space.

In summary, Terra serves as a blockchain platform for stablecoin adoption and the development of DeFi applications. It enables users to transact with a stable digital currency and participate in decentralized financial services. Additionally, specific applications like Mirror Protocol introduce innovative investment possibilities by mirroring the performance of real-world assets.

What is DIA's Terra API?

DIA's Terra API is an application programming interface that provides real-time price feeds of crypto assets. These price feeds are constructed by sourcing raw data from over 85 on-chain and off-chain cryptocurrency and non-fungible token (NFT) exchanges. DIA harnesses this vast amount of data to offer a level of accuracy and breadth that sets it apart from other web3 data providers.

DIA offers free API endpoints for developers to test, as well as fully customizable custom feeds. The free price feed API endpoints can be found on each asset's detail page in the DIA App. These endpoints are provided in a standardized format and are publicly available for informational purposes to support developers' testing needs.

However, the true value lies in DIA's ability to create custom API data feeds. These custom feeds can be tailored to meet specific requirements, including sources, methodologies, and update mechanisms. If a user needs a specialized configuration for a feed, DIA builds a dedicated API price feed to accommodate those needs. To request a custom feed, users can reach out to DIA via Discord or Telegram.

The use cases for DIA's API are varied and span across the blockchain ecosystem. In the decentralized finance (DeFi) space, the price information from DIA's APIs can be utilized in derivatives, options and futures markets, lending and borrowing platforms, collateralized stablecoins, synthetic asset issuance, money markets, and more. Furthermore, in the emerging NFT financial ecosystem (NFTfi), DIA's API enables peer-to-pool NFT lending and borrowing, on-chain NFT derivatives, NFT renting, NFT fractionalization, and other innovative applications.

In summary, DIA's Terra API provides real-time price feeds for a wide range of crypto assets. While free endpoints are available for testing purposes, the true power lies in DIA's ability to create custom feeds tailored to specific needs. The API can be leveraged across various blockchain applications, including DeFi and NFTfi. For more information or to request a custom feed, users can get in touch with DIA via Discord or Telegram.

What is DIA's Terra price oracle?

DIA's Terra price oracle is a smart contract that provides real-time price feeds for cryptocurrencies. DIA stands out from other web3 data providers because it is integrated with over 35 layer 1 and layer 2 networks, allowing it to deploy price oracles on multiple blockchains. These oracles are constructed using raw data sourced from more than 85 on-chain and off-chain cryptocurrency and NFT exchanges, ensuring accurate and reliable price information.

While DIA offers free demo oracles for developers to test, these are only for testing purposes and cannot be used in production applications. However, DIA also provides custom price feed oracles that can be tailored to specific requirements. These custom oracles can be customized in terms of sources, methodologies, update mechanisms, and more. To request a custom feed, users can reach out to DIA through Discord or Telegram.

DIA's price oracles have a wide range of applications within the blockchain ecosystem. They can be used in derivatives, options, futures, lending and borrowing markets, collateralized stablecoins, synthetic asset issuance, money markets, and more in the DeFi space. Additionally, in the NFTfi sector, the oracles can support peer-to-pool NFT lending and borrowing, on-chain NFT derivatives, NFT renting, NFT fractionalization, and other use cases.

A blockchain oracle, in general, is an external information provider that supplies verified data from outside the blockchain to smart contracts. These oracles play a crucial role in bridging the gap between the on-chain and off-chain worlds, enabling smart contracts to interact with real-world data. DIA's custom oracles offer users the flexibility and tailored solutions they need to meet their specific requirements.

Why use DIA's LUNA API & price oracle?

DIA's LUNA API and LUNA Price Oracle offer numerous benefits to users within the blockchain ecosystem. The main advantage lies in the high level of customization available. Users can tailor each oracle and API endpoint to fit the specific requirements of their decentralized applications. This customization includes selecting the data sources for the price feed, applying data cleaning filters and pricing methodologies, and determining the frequency and update mechanisms for the feed. Such customization ensures the resilience and robustness of the data and oracle, enabling it to adapt to unique market conditions.

Transparency is another key benefit of DIA's API and Oracle feeds. Users have access to full and granular transparency throughout the entire data journey. Additionally, DIA provides tracking and monitoring tools to closely examine its oracle and API feeds. This level of transparency ensures trust and reliability for users who rely on accurate and verified data.

By leveraging DIA's technology, users gain access to accurate and reliable price data for cryptocurrencies and NFTs. The customizable nature of the API and Oracle feeds enables users to craft tailored solutions for their specific needs, ensuring robustness and resilience in various market conditions. Furthermore, the transparency provided by DIA offers an added layer of trust for users navigating the blockchain ecosystem.

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.