example-data.com
Menu
Browse docs and collections

Overview

stocks / #40

Jones - Grimes Corp.

symbol
ZTGQ
name
Jones - Grimes Corp.
exchange
LSE
sector
Consumer Discretionary
marketCap
983250170115
price
1212.96
priceChangePercent24h
-12.74
volume24h
60709506
createdAt

Component variants

Related

Referenced by

Request

curl example

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

JavaScript example

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

Python example

import requests

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

Response

{
  "id": 40,
  "symbol": "ZTGQ",
  "name": "Jones - Grimes Corp.",
  "exchange": "LSE",
  "sector": "Consumer Discretionary",
  "marketCap": 983250170115,
  "price": 1212.96,
  "priceChangePercent24h": -12.74,
  "volume24h": 60709506,
  "createdAt": "2025-04-24T15:31:39.071Z"
}