example-data.com

stocks / #25

symbol
CVX
name
Chevron Corporation
exchange
NYSE
sector
Energy
marketCap
4691422441999
price
4383.48
priceChangePercent24h
-3.2
volume24h
337939101
createdAt

Component variants

Related

Referenced by

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

res = requests.get(
    "https://example-data.com/api/v1/stocks/25"
)
stock = res.json()
{
  "id": 25,
  "symbol": "CVX",
  "name": "Chevron Corporation",
  "exchange": "NYSE",
  "sector": "Energy",
  "marketCap": 4691422441999,
  "price": 4383.48,
  "priceChangePercent24h": -3.2,
  "volume24h": 337939101,
  "createdAt": "2025-03-16T15:09:52.590Z"
}
Draftbit