🗄️Developer Resource // JSON Endpoint

CMP JSON Data API

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

Access 272 data points for CMP spanning 23 years (2004–Jul 24, 2026). Optimized JSON format (39.8 KB).

Turn this feed into a private wealth view in the Terminal.
Your keys, your sync policy — the Terminal stays privacy-first.

Download as CSV

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

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

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

Start Free — Local First
{
  "symbol": "CMP",
  "timestamp": "2026-07-24T22:28:01.782Z",
  "price": 29.44,
  "change_24h": -1.3404825737265367,
  "history_sample": [
    {
      "date": "2004-01-01",
      "open": 14.3,
      "high": 16.2,
      "low": 14,
      "close": 15.5,
      "volume": 3678900
    },
    {
      "date": "2004-02-01",
      "open": 15.5,
      "high": 16.99,
      "low": 15.05,
      "close": 16.65,
      "volume": 2301500
    }
  ]
}
💻

Import via CLI

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

npx pocket-portfolio --import CMP
🛡️

Need to archive this data?

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