example-data.com

stocks / #52

symbol
NX
name
Heaney - Mitchell Corp.
exchange
NYSE
sector
Utilities
marketCap
615543770951
price
304.57
priceChangePercent24h
-2.63
volume24h
84741397
createdAt

Component variants

Related

Referenced by

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

res = requests.get(
    "https://example-data.com/api/v1/stocks/52"
)
stock = res.json()
{
  "id": 52,
  "symbol": "NX",
  "name": "Heaney - Mitchell Corp.",
  "exchange": "NYSE",
  "sector": "Utilities",
  "marketCap": 615543770951,
  "price": 304.57,
  "priceChangePercent24h": -2.63,
  "volume24h": 84741397,
  "createdAt": "2024-11-27T07:02:06.357Z"
}
Draftbit