example-data.com
Menu
Browse docs and collections

Overview

crypto / #49

appropriate secret

symbol
EJY
name
appropriate secret
slug
appropriate-secret
marketCap
124006209883
price
22.6690196
priceChangePercent24h
17.2
volume24h
93909401
circulatingSupply
5470294352
totalSupply
5651907307
createdAt

Component variants

Related

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/crypto/49" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/crypto/49"
);
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/49"
);
const crypto = (await res.json()) as Crypto;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/crypto/49"
)
crypto = res.json()

Response

{
  "id": 49,
  "symbol": "EJY",
  "name": "appropriate secret",
  "slug": "appropriate-secret",
  "marketCap": 124006209883,
  "price": 22.6690196,
  "priceChangePercent24h": 17.2,
  "volume24h": 93909401,
  "circulatingSupply": 5470294352,
  "totalSupply": 5651907307,
  "createdAt": "2024-09-03T09:32:45.381Z"
}