Pfizer Inc.
- symbol
- PFE
- name
- Pfizer Inc.
- exchange
- NYSE
- sector
- Health Care
- marketCap
- 18741863148281
- price
- 2804.94
- priceChangePercent24h
- -9.6
- volume24h
- 449769142
- createdAt
Overview
stocks / #20
Pfizer Inc.
#20
Request
curl example
curl -sS \ "https://example-data.com/api/v1/stocks/20" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/stocks/20" ); 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/20"
);
const stock = (await res.json()) as Stock; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/stocks/20"
)
stock = res.json() Response
{
"id": 20,
"symbol": "PFE",
"name": "Pfizer Inc.",
"exchange": "NYSE",
"sector": "Health Care",
"marketCap": 18741863148281,
"price": 2804.94,
"priceChangePercent24h": -9.6,
"volume24h": 449769142,
"createdAt": "2025-06-07T13:37:34.936Z"
}