example-data.com

stocks / #29

symbol
NFLX
name
Netflix Inc.
exchange
NASDAQ
sector
Communication Services
marketCap
18132618250857
price
2481.01
priceChangePercent24h
-11.68
volume24h
251515826
createdAt

Component variants

Related

Referenced by

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

res = requests.get(
    "https://example-data.com/api/v1/stocks/29"
)
stock = res.json()
{
  "id": 29,
  "symbol": "NFLX",
  "name": "Netflix Inc.",
  "exchange": "NASDAQ",
  "sector": "Communication Services",
  "marketCap": 18132618250857,
  "price": 2481.01,
  "priceChangePercent24h": -11.68,
  "volume24h": 251515826,
  "createdAt": "2024-09-12T04:02:44.279Z"
}
Draftbit