Chevron Corporation
- symbol
- CVX
- name
- Chevron Corporation
- exchange
- NYSE
- sector
- Energy
- marketCap
- 4691422441999
- price
- 4383.48
- priceChangePercent24h
- -3.2
- volume24h
- 337939101
- createdAt
Overview
stocks / #25
Chevron Corporation
#25
Request
curl example
curl -sS \ "https://example-data.com/api/v1/stocks/25" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/stocks/25" ); 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/25"
);
const stock = (await res.json()) as Stock; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/stocks/25"
)
stock = res.json() Response
{
"id": 25,
"symbol": "CVX",
"name": "Chevron Corporation",
"exchange": "NYSE",
"sector": "Energy",
"marketCap": 4691422441999,
"price": 4383.48,
"priceChangePercent24h": -3.2,
"volume24h": 337939101,
"createdAt": "2025-03-16T15:09:52.590Z"
}