🗄️Developer Resource // JSON Endpoint
BGS JSON Data API
Absolute endpoints (copy‑paste)
JSON:
https://www.pocketportfolio.app/api/tickers/BGS/json?range=maxCSV:
https://www.pocketportfolio.app/api/tickers/BGS/csv?range=maxAccess 231 data points for BGS spanning 20 years (2007–Jul 24, 2026). Optimized JSON format (33.8 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 BGS historical data as a CSV file for Excel, Google Sheets, or any spreadsheet application.
GET /api/tickers/BGS/json● 200 OK (Live)Tired of exporting to Excel? Track BGS and analyze your portfolio locally with Pocket Portfolio.
Start Free — Local First{
"symbol": "BGS",
"timestamp": "2026-07-24T21:37:30.214Z",
"price": 3.51,
"change_24h": 0,
"history_sample": [
{
"date": "2007-06-01",
"open": 13.65,
"high": 13.94,
"low": 12.9,
"close": 13.2,
"volume": 5157300
},
{
"date": "2007-07-01",
"open": 13.2,
"high": 14.06,
"low": 13.09,
"close": 13.31,
"volume": 2974600
}
]
}💻
Import via CLI
Don't scrape. Use our open-source importer to normalize this dataset directly into your local database.
npx pocket-portfolio --import BGS🛡️
Need to archive this data?
Don't rely on ephemeral endpoints. Automatically sync BGS.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)