Price conversion tool
GET {{baseUrl}}/v1/tools/price-conversion?amount=<get>&id=<get>&symbol=<get>&time=<>&convert=<>
Convert an amount of one currency into up to 32 other cryptocurrency or fiat currencies at the same time using latest exchange rates. Optionally pass a historical timestamp to convert values based on historic averages.
Note: Historical fiat conversions aren't yet available and the latest fiat rates will be used as noted by the last_updated
timestamp included in the market quote. Historical fiat rates will be coming soon.
This endpoint is available on the following API plans: - ~~Star
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
amount | string | An amount of currency to convert. Example: 10.43 | |
id | string | One or more comma-separated CoinMarketCap cryptocurrency IDs. Example: "1,2" | |
symbol | string | Alternatively pass one or more comma-separated cryptocurrency symbols. Example: "BTC,ETH". At least one "id" or "symbol" is required. | |
time | string | Optional timestamp (Unix or ISO 8601) to reference historical pricing during conversion. If not passed, the current time will be used. If passed, we'll reference the closest historic values available during conversion. | |
convert | string | Pass up to 32 comma-separated fiat or cryptocurrency symbols to convert the source amount to. |