🗄️Developer Resource // JSON Endpoint
AFLG JSON Data API
Absolute endpoints (copy‑paste)
JSON:
https://www.pocketportfolio.app/api/tickers/AFLG/json?range=maxCSV:
https://www.pocketportfolio.app/api/tickers/AFLG/csv?range=maxAccess 348 data points for AFLG spanning 7 years (2019–Jul 24, 2026). Optimized JSON format (51.0 KB).
Programmable Sovereign Interface — chart this JSON in the Terminal.
Local-first analysis. Stateless data. Your browser is the vault.
Download as CSV
Prefer CSV format? Download AFLG historical data as a CSV file for Excel, Google Sheets, or any spreadsheet application.
GET /api/tickers/AFLG/json● 200 OK (Live)Tired of exporting to Excel? Track AFLG and analyze your portfolio locally with Pocket Portfolio.
Start Free — Local First{
"symbol": "AFLG",
"timestamp": "2026-07-24T22:31:00.878Z",
"price": 43.46,
"change_24h": 0.3231763619575267,
"history_sample": [
{
"date": "2019-12-02",
"open": 20.03,
"high": 20.2,
"low": 19.99,
"close": 20.17,
"volume": 57500
},
{
"date": "2019-12-09",
"open": 20.13,
"high": 20.27,
"low": 20.08,
"close": 20.2,
"volume": 4200
}
]
}💻
Import via CLI
Don't scrape. Use our open-source importer to normalize this dataset directly into your local database.
npx pocket-portfolio --import AFLG🛡️
Need to archive this data?
Don't rely on ephemeral endpoints. Automatically sync AFLG.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)