crypto / #12
- symbol
- UNI
- name
- Uniswap
- slug
- uniswap
- marketCap
- 5140800000
- price
- 8.568
- priceChangePercent24h
- 12.13
- volume24h
- 1528308908
- circulatingSupply
- 600000000
- totalSupply
- 1000000000
- createdAt
Component variants
Medium
Uniswap
#12
Small
crypto/12 curl -sS \
"https://example-data.com/api/v1/crypto/12" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/crypto/12"
);
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/12"
);
const crypto = (await res.json()) as Crypto;import requests
res = requests.get(
"https://example-data.com/api/v1/crypto/12"
)
crypto = res.json() {
"id": 12,
"symbol": "UNI",
"name": "Uniswap",
"slug": "uniswap",
"marketCap": 5140800000,
"price": 8.568,
"priceChangePercent24h": 12.13,
"volume24h": 1528308908,
"circulatingSupply": 600000000,
"totalSupply": 1000000000,
"createdAt": "2025-01-01T19:47:57.355Z"
}