Example Request

curl -X POST 'https://thothmind.ai/api/ta/indicators/calculate' \
  -H 'Content-Type: application/json' \
  -H 'X-API-Key: YOUR_API_KEY' \
  -d '{
    "ticker": "BTCUSDT",
    "indicator": "RSI",
    "parameters": [14],
    "data_points": 100
  }'
{
  "status": "success",
  "ticker": "BTCUSDT",
  "indicator": "RSI",
  "parameters": [
    14
  ],
  "values": [
    45.23,
    47.15,
    42.89,
    38.64,
    41.25
  ],
  "api_timing": {
    "server_time_ms": 45,
    "network_overhead_ms": 125
  },
  "data_info": {
    "requested_points": 100,
    "returned_points": 86,
    "data_loaded": 1000
  }
}

API Documentation

API Endpoints

Available Indicators (126)

POST

Calculate Indicator

Calculate a single technical indicator or candlestick pattern for a given ticker.

Authentication

🔐 Authentication Required

All Technical Analysis API endpoints require authentication using an API key.

1. Sign in to your account

2. Generate your API key in Settings → Technical Analysis API

3. Include it in the X-API-Key header

Parameters

tickerstringrequired

Stock or crypto symbol (e.g., "BTCUSDT", "AAPL")

indicatorstringrequired

Technical indicator name (e.g., "RSI", "SMA", "MACD")

parametersarrayrequired

Indicator parameters as array of numbers

data_pointsinteger

Number of data points to return (default: 100)

Response

{
  "status": "success",
  "ticker": "BTCUSDT",
  "indicator": "RSI",
  "parameters": [
    14
  ],
  "values": [
    45.23,
    47.15,
    42.89,
    38.64,
    41.25
  ],
  "api_timing": {
    "server_time_ms": 45,
    "network_overhead_ms": 125
  },
  "data_info": {
    "requested_points": 100,
    "returned_points": 86,
    "data_loaded": 1000
  }
}