Documentation menu

Endpoint: coins

GEThttps://crypto-craze.mimo.dev/api/coins/bitcoin

Request

GETcoins
1fetch("https://crypto-craze.mimo.dev/api/coins/bitcoin", {
2 headers: { "api-key": "YOUR_API_KEY" }
3})
4 .then((res) => res.json())
5 .then((json) => console.log(json))
6 .catch((error) => console.error(error))

Response

response.json
1{
2 "id": "bitcoin",
3 "name": "Bitcoin",
4 "symbol": "BTC",
5 "priceUsd": 68420.55,
6 "change24h": 2.4,
7 "marketCapUsd": 1340000000000
8}