example-data.com

crypto / #3

symbol
BNB
name
BNB
slug
bnb
marketCap
63874440000
price
417.48
priceChangePercent24h
-19.73
volume24h
3318740793
circulatingSupply
153000000
totalSupply
200000000
createdAt

Component variants

Medium

BNB

#3

curl -sS \
  "https://example-data.com/api/v1/crypto/3" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/crypto/3"
);
const crypto = await res.json();
import type { Crypto } from "https://example-data.com/types/crypto.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/crypto/3"
);
const crypto = (await res.json()) as Crypto;
import requests

res = requests.get(
    "https://example-data.com/api/v1/crypto/3"
)
crypto = res.json()
{
  "id": 3,
  "symbol": "BNB",
  "name": "BNB",
  "slug": "bnb",
  "marketCap": 63874440000,
  "price": 417.48,
  "priceChangePercent24h": -19.73,
  "volume24h": 3318740793,
  "circulatingSupply": 153000000,
  "totalSupply": 200000000,
  "createdAt": "2024-11-25T03:12:13.278Z"
}
Draftbit