🗄️Developer Resource // JSON Endpoint

CTEX JSON Data API

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

Access 253 data points for CTEX spanning 5 years (2021–Jul 24, 2026). Optimized JSON format (37.1 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 CTEX historical data as a CSV file for Excel, Google Sheets, or any spreadsheet application.

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

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

Start Free — Local First
{
  "symbol": "CTEX",
  "timestamp": "2026-07-24T21:35:19.818Z",
  "price": 33.7994,
  "change_24h": -4.840548781346175,
  "history_sample": [
    {
      "date": "2021-09-27",
      "open": 40.69,
      "high": 41.27,
      "low": 40.69,
      "close": 41.27,
      "volume": 300
    },
    {
      "date": "2021-10-04",
      "open": 39.27,
      "high": 41.12,
      "low": 39.27,
      "close": 40.48,
      "volume": 31000
    }
  ]
}
💻

Import via CLI

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

npx pocket-portfolio --import CTEX
🛡️

Need to archive this data?

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