🗄️Developer Resource // JSON Endpoint

XHS JSON Data API

Access 176 data points for XHS spanning 15 years (2011–Apr 22, 2026). Optimized JSON format (25.8 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 XHS historical data as a CSV file for Excel, Google Sheets, or any spreadsheet application.

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

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

Start Free — Local First
{
  "symbol": "XHS",
  "timestamp": "2026-04-22T17:56:21.110Z",
  "price": 108.18,
  "change_24h": 0.6793857608189893,
  "history_sample": [
    {
      "date": "2011-10-01",
      "open": 25.2,
      "high": 28.83,
      "low": 22.72,
      "close": 28.35,
      "volume": 155600
    },
    {
      "date": "2011-11-01",
      "open": 27.47,
      "high": 30.55,
      "low": 25.07,
      "close": 27.92,
      "volume": 175600
    }
  ]
}
💻

Import via CLI

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

npx pocket-portfolio --import XHS
🛡️

Need to archive this data?

Don't rely on ephemeral endpoints. Automatically sync XHS.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