example-data.com

stocks / #22

symbol
PEP
name
PepsiCo Inc.
exchange
NASDAQ
sector
Consumer Staples
marketCap
2108665575863
price
3016.61
priceChangePercent24h
5.63
volume24h
88199792
createdAt

Component variants

Related

Referenced by

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

res = requests.get(
    "https://example-data.com/api/v1/stocks/22"
)
stock = res.json()
{
  "id": 22,
  "symbol": "PEP",
  "name": "PepsiCo Inc.",
  "exchange": "NASDAQ",
  "sector": "Consumer Staples",
  "marketCap": 2108665575863,
  "price": 3016.61,
  "priceChangePercent24h": 5.63,
  "volume24h": 88199792,
  "createdAt": "2025-07-12T01:11:05.614Z"
}
Draftbit