example-data.com

stocks / #5

symbol
TSLA
name
Tesla Inc.
exchange
NASDAQ
sector
Consumer Discretionary
marketCap
14803899307534
price
3119.57
priceChangePercent24h
9.43
volume24h
146003136
createdAt

Component variants

Related

Referenced by

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

res = requests.get(
    "https://example-data.com/api/v1/stocks/5"
)
stock = res.json()
{
  "id": 5,
  "symbol": "TSLA",
  "name": "Tesla Inc.",
  "exchange": "NASDAQ",
  "sector": "Consumer Discretionary",
  "marketCap": 14803899307534,
  "price": 3119.57,
  "priceChangePercent24h": 9.43,
  "volume24h": 146003136,
  "createdAt": "2025-11-15T07:59:35.618Z"
}
Draftbit