🗄️Developer Resource // JSON Endpoint

CG JSON Data API

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

Access 171 data points for CG spanning 15 years (2012–Jul 24, 2026). Optimized JSON format (25.0 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 CG historical data as a CSV file for Excel, Google Sheets, or any spreadsheet application.

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

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

Start Free — Local First
{
  "symbol": "CG",
  "timestamp": "2026-07-24T21:36:40.529Z",
  "price": 45.4,
  "change_24h": 2.229227651429863,
  "history_sample": [
    {
      "date": "2012-06-01",
      "open": 20.66,
      "high": 22.44,
      "low": 20.31,
      "close": 22.43,
      "volume": 5768200
    },
    {
      "date": "2012-07-01",
      "open": 22.45,
      "high": 24.52,
      "low": 22.4,
      "close": 24.43,
      "volume": 3303200
    }
  ]
}
💻

Import via CLI

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

npx pocket-portfolio --import CG
🛡️

Need to archive this data?

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