example-data.com

stocks / #4

symbol
AMZN
name
Amazon.com Inc.
exchange
NASDAQ
sector
Consumer Discretionary
marketCap
2581799618098
price
2543.61
priceChangePercent24h
7.36
volume24h
304135310
createdAt

Component variants

Related

Referenced by

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

res = requests.get(
    "https://example-data.com/api/v1/stocks/4"
)
stock = res.json()
{
  "id": 4,
  "symbol": "AMZN",
  "name": "Amazon.com Inc.",
  "exchange": "NASDAQ",
  "sector": "Consumer Discretionary",
  "marketCap": 2581799618098,
  "price": 2543.61,
  "priceChangePercent24h": 7.36,
  "volume24h": 304135310,
  "createdAt": "2025-11-01T19:46:51.780Z"
}
Draftbit