stocks / #19
- symbol
- KO
- name
- The Coca-Cola Company
- exchange
- NYSE
- sector
- Consumer Staples
- marketCap
- 1408601750883
- price
- 2431.74
- priceChangePercent24h
- -12.2
- volume24h
- 4878474
- createdAt
Component variants
Medium
The Coca-Cola Company
#19
Small
stocks/19 Related
Referenced by
curl -sS \
"https://example-data.com/api/v1/stocks/19" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stocks/19"
);
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/19"
);
const stock = (await res.json()) as Stock;import requests
res = requests.get(
"https://example-data.com/api/v1/stocks/19"
)
stock = res.json() {
"id": 19,
"symbol": "KO",
"name": "The Coca-Cola Company",
"exchange": "NYSE",
"sector": "Consumer Staples",
"marketCap": 1408601750883,
"price": 2431.74,
"priceChangePercent24h": -12.2,
"volume24h": 4878474,
"createdAt": "2024-12-07T01:53:19.980Z"
}