API

ExRates Connect API

2024

Powerful API for processing text and real-time exchange rates.

{

"text": "I bought a computer for $1000 yesterday, and I had to sell 10 TON to get enough money. And the funny thing is, I got a cashback on my card, about a hundred hryvnias.",

"cryptoCurrencies": [

{

"code": "TON",

"value": 10

}

],

"fiatCurrencies": [

{

"code": "USD",

"value": 1000

},

{

"code": "UAH",

"value": 100

}

]

}

{

"rates": {

"EUR": 1,

"USD": 0.93,

"GBP": 1.18,

"UAH": 0.023

},

"flags": {

"EUR": "",

"USD": "",

"GBP": "",

"UAH": ""

},

"symbols": {

"EUR": "€",

"USD": "$",

"GBP": "£",

"UAH": "₴"

}

}

About ExRates Connect API:

The ExRates Connect API is a powerful tool designed for text processing, currency and number searching, and real-time exchange rates. The API originated from ERTB version 3.0 and was part of the bot code, and then was completely rewritten in .NET to optimize performance. This API serves as the heart of all our bots, carefully analyzing texts to identify numbers and currencies.

ExRates Connect is currently used only for our company's products, with a public launch planned for 2025. This API aggregates exchange rates for both fiat and cryptocurrencies from various sources, providing complete and accurate data.

Our team is constantly updating and improving the API, integrating new features and optimizing existing functions to maintain its performance and reliability.

Languages for the Word-To-Number

6 – Belarusian, English, German, Polish, Russian, Ukrainian

Basic recognition of fiat currencies

159 currencies, gold and silver (in ounces)

Enhanced recognition of fiat currencies

6 – Belarusian (96 + 2), English (46 + 2), German (158 + 2), Polish (53 + 2), Russian (24 + 2), Ukrainian (53 + 2)

Updating fiat currencies rates

1 time per 12 hours

Basic recognition of cryptocurrencies

37 currencies

Enhanced recognition of crypto currencies

34 currencies

Updating cryptocurrencies rates

4 times per minute

Patch notes:

2024-08-21 • 1.2.0

Math-To-Number and other

  • Math-To-Number: added a parser for mathematical expressions. For example, (22 + 3) * 5 is converted to 125.
  • Added a new type of parser - advanced. It uses W2N and M2N.
  • Other minor changes to the bot functionality.

We are pleased to introduce Math-To-Number, a new module in our API that, like Word-To-Number in the past, will expand the capabilities of bots. Read more in the FAQ section.

2024-08-09 • 1.1.12

Small fixes

  • Fix for TAKE
  • Fix for TON

The TON rate is now received from Binance

2024-08-02 • 1.1.10

New crypto currencies

  • Add FLOKI, RUNE, WIF, WLD
  • Improved file usage
  • Recognition fix for BDT currency
  • Fixed a bug where the word "стільки" was interpreted as 100

2024-07-07 • 1.1.8

Mathematics

  • minus (-) (also dash, long dash, short dash), if the first number is greater than the second, then the subtraction operation is performed (200-50=150), if not, then both values are used further
  • plus (+) – the addition operation is performed
  • asterisk (*) – the multiplication operation is performed
  • slash (/) – the division operation is performed

Simple mathematical operations will significantly expand the bot's range of use.

2024-07-06 • 1.1.7

New crypto currencies

  • Add BONK, DAI, PEPE, UNI
  • Enhanced recognition of the Ukrainian language
  • Fix a bug with updating cryptocurrency rates

It is known that the XMR currency exchange rate is incorrect. It will be corrected in a future update.

FAQ

How do you add new crypto

There are three reasons why we add new cryptocurrencies. The first option is that we check the list of cryptocurrencies from time to time and see which new cryptocurrencies have a capitalization of more than $1 billion and a daily trading volume of more than $200 million. The second option is at the request of our users, but on the same terms as the first option. The third option is that we add cryptocurrencies of our partners.

What is Word-To-Number

Word-To-Number (also known as Word-To-Num and W2N) is an algorithm that can recognize numbers written in words instead of numbers (for example, "twenty five"). W2N can also recognize words that are spelled with a small number of errors (for example, "twinty five").

When will the ExRates Connect API become public

In 2025.

Where do you get the exchange rates from

Fiat exchange rates are received from Fixer.io, crypto exchange rates are received from Binance with some rare exceptions.