Stellar (XLM) API and Price Oracle

Stellar 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 Stellar 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 Stellar (XLM)?

Stellar (XLM) is a decentralized open-source blockchain platform that aims to facilitate fast and low-cost cross-border transactions. Founded in 2014 by Jed McCaleb, a co-founder of Ripple, Stellar Development Foundation oversees the development and maintenance of the network. Stellar's native cryptocurrency, XLM, is used to facilitate transactions on the network and as a bridge between different currencies. It was named Stellar to emphasize its goal of creating a stellar financial network accessible to all. Key facts include its focus on financial inclusion and its use of the Stellar Consensus Protocol (SCP) for consensus.

How does Stellar work?

Stellar is a decentralized blockchain-based platform that aims to provide fast and efficient cross-border transactions, especially for low-value payments. The underlying technology behind Stellar is based on a consensus algorithm called the Stellar Consensus Protocol (SCP).

Stellar does not use a typical blockchain like Bitcoin or Ethereum. Instead, it employs a unique federated Byzantine agreement (FBA) algorithm to reach consensus and validate transactions. This means that unlike traditional blockchains, Stellar does not rely on a network of miners to validate transactions. Instead, it uses a network of trusted nodes, known as validators, to agree on the validity of transactions and maintain the integrity of the network.

The Stellar network utilizes its native cryptocurrency called Lumens (XLM) to facilitate transactions. Lumens play a crucial role in preventing spam on the network, as a small fee is required for each transaction. These fees are intended to discourage malicious actors from flooding the network with unnecessary transactions.

Stellar's functioning revolves around the concept of anchors. Anchors are entities, such as banks or financial institutions, that issue assets on the Stellar network. These assets, known as tokens, are representations of real-world assets like fiat currencies or commodities. Anchors act as intermediaries by accepting deposits in exchange for issuing digital tokens on the Stellar network. This allows users to transact with different assets on the network, bridging the gap between traditional financial systems and blockchain technology.

Overall, Stellar offers a scalable, low-cost solution for cross-border transactions, making it an attractive option for businesses and individuals seeking efficient payments. Its unique consensus algorithm and use of anchors differentiate it from other blockchain platforms, providing a secure and fast decentralized infrastructure for financial transactions.

What are the benefits of Stellar?

Stellar is a decentralized blockchain platform that aims to facilitate fast and low-cost cross-border transactions. It offers several benefits compared to its direct competitors, such as Ripple, Ethereum, and Bitcoin.

One of the key benefits of Stellar is its scalability. While Bitcoin and Ethereum have faced challenges in handling high transaction volumes, Stellar's network can process thousands of transactions per second, enabling faster and more efficient transfers of value. This scalability advantage makes Stellar well-suited for global payment networks.

Another advantage of Stellar is its low transaction fees. Unlike Bitcoin and Ethereum, which can have high fees during peak times or congested periods, Stellar's transaction costs remain consistently low. This makes it an attractive option for remittances and micropayments, as users can send small amounts without incurring hefty fees.

Additionally, Stellar's consensus mechanism, known as the Stellar Consensus Protocol (SCP), provides a high level of security and resilience. SCP allows for decentralized control and decision-making, making it more resistant to attacks and censorship.

Stellar also prioritizes inclusivity and aims to provide financial access to the unbanked and underbanked populations. Through its partnership network, Stellar facilitates the issuance of digital assets, enabling individuals and businesses to tokenize assets and create new financial products. This feature opens up opportunities for innovative use cases, such as stablecoins and tokenized securities.

In summary, compared to its direct competitors, Stellar offers scalability, low transaction fees, robust security, and a focus on financial inclusion. These factors position Stellar as a viable blockchain platform for cross-border transactions and a catalyst for global financial accessibility.

What is Stellar used for?

Stellar is a decentralized blockchain platform designed to facilitate fast and low-cost cross-border transactions. It aims to connect financial institutions, payment processors, and individuals, enabling them to send and receive money across borders seamlessly.

Stellar's native cryptocurrency, called Lumens (XLM), plays a crucial role in the network. It acts as a bridge currency, facilitating the conversion between different fiat currencies and cryptocurrencies. XLM is used to pay for transaction fees and to prevent spam and Denial-of-Service (DoS) attacks.

One common use case for Stellar is in remittances, where individuals want to send money to their families or friends in another country. By utilizing Stellar, these transactions can be executed quickly and at a fraction of the cost compared to traditional remittance services. Stellar's platform allows for direct transfers between different currencies, eliminating the need for multiple intermediaries and reducing fees.

