Aptos
- symbol
- APT
- name
- Aptos
- slug
- aptos
- marketCap
- 3448944000
- price
- 8.0208
- priceChangePercent24h
- -3.62
- volume24h
- 854121595
- circulatingSupply
- 430000000
- totalSupply
- 1000000000
- createdAt
Overview
crypto / #20
Request
curl example
curl -sS \ "https://example-data.com/api/v1/crypto/20" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/crypto/20" ); const crypto = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/crypto.d.ts https://example-data.com/types/crypto.d.ts
import type { Crypto } from "./types/crypto";
const res = await fetch(
"https://example-data.com/api/v1/crypto/20"
);
const crypto = (await res.json()) as Crypto; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/crypto/20"
)
crypto = res.json() Response
{
"id": 20,
"symbol": "APT",
"name": "Aptos",
"slug": "aptos",
"marketCap": 3448944000,
"price": 8.0208,
"priceChangePercent24h": -3.62,
"volume24h": 854121595,
"circulatingSupply": 430000000,
"totalSupply": 1000000000,
"createdAt": "2025-01-06T10:22:53.690Z"
}