example-data.com

stocks / #45

symbol
FZMR
name
Cummings, Bahringer and Jaskolski Corp.
exchange
LSE
sector
Consumer Discretionary
marketCap
3616420153205
price
3399.44
priceChangePercent24h
4.26
volume24h
45441320
createdAt

Component variants

Related

Referenced by

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

res = requests.get(
    "https://example-data.com/api/v1/stocks/45"
)
stock = res.json()
{
  "id": 45,
  "symbol": "FZMR",
  "name": "Cummings, Bahringer and Jaskolski Corp.",
  "exchange": "LSE",
  "sector": "Consumer Discretionary",
  "marketCap": 3616420153205,
  "price": 3399.44,
  "priceChangePercent24h": 4.26,
  "volume24h": 45441320,
  "createdAt": "2024-07-07T20:22:08.190Z"
}
Draftbit