example-data.com

stocks / #86

symbol
KG
name
Hills Inc Corp.
exchange
TSX
sector
Communication Services
marketCap
3619391379131
price
1470.33
priceChangePercent24h
12.49
volume24h
50254346
createdAt

Component variants

Related

Referenced by

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

res = requests.get(
    "https://example-data.com/api/v1/stocks/86"
)
stock = res.json()
{
  "id": 86,
  "symbol": "KG",
  "name": "Hills Inc Corp.",
  "exchange": "TSX",
  "sector": "Communication Services",
  "marketCap": 3619391379131,
  "price": 1470.33,
  "priceChangePercent24h": 12.49,
  "volume24h": 50254346,
  "createdAt": "2024-11-25T18:02:27.662Z"
}
Draftbit