example-data.com

stocks / #14

symbol
HD
name
The Home Depot Inc.
exchange
NYSE
sector
Consumer Discretionary
marketCap
11258455291047
price
2306.83
priceChangePercent24h
10.95
volume24h
454833398
createdAt

Component variants

Related

Referenced by

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

res = requests.get(
    "https://example-data.com/api/v1/stocks/14"
)
stock = res.json()
{
  "id": 14,
  "symbol": "HD",
  "name": "The Home Depot Inc.",
  "exchange": "NYSE",
  "sector": "Consumer Discretionary",
  "marketCap": 11258455291047,
  "price": 2306.83,
  "priceChangePercent24h": 10.95,
  "volume24h": 454833398,
  "createdAt": "2025-09-27T09:42:15.563Z"
}
Draftbit