example-data.com
Menu
Browse docs and collections

Overview

stocks / #34

Huel, Anderson and Leffler Corp.

symbol
GOKL
name
Huel, Anderson and Leffler Corp.
exchange
NYSE
sector
Health Care
marketCap
2860620120214
price
3505.54
priceChangePercent24h
3.36
volume24h
58599805
createdAt

Component variants

Related

Referenced by

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 34,
  "symbol": "GOKL",
  "name": "Huel, Anderson and Leffler Corp.",
  "exchange": "NYSE",
  "sector": "Health Care",
  "marketCap": 2860620120214,
  "price": 3505.54,
  "priceChangePercent24h": 3.36,
  "volume24h": 58599805,
  "createdAt": "2025-06-26T01:15:20.509Z"
}