Another specific case where Stellar is utilized is in supporting cross-border micropayments. In developing countries, where access to banking services is limited, users can utilize Stellar's network to make small-value transactions, such as paying for digital content or services. The low fees and near-instant transaction times make Stellar an attractive option for these types of microtransactions.

Overall, Stellar's primary use case revolves around facilitating efficient and affordable cross-border transactions, particularly in remittances and micropayments. Its blockchain technology provides a secure and transparent platform, making it a viable solution for individuals, financial institutions, and businesses seeking to streamline their cross-border transactions.

What is DIA's Stellar API?

DIA's Stellar API is one of the API endpoints provided by DIA, a company that offers APIs and blockchain oracles for web3. The API endpoints offered by DIA provide real-time price feeds of various crypto assets, including Stellar. These price feeds are constructed using raw data from over 85 on-chain and off-chain cryptocurrency and NFT exchanges, resulting in a comprehensive and reliable feed.

DIA offers both free API endpoints and fully customizable custom feeds. The free API endpoints can be accessed on the DIA App's asset detail page. They are provided for informational purposes and are in a standardized format, making them easy for developers to test. However, the true value lies in DIA's custom feeds. These custom feeds can be tailored to specific requirements, including sources, methodologies, and update mechanisms. Developers can request a custom feed by contacting DIA through Discord or Telegram.

The use cases for DIA's API are diverse and extensive within the blockchain ecosystem. In the DeFi space, the price information from DIA's APIs can be utilized in derivatives, options and futures, lending and borrowing markets, collateralized stablecoins, synthetic asset issuance, money markets, and more. Similarly, in the NFTfi sector, DIA's API can support peer-to-pool NFT lending and borrowing, on-chain NFT derivatives, NFT renting, NFT fractionalization, and various other applications.

To summarize, DIA's Stellar API is a crucial tool for accessing real-time price feeds for Stellar and other crypto assets. While the free API endpoints are available for testing, the customizable custom feeds offer even greater benefits and flexibility. Developers can leverage DIA's API to power various DeFi and NFTfi applications across the blockchain ecosystem.

(APIs: Application Programming Interfaces)

What is DIA's Stellar price oracle?

DIA's Stellar price oracle is a smart contract that provides real-time price feeds of cryptocurrencies on the Stellar blockchain. DIA stands out from other web3 data providers by offering custom price oracle data feeds. These custom feeds can be tailored in terms of sources, methodologies, update mechanisms, and more, providing users with the flexibility they need for their specific applications.

To request a custom feed, users can get in touch with DIA via Discord or Telegram. This allows developers to have a dedicated price feed oracle that can be integrated into production applications. While DIA also provides demo oracles for testing purposes, these cannot be used in production.

DIA's price oracles are integrated with over 35 layer 1 and layer 2 networks, enabling the deployment of price oracles across various blockchains. The price feeds are constructed using raw data from more than 85 on-chain and off-chain cryptocurrency and NFT exchanges, ensuring accurate and reliable information.

The use cases for DIA's price oracles are wide-ranging and versatile. In the DeFi space, they can be used for derivatives, options and futures, lending and borrowing markets, collateralized stablecoins, synthetic asset issuance, money markets, and more. In the NFT space, the oracles have applications in peer-to-pool NFT lending and borrowing, on-chain NFT derivatives, NFT renting, NFT fractionalization, and more.

With DIA's custom oracles and their wide range of use cases, users can access accurate and tailored price data for their blockchain applications and make more informed decisions.

Why use DIA's XLM API & price oracle?

DIA's XLM API and XLM Price Oracle offer a range of benefits for users in the blockchain ecosystem. One of the main advantages 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 configuration settings such as data sources, cleaning filters, pricing methodologies, and update mechanisms. The customizability ensures that the data and oracle remain robust and resilient to market conditions, providing a tailored solution for every user.

Transparency is another major benefit of using DIA's API and Oracle feeds. The platform provides full and granular transparency throughout the entire data journey, giving users confidence in the accuracy and reliability of the price data provided. Additionally, DIA offers various tracking and monitoring tools to closely track its oracle and API feeds, further enhancing transparency and providing users with valuable insights.

By leveraging DIA's technology, users gain access to accurate and reliable price data for cryptocurrencies and NFTs. The customizability of the API and Oracle feeds ensures robustness and resilience to unique market conditions, while the transparency offered by DIA provides users with confidence in the data they are accessing. Overall, DIA's XLM API and XLM Price Oracle provide a valuable solution for those in the blockchain ecosystem seeking accurate and reliable price data for their decentralized applications.

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.