example-data.com

stocks / #81

symbol
WH
name
Altenwerth, Schaefer and O'Keefe Corp.
exchange
HKEX
sector
Communication Services
marketCap
9780781265627
price
4867.24
priceChangePercent24h
-5.5
volume24h
99746163
createdAt

Component variants

Related

Referenced by

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

res = requests.get(
    "https://example-data.com/api/v1/stocks/81"
)
stock = res.json()
{
  "id": 81,
  "symbol": "WH",
  "name": "Altenwerth, Schaefer and O'Keefe Corp.",
  "exchange": "HKEX",
  "sector": "Communication Services",
  "marketCap": 9780781265627,
  "price": 4867.24,
  "priceChangePercent24h": -5.5,
  "volume24h": 99746163,
  "createdAt": "2024-08-26T22:49:47.424Z"
}
Draftbit