🗄️Developer Resource // JSON Endpoint

BTG JSON Data API

Absolute endpoints (copy‑paste)
JSON:https://www.pocketportfolio.app/api/tickers/BTG/json?range=max
CSV:https://www.pocketportfolio.app/api/tickers/BTG/csv?range=max

Access 218 data points for BTG spanning 19 years (2008–Jul 24, 2026). Optimized JSON format (31.9 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 BTG historical data as a CSV file for Excel, Google Sheets, or any spreadsheet application.

GET /api/tickers/BTG/json● 200 OK (Live)

Tired of exporting to Excel? Track BTG and analyze your portfolio locally with Pocket Portfolio.

Start Free — Local First
{
  "symbol": "BTG",
  "timestamp": "2026-07-24T21:38:45.554Z",
  "price": 3.87,
  "change_24h": 0.7812500000000066,
  "history_sample": [
    {
      "date": "2008-07-01",
      "open": 1.18,
      "high": 1.18,
      "low": 0.7,
      "close": 0.79,
      "volume": 49100
    },
    {
      "date": "2008-08-01",
      "open": 0.79,
      "high": 0.79,
      "low": 0.49,
      "close": 0.52,
      "volume": 32000
    }
  ]
}
💻

Import via CLI

Don't scrape. Use our open-source importer to normalize this dataset directly into your local database.

npx pocket-portfolio --import BTG
🛡️

Need to archive this data?

Don't rely on ephemeral endpoints. Automatically sync BTG.json updates to your private Google Drive for backtesting and compliance.

Enable Sovereign Sync

Includes 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)
> system_ready. Initialize Sovereign reasoning for this asset?[Y]— open Terminal