🗄️Developer Resource // JSON Endpoint
CPHI JSON Data API
Absolute endpoints (copy‑paste)
JSON:
https://www.pocketportfolio.app/api/tickers/CPHI/json?range=maxCSV:
https://www.pocketportfolio.app/api/tickers/CPHI/csv?range=maxAccess 292 data points for CPHI spanning 25 years (2002–Jul 24, 2026). Optimized JSON format (42.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 CPHI historical data as a CSV file for Excel, Google Sheets, or any spreadsheet application.
GET /api/tickers/CPHI/json● 200 OK (Live)Tired of exporting to Excel? Track CPHI and analyze your portfolio locally with Pocket Portfolio.
Start Free — Local First{
"symbol": "CPHI",
"timestamp": "2026-07-24T22:27:58.960Z",
"price": 1.52,
"change_24h": -17.837837837837842,
"history_sample": [
{
"date": "2002-05-01",
"open": 8721.6,
"high": 8721.6,
"low": 4905.9,
"close": 4905.9,
"volume": 1
},
{
"date": "2002-06-01",
"open": 5560.02,
"high": 5560.02,
"low": 1417.26,
"close": 3815.7,
"volume": 14
}
]
}💻
Import via CLI
Don't scrape. Use our open-source importer to normalize this dataset directly into your local database.
npx pocket-portfolio --import CPHI🛡️
Need to archive this data?
Don't rely on ephemeral endpoints. Automatically sync CPHI.json updates to your private Google Drive for backtesting and compliance.
Enable Sovereign SyncIncludes 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)