example-data.com

stocks / #6

symbol
META
name
Meta Platforms Inc.
exchange
NASDAQ
sector
Communication Services
marketCap
18522702534945
price
4622.57
priceChangePercent24h
-3.12
volume24h
203768843
createdAt

Component variants

Related

Referenced by

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

res = requests.get(
    "https://example-data.com/api/v1/stocks/6"
)
stock = res.json()
{
  "id": 6,
  "symbol": "META",
  "name": "Meta Platforms Inc.",
  "exchange": "NASDAQ",
  "sector": "Communication Services",
  "marketCap": 18522702534945,
  "price": 4622.57,
  "priceChangePercent24h": -3.12,
  "volume24h": 203768843,
  "createdAt": "2024-12-08T23:27:49.898Z"
}
Draftbit