example-data.com

stocks / #53

symbol
HGL
name
Lockman Inc Corp.
exchange
LSE
sector
Technology
marketCap
10506317547138
price
4951.08
priceChangePercent24h
-9.48
volume24h
22244853
createdAt

Component variants

Related

Referenced by

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

res = requests.get(
    "https://example-data.com/api/v1/stocks/53"
)
stock = res.json()
{
  "id": 53,
  "symbol": "HGL",
  "name": "Lockman Inc Corp.",
  "exchange": "LSE",
  "sector": "Technology",
  "marketCap": 10506317547138,
  "price": 4951.08,
  "priceChangePercent24h": -9.48,
  "volume24h": 22244853,
  "createdAt": "2024-05-31T01:36:37.462Z"
}
Draftbit