πŸ—„οΈDeveloper Resource // JSON Endpoint

CNX JSON Data API

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

Access 328 data points for CNX spanning 28 years (1999–Jul 24, 2026). Optimized JSON format (48.0 KB).

Private ledger analysis β€” connect this API slice to the Terminal.
Keep sensitive rows off shared analyst lakes β€” bounded, explicit flows.

Download as CSV

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

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

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

Start Free β€” Local First
{
  "symbol": "CNX",
  "timestamp": "2026-07-24T21:37:09.242Z",
  "price": 34.29,
  "change_24h": -0.49332559489263406,
  "history_sample": [
    {
      "date": "1999-05-01",
      "open": 6.02,
      "high": 6.2,
      "low": 4.9,
      "close": 5.63,
      "volume": 24198720
    },
    {
      "date": "1999-06-01",
      "open": 5.52,
      "high": 5.68,
      "low": 4.53,
      "close": 5,
      "volume": 4719120
    }
  ]
}
πŸ’»

Import via CLI

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

npx pocket-portfolio --import CNX
πŸ›‘οΈ

Need to archive this data?

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