example-data.com

stocks / #17

symbol
XOM
name
Exxon Mobil Corporation
exchange
NYSE
sector
Energy
marketCap
3508537641677
price
584.67
priceChangePercent24h
-5.09
volume24h
192367451
createdAt

Component variants

Related

Referenced by

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

res = requests.get(
    "https://example-data.com/api/v1/stocks/17"
)
stock = res.json()
{
  "id": 17,
  "symbol": "XOM",
  "name": "Exxon Mobil Corporation",
  "exchange": "NYSE",
  "sector": "Energy",
  "marketCap": 3508537641677,
  "price": 584.67,
  "priceChangePercent24h": -5.09,
  "volume24h": 192367451,
  "createdAt": "2025-09-27T02:00:16.573Z"
}
Draftbit