example-data.com

stocks / #38

symbol
FXE
name
Hackett and Sons Corp.
exchange
TSX
sector
Technology
marketCap
468107807069
price
95.14
priceChangePercent24h
-2.06
volume24h
66974869
createdAt

Component variants

Related

Referenced by

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

res = requests.get(
    "https://example-data.com/api/v1/stocks/38"
)
stock = res.json()
{
  "id": 38,
  "symbol": "FXE",
  "name": "Hackett and Sons Corp.",
  "exchange": "TSX",
  "sector": "Technology",
  "marketCap": 468107807069,
  "price": 95.14,
  "priceChangePercent24h": -2.06,
  "volume24h": 66974869,
  "createdAt": "2024-06-10T18:25:09.630Z"
}
Draftbit