example-data.com

stocks / #98

symbol
KHJ
name
Gibson, Adams and Leannon Corp.
exchange
HKEX
sector
Technology
marketCap
11337057401037
price
4961.42
priceChangePercent24h
-2.8
volume24h
5970075
createdAt

Component variants

Related

Referenced by

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

res = requests.get(
    "https://example-data.com/api/v1/stocks/98"
)
stock = res.json()
{
  "id": 98,
  "symbol": "KHJ",
  "name": "Gibson, Adams and Leannon Corp.",
  "exchange": "HKEX",
  "sector": "Technology",
  "marketCap": 11337057401037,
  "price": 4961.42,
  "priceChangePercent24h": -2.8,
  "volume24h": 5970075,
  "createdAt": "2024-07-06T20:46:32.829Z"
}
Draftbit