Cryptocurrency price and converter
Method: GET
Route: /currency/price (opens in a new tab)
The price service data API allows you to get live prices and convert the amount of cryptocurrency to local currency. Data is provided by the most popular exchanges and is updated and cached every 20 seconds.
Example cURL request
curl -X GET \
-H "Content-Type: application/json" \
-H "X-Api-Key: d45b954fd5f59f49f71b9d93735045ab4888a8d2293ffe3f0841c7d198d13572" \
--url "https://api.cryptosteroid.com/v1/currency/price
Query
Parameter | Type | Description |
---|---|---|
amount | Number | optional Amount in cryptocurrency to be converted to local currency. |
Response
Field | Type | Description |
---|---|---|
price | Object | Current cryptocurrency prices in local currencies. |