example-data.com

stocks / #41

symbol
AC
name
Haag - Reichel Corp.
exchange
NASDAQ
sector
Technology
marketCap
3566918650215
price
1787.16
priceChangePercent24h
-5.59
volume24h
41777044
createdAt

Component variants

Related

Referenced by

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

res = requests.get(
    "https://example-data.com/api/v1/stocks/41"
)
stock = res.json()
{
  "id": 41,
  "symbol": "AC",
  "name": "Haag - Reichel Corp.",
  "exchange": "NASDAQ",
  "sector": "Technology",
  "marketCap": 3566918650215,
  "price": 1787.16,
  "priceChangePercent24h": -5.59,
  "volume24h": 41777044,
  "createdAt": "2024-08-05T19:40:16.557Z"
}
Draftbit