Visa Inc.
- symbol
- V
- name
- Visa Inc.
- exchange
- NYSE
- sector
- Financials
- marketCap
- 22909207498039
- price
- 2894.12
- priceChangePercent24h
- 0.4
- volume24h
- 197776531
- createdAt
Overview
stocks / #11
Visa Inc.
#11
Request
curl example
curl -sS \ "https://example-data.com/api/v1/stocks/11" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/stocks/11" ); const stock = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/stocks.d.ts https://example-data.com/types/stocks.d.ts
import type { Stock } from "./types/stocks";
const res = await fetch(
"https://example-data.com/api/v1/stocks/11"
);
const stock = (await res.json()) as Stock; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/stocks/11"
)
stock = res.json() Response
{
"id": 11,
"symbol": "V",
"name": "Visa Inc.",
"exchange": "NYSE",
"sector": "Financials",
"marketCap": 22909207498039,
"price": 2894.12,
"priceChangePercent24h": 0.4,
"volume24h": 197776531,
"createdAt": "2025-01-14T03:29:28.804Z"
}