🗄️Developer Resource // JSON Endpoint
CPRX JSON Data API
Absolute endpoints (copy‑paste)
JSON:
https://www.pocketportfolio.app/api/tickers/CPRX/json?range=maxCSV:
https://www.pocketportfolio.app/api/tickers/CPRX/csv?range=maxAccess 236 data points for CPRX spanning 20 years (2006–Jun 5, 2026). Optimized JSON format (34.6 KB).
Route this JSON into your sovereign workspace — command the Terminal.
Endpoint-first sovereignty: no shared warehouse of your raw ledger.
Download as CSV
Prefer CSV format? Download CPRX historical data as a CSV file for Excel, Google Sheets, or any spreadsheet application.
GET /api/tickers/CPRX/json● 200 OK (Live)Tired of exporting to Excel? Track CPRX and analyze your portfolio locally with Pocket Portfolio.
Start Free — Local First{
"symbol": "CPRX",
"timestamp": "2026-06-07T05:18:20.115Z",
"price": 31.27,
"change_24h": -0.06391818472355248,
"history_sample": [
{
"date": "2006-12-01",
"open": 5.5,
"high": 6,
"low": 3.76,
"close": 4.83,
"volume": 560300
},
{
"date": "2007-01-01",
"open": 5,
"high": 6.51,
"low": 3.68,
"close": 6.38,
"volume": 1402700
}
]
}💻
Import via CLI
Don't scrape. Use our open-source importer to normalize this dataset directly into your local database.
npx pocket-portfolio --import CPRX🛡️
Need to archive this data?
Don't rely on ephemeral endpoints. Automatically sync CPRX.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)