🗄️Developer Resource // JSON Endpoint
AG JSON Data API
Absolute endpoints (copy‑paste)
JSON:
https://www.pocketportfolio.app/api/tickers/AG/json?range=maxCSV:
https://www.pocketportfolio.app/api/tickers/AG/csv?range=maxAccess 236 data points for AG spanning 20 years (2006–Jun 5, 2026). Optimized JSON format (34.6 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 AG historical data as a CSV file for Excel, Google Sheets, or any spreadsheet application.
GET /api/tickers/AG/json● 200 OK (Live)Tired of exporting to Excel? Track AG and analyze your portfolio locally with Pocket Portfolio.
Start Free — Local First{
"symbol": "AG",
"timestamp": "2026-06-07T05:18:17.199Z",
"price": 16.99,
"change_24h": -14.061709661102686,
"history_sample": [
{
"date": "2006-12-01",
"open": 3.81,
"high": 4.65,
"low": 3.61,
"close": 4.18,
"volume": 455500
},
{
"date": "2007-01-01",
"open": 4.55,
"high": 4.86,
"low": 4.02,
"close": 4.62,
"volume": 490000
}
]
}💻
Import via CLI
Don't scrape. Use our open-source importer to normalize this dataset directly into your local database.
npx pocket-portfolio --import AG🛡️
Need to archive this data?
Don't rely on ephemeral endpoints. Automatically sync AG.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)