🗄️Developer Resource // JSON Endpoint

CNI JSON Data API

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

Access 357 data points for CNI spanning 30 years (1996–Jul 24, 2026). Optimized JSON format (52.3 KB).

Local-first charts from this JSON — open the Terminal.
Parse and visualize without shipping raw ledgers to a vendor database.

Download as CSV

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

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

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

Start Free — Local First
{
  "symbol": "CNI",
  "timestamp": "2026-07-24T22:30:20.646Z",
  "price": 129.48,
  "change_24h": -0.8423954663807801,
  "history_sample": [
    {
      "date": "1996-12-01",
      "open": 3.41,
      "high": 3.53,
      "low": 2.9,
      "close": 3.17,
      "volume": 44250000
    },
    {
      "date": "1997-01-01",
      "open": 3.17,
      "high": 3.44,
      "low": 3.07,
      "close": 3.31,
      "volume": 38944800
    }
  ]
}
💻

Import via CLI

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

npx pocket-portfolio --import CNI
🛡️

Need to archive this data?

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