example-data.com
Menu
Browse docs and collections

Overview

stocks / #79

Halvorson and Sons Corp.

symbol
PKUX
name
Halvorson and Sons Corp.
exchange
HKEX
sector
Technology
marketCap
83438458862
price
50.13
priceChangePercent24h
-7.89
volume24h
35205339
createdAt

Component variants

Related

Referenced by

Request

curl example

curl -sS \
  "https://example-data.com/api/v1/stocks/79" \
  -H "Accept: application/json"

JavaScript example

const res = await fetch(
  "https://example-data.com/api/v1/stocks/79"
);
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/79"
);
const stock = (await res.json()) as Stock;

Python example

import requests

res = requests.get(
    "https://example-data.com/api/v1/stocks/79"
)
stock = res.json()

Response

{
  "id": 79,
  "symbol": "PKUX",
  "name": "Halvorson and Sons Corp.",
  "exchange": "HKEX",
  "sector": "Technology",
  "marketCap": 83438458862,
  "price": 50.13,
  "priceChangePercent24h": -7.89,
  "volume24h": 35205339,
  "createdAt": "2025-08-17T07:23:45.848Z"
}