🗄️Developer Resource // JSON Endpoint
BTU JSON Data API
Absolute endpoints (copy‑paste)
JSON:
https://www.pocketportfolio.app/api/tickers/BTU/json?range=maxCSV:
https://www.pocketportfolio.app/api/tickers/BTU/csv?range=maxAccess 487 data points for BTU spanning 10 years (2017–Jul 24, 2026). Optimized JSON format (71.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 BTU historical data as a CSV file for Excel, Google Sheets, or any spreadsheet application.
GET /api/tickers/BTU/json● 200 OK (Live)Tired of exporting to Excel? Track BTU and analyze your portfolio locally with Pocket Portfolio.
Start Free — Local First{
"symbol": "BTU",
"timestamp": "2026-07-24T21:38:17.730Z",
"price": 22.8,
"change_24h": -4.28211586901763,
"history_sample": [
{
"date": "2017-04-03",
"open": 30.03,
"high": 32.5,
"low": 26,
"close": 27.57,
"volume": 8938100
},
{
"date": "2017-04-10",
"open": 28,
"high": 28.47,
"low": 23.28,
"close": 23.82,
"volume": 6113700
}
]
}💻
Import via CLI
Don't scrape. Use our open-source importer to normalize this dataset directly into your local database.
npx pocket-portfolio --import BTU🛡️
Need to archive this data?
Don't rely on ephemeral endpoints. Automatically sync BTU.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)