preloader
Stellar Wallets star Stellar DAPPs star Soroban Smart Contracts star Tokenized Assets star Stellar Payments star Stellar NFTs star Stablecoin Issuers star Stellar Apps
about Stellar FX

A self-service Exchange Rate and Stellar Token Price quote API for developers

about-img
check3

330+

FX and Token Prices

Stellar FX allows developers of Stellar Wallets, Stellar DAPPs,Soroban Smart Contracts,Tokenized Assets,Stellar Payments,Stellar NFTs,Stablecoin Issuers, and other apps needing up-to-date price quotes. The rates API is:

  • check2 PERMISSIONLESS. Access with any Stellar Address.
  • check2 REDUNDANT. Choose between 3 different API endpoints
  • check2 SECURE. Easily verify rates integrity using on-chain data
shape
THE FOLLOWING STELLAR APPS ARE ALREADY USING STELLAR FX FOR QUOTES
Afreum
Afreum Pay
Why Choose Us

What Are The Advantages Of Using Stellar FX API?

check

Near Real-Time Quotes

Fiat exchange rates updated every 15 minutes. Stellar asset prices updated every 5 minutes

check

Security & Data Integrity

Built-in on-chain trust and security allows developers to verify the rates endpoint and rates data

check

Pay-As-You-Go Access

Pay for as little as 30 Days access, or for as long as you want, pro-rated up to the second

choose-us-img2
check

Fast On-chain Onboarding

Start retrieving exchange rates and Stellar token prices in 5 minutes using only a Stellar address

check

24/7 API Access

The API can be accessed 24/7 by any Stellar address without any restrictions or rate limits

check

Account Status Endpoint

A dedicated account status endpoint provides useful data on access expiry for the Stellar address

shape11 shape11
GET UP AND RUNNING WITH STELLAR FX WITH 3 STEPS IN 5 MINUTES OR LESS
getting1 STEP 01

Pay-As-You-Go Account

Use any Stellar address to send at least 100,000 AFR to the Stellar FX wallet address, retrieve JWT, and access API for 30 Days. Send more than 100,000 AFR and access period is pro-rated.

getting2 STEP 02

Claim API Access

After payment is sent, use the /claim-access endpoint once to retrieve a JWT token that lasts for the duration that you paid for. Lost JWTs can be re-retrieved

getting3 STEP 03

Accesss Stellar FX API

Once you have retrieved your JWT, use your Stellar address, the JWT and API parameters currency (USD) and type (fiat|stellar|crypto) to retrieve exchange rates

Frequently Asked Questions

Let’s Answer Some Of Your Questions

You will find detailed documentation on how to use Stellar FX, including the various endpoints, supported fiat currencies, Stellar tokens, and other cryptocurrencies on our Github. You will also find useful example code to quickly get up and running

Exchange rates and cryptocurrency prices freshness depend on the asset type you are looking up. For fiat currencies and non-Stellar cryptocurrencies, prices are updated every 15 Minutes. For Stellar assets, prices are updated every 5 Minutes

Stellar FX and Afreum make no warranties on the correctness or freshness of the prices quotes delivered by the Stellar FX API. Fiat currency and broader cryptocurrency rates are retrieved from multiple sources and we believe that they are an accurate representation of current prices. Stellar asset prices are retrieved directly from the Stellar Decentralized Exchange DEX, and reflect the last traded price of those assets. While these prices are the same prices used by the Afreum ecosystem, we do not recommend their use in mission-critical applications where inaccuracies could cause material losses in your application.

We recommend that you refer to the documentation on Github for detailed information on how to use the API. If you need additional help, we recommend that you reach out to @Afreum1 via the Afreum Telegram or send an email to support@afreum.com outlining your issue.

We offer 3 Stellar FX API servers, which will accept your Stellar address and JWT for access to rates data. In the event that one of those servers is inaccessible you may retry another. We monitor external data sources constantly and can switch to backup sources as needed. We also highly recommend that you have a backup rates endpoint that you can switch to if all Stellar FX API servers are unreachable.

faq-img2
check3

3

Different
Servers
rates sample

Here are some recent rates from the Stellar FX API

united-states

British Pound

1 GBP = $--

bitcoin

Bitcoin

1 BTC = $--

afreum

Afreum AFR

1 AFR = $--

portugal

Portugal (Euro)

1 EUR = $--

norway

Norwegian Krone

1 NOK = $--

turkey

Turkish Lira

1 TRY = $--

canada

Canadian Dollar

1 CAD = $--

australia

Australian Dollar

1 AUD = $--

shape11 shape11
get started

Ready to get started? Check out the Github, or reach out on Telegram

shape12 shape13

© Stellar FX.

All Rights Reserved by Afreum