example-data.com
Menu
Browse docs and collections

Overview

stocks / #43

Herman - O'Connell Corp.

symbol
LA
name
Herman - O'Connell Corp.
exchange
HKEX
sector
Industrials
marketCap
11255965475083
price
2689.81
priceChangePercent24h
14.53
volume24h
67399786
createdAt

Component variants

Related

Referenced by

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 43,
  "symbol": "LA",
  "name": "Herman - O'Connell Corp.",
  "exchange": "HKEX",
  "sector": "Industrials",
  "marketCap": 11255965475083,
  "price": 2689.81,
  "priceChangePercent24h": 14.53,
  "volume24h": 67399786,
  "createdAt": "2025-12-19T07:35:54.847Z"
}