Amazon.com Inc.
- symbol
- AMZN
- name
- Amazon.com Inc.
- exchange
- NASDAQ
- sector
- Consumer Discretionary
- marketCap
- 2581799618098
- price
- 2543.61
- priceChangePercent24h
- 7.36
- volume24h
- 304135310
- createdAt
Overview
stocks / #4
Amazon.com Inc.
#4
Request
curl example
curl -sS \ "https://example-data.com/api/v1/stocks/4" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/stocks/4" ); 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/4"
);
const stock = (await res.json()) as Stock; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/stocks/4"
)
stock = res.json() Response
{
"id": 4,
"symbol": "AMZN",
"name": "Amazon.com Inc.",
"exchange": "NASDAQ",
"sector": "Consumer Discretionary",
"marketCap": 2581799618098,
"price": 2543.61,
"priceChangePercent24h": 7.36,
"volume24h": 304135310,
"createdAt": "2025-11-01T19:46:51.780Z"
}