example-data.com

stocks / #16

symbol
BAC
name
Bank of America Corp.
exchange
NYSE
sector
Financials
marketCap
286070553915
price
1945.68
priceChangePercent24h
3.56
volume24h
243408193
createdAt

Component variants

Related

Referenced by

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

res = requests.get(
    "https://example-data.com/api/v1/stocks/16"
)
stock = res.json()
{
  "id": 16,
  "symbol": "BAC",
  "name": "Bank of America Corp.",
  "exchange": "NYSE",
  "sector": "Financials",
  "marketCap": 286070553915,
  "price": 1945.68,
  "priceChangePercent24h": 3.56,
  "volume24h": 243408193,
  "createdAt": "2025-09-27T00:04:04.859Z"
}
Draftbit