stocks / #12
- symbol
- PG
- name
- Procter & Gamble Co.
- exchange
- NYSE
- sector
- Consumer Staples
- marketCap
- 5963025487793
- price
- 4814.62
- priceChangePercent24h
- 4.8
- volume24h
- 183923462
- createdAt
Component variants
Medium
Procter & Gamble Co.
#12
Small
stocks/12 Related
Referenced by
curl -sS \
"https://example-data.com/api/v1/stocks/12" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stocks/12"
);
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/12"
);
const stock = (await res.json()) as Stock;import requests
res = requests.get(
"https://example-data.com/api/v1/stocks/12"
)
stock = res.json() {
"id": 12,
"symbol": "PG",
"name": "Procter & Gamble Co.",
"exchange": "NYSE",
"sector": "Consumer Staples",
"marketCap": 5963025487793,
"price": 4814.62,
"priceChangePercent24h": 4.8,
"volume24h": 183923462,
"createdAt": "2026-05-18T17:49:09.266Z"
}