🗄️Developer Resource // JSON Endpoint
DRUG JSON Data API
Absolute endpoints (copy‑paste)
JSON:
https://www.pocketportfolio.app/api/tickers/DRUG/json?range=maxCSV:
https://www.pocketportfolio.app/api/tickers/DRUG/csv?range=maxAccess 280 data points for DRUG spanning 6 years (2021–Jul 24, 2026). Optimized JSON format (41.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 DRUG historical data as a CSV file for Excel, Google Sheets, or any spreadsheet application.
GET /api/tickers/DRUG/json● 200 OK (Live)Tired of exporting to Excel? Track DRUG and analyze your portfolio locally with Pocket Portfolio.
Start Free — Local First{
"symbol": "DRUG",
"timestamp": "2026-07-27T00:53:24.220Z",
"price": 71.33,
"change_24h": 0.056108851171261104,
"history_sample": [
{
"date": "2021-03-22",
"open": 26.17,
"high": 27,
"low": 26.17,
"close": 26.75,
"volume": 2860
},
{
"date": "2021-03-29",
"open": 26.75,
"high": 26.75,
"low": 26.75,
"close": 26.75,
"volume": 0
}
]
}💻
Import via CLI
Don't scrape. Use our open-source importer to normalize this dataset directly into your local database.
npx pocket-portfolio --import DRUG🛡️
Need to archive this data?
Don't rely on ephemeral endpoints. Automatically sync DRUG.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)