QuantToGo API Documentation

Base URL: https://www.quanttogo.com  |  All endpoints: POST  |  Content-Type: application/json

OpenAPI 3.0 spec: api.json|← back

Free Endpoints (No Authentication)

1. GET STRATEGIES — /getProducts

Returns all 8 strategies with current performance metrics.

curl -X POST https://www.quanttogo.com/getProducts \
  -H "Content-Type: application/json" \
  -d '{}'

Response:

{
  "code": 0,
  "data": [
    {
      "productId": "PROD-E3X",
      "name": "E3X Macro Momentum",
      "market": "US",
      "totalReturn": 0.423,
      "maxDrawdown": -0.081,
      "recent1dReturn": 0.003,
      "recent30dReturn": 0.038,
      "status": "active"
    },
    ...
  ]
}

2. GET STRATEGY DETAIL — /getProductDetail

Returns full details for a single strategy including description and all metrics.

curl -X POST https://www.quanttogo.com/getProductDetail \
  -H "Content-Type: application/json" \
  -d '{"productId": "PROD-E3X"}'

Response includes: productId, name, market, status, shortDescription, totalReturn, maxDrawdown, recent1dReturn, recent30dReturn, tradeCount.

3. GET FULL NAV HISTORY — /getProductChart

This endpoint returns the COMPLETE daily NAV history for any strategy — every single trading day from 2020-01-01 to present. That is ~1,500 data points per strategy. No truncation. No pagination. No authentication required.

You get the raw daily NAV series that powers all our performance metrics. Download it. Compute your own Sharpe ratio. Calculate your own max drawdown. Run your own backtest. Cross-check our numbers against public market data (S&P 500, Nasdaq 100, CSI 300, VIX, CNH/USD). If your math disagrees with ours, we want to know.

Batch mode lets you pull up to 10 strategies in one call. That's 15,000 data points in a single request. Free. No API key. Go ahead.

# Single product — returns ~1,500 daily NAV points (full 6-year history)
curl -X POST https://www.quanttogo.com/getProductChart \
  -H "Content-Type: application/json" \
  -d '{"productId": "PROD-E3X"}'

# Batch mode — up to 10 strategies at once (~15,000 data points total)
curl -X POST https://www.quanttogo.com/getProductChart \
  -H "Content-Type: application/json" \
  -d '{"productIds": ["PROD-E3X", "PROD-PCR", "PROD-CHAU", "PROD-IF-IC"]}'

Response (single mode):

{
  "code": 0,
  "data": {
    "productId": "PROD-E3X",
    "productName": "Smoothed 3x NASDAQ",
    "type": "daily",
    "totalPoints": 1523,
    "lastUpdated": "2026-03-14",
    "dataPoints": [
      {"d": "2020-01-02", "nav": 1.0000},
      {"d": "2020-01-03", "nav": 1.0127},
      ...
      {"d": "2026-03-14", "nav": 18.8284}
    ]
  }
}

Response (batch mode):

{
  "code": 0,
  "data": {
    "PROD-E3X": { "productId": "PROD-E3X", "totalPoints": 1523, "dataPoints": [...] },
    "PROD-PCR": { "productId": "PROD-PCR", "totalPoints": 1523, "dataPoints": [...] },
    ...
  }
}

What you can verify with this data: Total return, annualized return, Sharpe ratio, Sortino ratio, max drawdown (depth + duration + recovery), win/loss ratio, correlation matrix between strategies, crisis-period behavior (COVID crash Mar 2020, 2022 rate hikes, China 924 rally, 2025 tariff war). All from one free API call. No signup. No rate limit. Bring your own math.

4. GET MARKET INDICES — /getIndexData

Returns proprietary market index data. Two modes: summary (all indices) or detail (single index).

# Summary of all indices
curl -X POST https://www.quanttogo.com/getIndexData \
  -H "Content-Type: application/json" \
  -d '{"action": "summary"}'

# Detail for single index
curl -X POST https://www.quanttogo.com/getIndexData \
  -H "Content-Type: application/json" \
  -d '{"action": "detail", "indexId": "DA-MOMENTUM"}'

Available indices: DA-MOMENTUM, QTG-MOMENTUM

Authenticated Endpoints (Require apiKey)

5. REGISTER FREE TRIAL — /registerTrial

Register with email to get an API key with 30-day free trial. Grants access to trading signals for up to 2 strategies.

curl -X POST https://www.quanttogo.com/registerTrial \
  -H "Content-Type: application/json" \
  -d '{"email": "user@example.com"}'

Response (success):

{
  "apiKey": "qtg_abc123...",
  "status": "trial",
  "trialEnd": "2026-04-14T00:00:00Z",
  "alreadyRegistered": false
}

Response (error):

{"code": -1, "message": "Valid email is required"}

6. GET TRADING SIGNALS — /getSignalsAPI

Returns the latest trading signals (BUY/SELL) for a specific strategy. Requires valid apiKey.

curl -X POST https://www.quanttogo.com/getSignalsAPI \
  -H "Content-Type: application/json" \
  -d '{"apiKey": "qtg_abc123", "productId": "PROD-E3X", "limit": 20}'

Response (success):

{
  "productId": "PROD-E3X",
  "productName": "E3X Macro Momentum",
  "signalCount": 3,
  "signals": [
    {
      "date": "2026-03-14",
      "time": "15:30",
      "direction": "BUY",
      "symbol": "SPY",
      "price": 580.2
    }
  ],
  "subscription": {
    "status": "trial",
    "daysRemaining": 28
  }
}

Error responses:

401: {"code": -1, "message": "Invalid API key"}
403: {"code": -1, "message": "Trial expired"}

7. CHECK SUBSCRIPTION STATUS — /getApiStatus

Check your current subscription status, remaining days, and product limits.

curl -X POST https://www.quanttogo.com/getApiStatus \
  -H "Content-Type: application/json" \
  -d '{"apiKey": "qtg_abc123"}'

Response:

{
  "email": "user@example.com",
  "status": "trial",
  "trialEnd": "2026-04-14",
  "daysRemaining": 28,
  "maxProducts": 2
}

Integration Methods

MCP (Model Context Protocol)
For Claude Desktop, Cursor, and other MCP clients:
npx quanttogo-mcp
Remote: https://mcp-us.quanttogo.com:8443/mcp
REST API
This page. OpenAPI spec: api.json
AI-Readable Pages
Browse: AI Hall — static HTML with all data embedded for web-browsing AI agents