Actions20
- Get Exchange Listings Latest
- Get Exchange Listings Historical
- Get Exchange Quotes Latest
- Get Exchange Quotes Historical
- Get Exchange Info
- Get Exchange Map
- Get Exchange Market Pairs Latest
- Get Global Metrics Latest
- Get Global Metrics Historical
- Price Conversion
- Get Fiat Map
- Get Partners FCAS Listings Latest
- Get Partners FCAS Quotes Latest
- Get Key Info
- Get Blockchain Statistics Latest
- Get Content Posts Top
- Get Content Posts Latest
- Get Derivatives Exchange Listings Latest
- Get Derivatives Exchange Info
- Get Derivatives Exchange Map
Price Conversion
AI-generatedOverview
This node performs price conversion between cryptocurrencies and fiat currencies using the CoinMarketCap API. It converts a specified amount from a source currency (e.g., BTC) to a target currency (e.g., USD). This is useful for applications needing real-time currency conversion rates, such as financial dashboards, trading bots, or portfolio trackers.
Use Case Examples
- Convert 1 BTC to USD to display the current value in a portfolio.
- Convert 100 USD to ETH to determine how much Ethereum can be bought with that amount.
Properties
| Name | Meaning |
|---|---|
| Convert | The target currency to convert to (e.g., USD, EUR, BTC). |
| Amount | The amount of the source currency to convert. |
| From Currency | The source currency symbol or code to convert from (e.g., BTC, ETH). |
Output
JSON
jsondata- The conversion result data returned by the CoinMarketCap API, including the converted amount and currency details.
Dependencies
- CoinMarketCap API key credential required for authentication.
Troubleshooting
- Ensure the API key credential is correctly configured and has sufficient permissions.
- Verify that the source and target currency codes are valid and supported by the API.
- Check for network connectivity issues that might prevent API calls.
- Common error messages include API key errors, invalid currency symbols, or rate limit exceeded errors. Resolving these involves correcting credentials, input parameters, or waiting before retrying.
Links
- CoinMarketCap API Price Conversion Documentation - Official API documentation for the price conversion endpoint used by this node.