The Home Depot Inc.
- symbol
- HD
- name
- The Home Depot Inc.
- exchange
- NYSE
- sector
- Consumer Discretionary
- marketCap
- 11258455291047
- price
- 2306.83
- priceChangePercent24h
- 10.95
- volume24h
- 454833398
- createdAt
Overview
stocks / #14
The Home Depot Inc.
#14
Request
curl example
curl -sS \ "https://example-data.com/api/v1/stocks/14" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/stocks/14" ); 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/14"
);
const stock = (await res.json()) as Stock; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/stocks/14"
)
stock = res.json() Response
{
"id": 14,
"symbol": "HD",
"name": "The Home Depot Inc.",
"exchange": "NYSE",
"sector": "Consumer Discretionary",
"marketCap": 11258455291047,
"price": 2306.83,
"priceChangePercent24h": 10.95,
"volume24h": 454833398,
"createdAt": "2025-09-27T09:42:15.563Z"
}