Walmart Inc.
- symbol
- WMT
- name
- Walmart Inc.
- exchange
- NYSE
- sector
- Consumer Staples
- marketCap
- 11917636752430
- price
- 2401.22
- priceChangePercent24h
- -2.58
- volume24h
- 494683067
- createdAt
Overview
stocks / #26
Walmart Inc.
#26
Request
curl example
curl -sS \ "https://example-data.com/api/v1/stocks/26" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/stocks/26" ); 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/26"
);
const stock = (await res.json()) as Stock; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/stocks/26"
)
stock = res.json() Response
{
"id": 26,
"symbol": "WMT",
"name": "Walmart Inc.",
"exchange": "NYSE",
"sector": "Consumer Staples",
"marketCap": 11917636752430,
"price": 2401.22,
"priceChangePercent24h": -2.58,
"volume24h": 494683067,
"createdAt": "2025-07-07T11:18:49.913Z"
}