example-data.com

stocks / #72

symbol
YWI
name
Mitchell - Smith Corp.
exchange
LSE
sector
Technology
marketCap
15370368012462
price
3692.45
priceChangePercent24h
7.66
volume24h
66702246
createdAt

Component variants

Related

Referenced by

curl -sS \
  "https://example-data.com/api/v1/stocks/72" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/stocks/72"
);
const stock = await res.json();
import type { Stock } from "https://example-data.com/types/stocks.d.ts";

const res = await fetch(
  "https://example-data.com/api/v1/stocks/72"
);
const stock = (await res.json()) as Stock;
import requests

res = requests.get(
    "https://example-data.com/api/v1/stocks/72"
)
stock = res.json()
{
  "id": 72,
  "symbol": "YWI",
  "name": "Mitchell - Smith Corp.",
  "exchange": "LSE",
  "sector": "Technology",
  "marketCap": 15370368012462,
  "price": 3692.45,
  "priceChangePercent24h": 7.66,
  "volume24h": 66702246,
  "createdAt": "2024-08-17T22:48:36.637Z"
}
Draftbit