example-data.com

stocks / #58

symbol
PQ
name
Koepp, Padberg and Jerde Corp.
exchange
NYSE
sector
Consumer Discretionary
marketCap
2351819439038
price
1326.54
priceChangePercent24h
-5.83
volume24h
25586149
createdAt

Component variants

Related

Referenced by

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

res = requests.get(
    "https://example-data.com/api/v1/stocks/58"
)
stock = res.json()
{
  "id": 58,
  "symbol": "PQ",
  "name": "Koepp, Padberg and Jerde Corp.",
  "exchange": "NYSE",
  "sector": "Consumer Discretionary",
  "marketCap": 2351819439038,
  "price": 1326.54,
  "priceChangePercent24h": -5.83,
  "volume24h": 25586149,
  "createdAt": "2024-05-28T11:17:12.412Z"
}
Draftbit