stocks / #15
- symbol
- MA
- name
- Mastercard Inc.
- exchange
- NYSE
- sector
- Financials
- marketCap
- 6437700060392
- price
- 3036.01
- priceChangePercent24h
- -6.38
- volume24h
- 39829897
- createdAt
Component variants
Medium
Mastercard Inc.
#15
Small
stocks/15 Related
Referenced by
curl -sS \
"https://example-data.com/api/v1/stocks/15" \
-H "Accept: application/json"const res = await fetch(
"https://example-data.com/api/v1/stocks/15"
);
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/15"
);
const stock = (await res.json()) as Stock;import requests
res = requests.get(
"https://example-data.com/api/v1/stocks/15"
)
stock = res.json() {
"id": 15,
"symbol": "MA",
"name": "Mastercard Inc.",
"exchange": "NYSE",
"sector": "Financials",
"marketCap": 6437700060392,
"price": 3036.01,
"priceChangePercent24h": -6.38,
"volume24h": 39829897,
"createdAt": "2024-06-23T10:46:27.167Z"
}