example-data.com

stocks / #11

symbol
V
name
Visa Inc.
exchange
NYSE
sector
Financials
marketCap
22909207498039
price
2894.12
priceChangePercent24h
0.4
volume24h
197776531
createdAt

Component variants

Related

Referenced by

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

res = requests.get(
    "https://example-data.com/api/v1/stocks/11"
)
stock = res.json()
{
  "id": 11,
  "symbol": "V",
  "name": "Visa Inc.",
  "exchange": "NYSE",
  "sector": "Financials",
  "marketCap": 22909207498039,
  "price": 2894.12,
  "priceChangePercent24h": 0.4,
  "volume24h": 197776531,
  "createdAt": "2025-01-14T03:29:28.804Z"
}
Draftbit