Crypto Swap API
The Crypto Swap API offers real-time exchange rates for a vast range of cryptocurrencies. It tracks prices for hundreds of coins, even covering less common ones. Directly swapping coins is often more favorable as it eliminates the need to sell for traditional currencies like dollars or euros, potentially saving on fees. Users can instantly gauge the market value of one coin in terms of another. For instance, it can show how much Ethereum a Bitcoin might fetch.
This API is essential for those wanting to make informed and cost-effective crypto exchanges. Developers can utilize the Crypto Swap API for creating applications and platforms that enable users to exchange various cryptocurrencies and access real-time exchange rates.

Documentation
To get crypto exchange rates data, you need to use the /cryptoswap endpoint and specify either a base or a target coin. If you use only one parameter, the API output will list all possible pairs and their associated exchange rates. If you use both parameters, you will receive the value of the two coins relative to each other
API Request
Parameter | Description |
baseCurrency | The cryptocurrency you wish to convert from. |
targetCurrency | The cryptocurrency you wish to convert to. |
Example:
https://data.tradefeeds.com/api/v1/cryptoswap?key=API_KEY&baseCurrency=BTC&targetCurrency=ETH
API Output
{
"baseCurrency": "BTC",
"targetCurrency": "ETH",
"exchangeRate": 19.11,
"timestamp": "2023-10-27T10:00:00Z"
}
{
"baseCurrency": "BTC",
"targetCurrency": "ADA",
"exchangeRate": 116,227.70,
"timestamp": "2023-10-27T10:00:00Z"
}
Crypto Price API
For up-to-date crypto prices in dollars or euros, you should utilize the rypto price API. It provides current and historical data, market capitalization, and trading volume.
