PepsiCo Inc.
- symbol
- PEP
- name
- PepsiCo Inc.
- exchange
- NASDAQ
- sector
- Consumer Staples
- marketCap
- 2108665575863
- price
- 3016.61
- priceChangePercent24h
- 5.63
- volume24h
- 88199792
- createdAt
Overview
stocks / #22
PepsiCo Inc.
#22
Request
curl example
curl -sS \ "https://example-data.com/api/v1/stocks/22" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/stocks/22" ); 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/22"
);
const stock = (await res.json()) as Stock; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/stocks/22"
)
stock = res.json() Response
{
"id": 22,
"symbol": "PEP",
"name": "PepsiCo Inc.",
"exchange": "NASDAQ",
"sector": "Consumer Staples",
"marketCap": 2108665575863,
"price": 3016.61,
"priceChangePercent24h": 5.63,
"volume24h": 88199792,
"createdAt": "2025-07-12T01:11:05.614Z"
}