example-data.com
Menu
Browse docs and collections

Overview

stocks / #94

Hand, Leuschke and Bogan Corp.

symbol
CJTA
name
Hand, Leuschke and Bogan Corp.
exchange
NASDAQ
sector
Health Care
marketCap
14873009223537
price
4408.69
priceChangePercent24h
5.87
volume24h
6159749
createdAt

Component variants

Related

Referenced by

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 94,
  "symbol": "CJTA",
  "name": "Hand, Leuschke and Bogan Corp.",
  "exchange": "NASDAQ",
  "sector": "Health Care",
  "marketCap": 14873009223537,
  "price": 4408.69,
  "priceChangePercent24h": 5.87,
  "volume24h": 6159749,
  "createdAt": "2024-08-16T08:14:47.966Z"
}