🗄️Developer Resource // JSON Endpoint

CPB JSON Data API

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

Access 168 data points for CPB spanning 42 years (1984–Jun 5, 2026). Optimized JSON format (24.6 KB).

Route this JSON into your sovereign workspace — command the Terminal.
Endpoint-first sovereignty: no shared warehouse of your raw ledger.

Download as CSV

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

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

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

Start Free — Local First
{
  "symbol": "CPB",
  "timestamp": "2026-06-07T03:12:15.976Z",
  "price": 21.68,
  "change_24h": 0.6032482598607842,
  "history_sample": [
    {
      "date": "1984-11-01",
      "open": 4.33,
      "high": 4.33,
      "low": 3.77,
      "close": 3.88,
      "volume": 19036800
    },
    {
      "date": "1985-02-01",
      "open": 3.88,
      "high": 4.58,
      "low": 3.88,
      "close": 4.06,
      "volume": 34336000
    }
  ]
}
💻

Import via CLI

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

npx pocket-portfolio --import CPB
🛡️

Need to archive this data?

Don't rely on ephemeral endpoints. Automatically sync CPB.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