example-data.com

stocks / #90

symbol
KO
name
Wuckert, Stracke and Williamson Corp.
exchange
NASDAQ
sector
Energy
marketCap
1596143931616
price
1515.77
priceChangePercent24h
4.21
volume24h
85338031
createdAt

Component variants

Related

Referenced by

curl -sS \
  "https://example-data.com/api/v1/stocks/90" \
  -H "Accept: application/json"
const res = await fetch(
  "https://example-data.com/api/v1/stocks/90"
);
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/90"
);
const stock = (await res.json()) as Stock;
import requests

res = requests.get(
    "https://example-data.com/api/v1/stocks/90"
)
stock = res.json()
{
  "id": 90,
  "symbol": "KO",
  "name": "Wuckert, Stracke and Williamson Corp.",
  "exchange": "NASDAQ",
  "sector": "Energy",
  "marketCap": 1596143931616,
  "price": 1515.77,
  "priceChangePercent24h": 4.21,
  "volume24h": 85338031,
  "createdAt": "2024-12-15T08:00:56.261Z"
}
Draftbit