🗄️Developer Resource // JSON Endpoint

CPK JSON Data API

Absolute endpoints (copy‑paste)
JSON:https://www.pocketportfolio.app/api/tickers/CPK/json?range=max
CSV:https://www.pocketportfolio.app/api/tickers/CPK/csv?range=max

Access 168 data points for CPK spanning 42 years (1984–Jul 24, 2026). Optimized JSON format (24.6 KB).

Programmable Sovereign Interface — chart this JSON in the Terminal.
Local-first analysis. Stateless data. Your browser is the vault.

Download as CSV

Prefer CSV format? Download CPK historical data as a CSV file for Excel, Google Sheets, or any spreadsheet application.

GET /api/tickers/CPK/json● 200 OK (Live)

Tired of exporting to Excel? Track CPK and analyze your portfolio locally with Pocket Portfolio.

Start Free — Local First
{
  "symbol": "CPK",
  "timestamp": "2026-07-24T22:37:23.401Z",
  "price": 135.78,
  "change_24h": 0.8691776242478176,
  "history_sample": [
    {
      "date": "1984-12-01",
      "open": 6.44,
      "high": 7.7,
      "low": 6.44,
      "close": 7.48,
      "volume": 78645
    },
    {
      "date": "1985-03-01",
      "open": 7.48,
      "high": 7.78,
      "low": 7.04,
      "close": 7.3,
      "volume": 119487
    }
  ]
}
💻

Import via CLI

Don't scrape. Use our open-source importer to normalize this dataset directly into your local database.

npx pocket-portfolio --import CPK
🛡️

Need to archive this data?

Don't rely on ephemeral endpoints. Automatically sync CPK.json updates to your private Google Drive for backtesting and compliance.

Enable Sovereign Sync

Includes unlimited API calls & historical CSV exports.

Dataset Specifications

  • Format: Standardized JSON (OHLCV)
  • Frequency: End-of-Day (EOD) + Real-time delay
  • Adjustments: Split-adjusted, Dividend-adjusted
  • Source: Multi-provider aggregation (AlphaVantage, Yahoo fallback)
> system_ready. Initialize Sovereign reasoning for this asset?[Y]— open Terminal