example-data.com

stocks / #9

symbol
JPM
name
JPMorgan Chase & Co.
exchange
NYSE
sector
Financials
marketCap
19200362374126
price
2649.34
priceChangePercent24h
10.06
volume24h
129888057
createdAt

Component variants

Related

Referenced by

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

res = requests.get(
    "https://example-data.com/api/v1/stocks/9"
)
stock = res.json()
{
  "id": 9,
  "symbol": "JPM",
  "name": "JPMorgan Chase & Co.",
  "exchange": "NYSE",
  "sector": "Financials",
  "marketCap": 19200362374126,
  "price": 2649.34,
  "priceChangePercent24h": 10.06,
  "volume24h": 129888057,
  "createdAt": "2024-11-22T16:00:43.686Z"
}
Draftbit