example-data.com

stocks / #26

symbol
WMT
name
Walmart Inc.
exchange
NYSE
sector
Consumer Staples
marketCap
11917636752430
price
2401.22
priceChangePercent24h
-2.58
volume24h
494683067
createdAt

Component variants

Related

Referenced by

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

res = requests.get(
    "https://example-data.com/api/v1/stocks/26"
)
stock = res.json()
{
  "id": 26,
  "symbol": "WMT",
  "name": "Walmart Inc.",
  "exchange": "NYSE",
  "sector": "Consumer Staples",
  "marketCap": 11917636752430,
  "price": 2401.22,
  "priceChangePercent24h": -2.58,
  "volume24h": 494683067,
  "createdAt": "2025-07-07T11:18:49.913Z"
}
Draftbit