XRP
- symbol
- XRP
- name
- XRP
- slug
- xrp
- marketCap
- 25658100000
- price
- 0.57018
- priceChangePercent24h
- -8.06
- volume24h
- 8717988803
- circulatingSupply
- 45000000000
- totalSupply
- 100000000000
- createdAt
Overview
crypto / #5
Request
curl example
curl -sS \ "https://example-data.com/api/v1/crypto/5" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/crypto/5" ); 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/5"
);
const crypto = (await res.json()) as Crypto; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/crypto/5"
)
crypto = res.json() Response
{
"id": 5,
"symbol": "XRP",
"name": "XRP",
"slug": "xrp",
"marketCap": 25658100000,
"price": 0.57018,
"priceChangePercent24h": -8.06,
"volume24h": 8717988803,
"circulatingSupply": 45000000000,
"totalSupply": 100000000000,
"createdAt": "2026-01-17T21:20:03.039Z"
}