Crypto APIs icon

Crypto APIs

Interact with Crypto APIs — blockchain data, transactions, market data, and more

Actions77

Market Data → Get Exchange Rate by Asset IDs

AI-generated

Summary

Fetches the exchange rate from one CryptoAPIs asset ID to another using the required source and target IDs.

Inputs

  • From Asset ID (required) — CryptoAPIs ID of the source asset.
  • To Asset ID (required) — CryptoAPIs ID of the target asset.

Output shape

a single record

Returns the unwrapped API response item containing the exchange-rate data.

Links

Discussion