🗄️Developer Resource // JSON Endpoint
BAR JSON Data API
Absolute endpoints (copy‑paste)
JSON:
https://www.pocketportfolio.app/api/tickers/BAR/json?range=maxCSV:
https://www.pocketportfolio.app/api/tickers/BAR/csv?range=maxAccess 466 data points for BAR spanning 9 years (2017–Jul 24, 2026). Optimized JSON format (68.3 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 BAR historical data as a CSV file for Excel, Google Sheets, or any spreadsheet application.
GET /api/tickers/BAR/json● 200 OK (Live)Tired of exporting to Excel? Track BAR and analyze your portfolio locally with Pocket Portfolio.
Start Free — Local First{
"symbol": "BAR",
"timestamp": "2026-07-24T22:28:33.388Z",
"price": 39.92,
"change_24h": 0.10030090270812222,
"history_sample": [
{
"date": "2017-08-28",
"open": 13.2,
"high": 13.27,
"low": 13.2,
"close": 13.27,
"volume": 22000
},
{
"date": "2017-09-04",
"open": 13.7,
"high": 14.29,
"low": 13.36,
"close": 13.5,
"volume": 88000
}
]
}💻
Import via CLI
Don't scrape. Use our open-source importer to normalize this dataset directly into your local database.
npx pocket-portfolio --import BAR🛡️
Need to archive this data?
Don't rely on ephemeral endpoints. Automatically sync BAR.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)