1fetch("https://crypto-craze.mimo.dev/api/coins/polkadot", {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))
1{2 "id": "polkadot",3 "name": "Polkadot",4 "symbol": "DOT",5 "priceUsd": 7.21,6 "change24h": -0.4,7 "marketCapUsd": 93000000008}