Ethereum
- symbol
- ETH
- name
- Ethereum
- slug
- ethereum
- marketCap
- 344340000000
- price
- 2869.5
- priceChangePercent24h
- -10.98
- volume24h
- 1072402001
- circulatingSupply
- 120000000
- totalSupply
- —
- createdAt
Overview
crypto / #2
Ethereum
#2
Request
curl example
curl -sS \ "https://example-data.com/api/v1/crypto/2" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/crypto/2" ); 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/2"
);
const crypto = (await res.json()) as Crypto; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/crypto/2"
)
crypto = res.json() Response
{
"id": 2,
"symbol": "ETH",
"name": "Ethereum",
"slug": "ethereum",
"marketCap": 344340000000,
"price": 2869.5,
"priceChangePercent24h": -10.98,
"volume24h": 1072402001,
"circulatingSupply": 120000000,
"totalSupply": null,
"createdAt": "2026-03-28T08:57:44.378Z"
}