GET /v1/indicator Indicators

Bollinger Bands (BB)

Retrieve real-time BB values for any supported symbol and timeframe. Bollinger Bands consist of a middle SMA band with upper and lower bands at standard deviations.

GET https://tickatlas.com/v1/indicator
! Authentication Required

All requests require an API key passed in the X-API-Key header.

header
X-API-Key: YOUR_API_KEY

Don't have an API key? Get started here.

Parameters

Parameter Type Required Default Description
symbol string Required — Trading symbol (e.g., EURUSD, GBPUSD, XAUUSD)
indicator string Required BB_upper Indicator name. Use: BB_upper
timeframe string Optional H1 Timeframe: M1, M5, M15, M30, H1, H4, D1 (default: H1)

Request Examples

cURL
curl -H "X-API-Key: YOUR_API_KEY" "https://tickatlas.com/v1/indicator?symbol=EURUSD&indicator=BB_upper&timeframe=H1"

Response

200 Success Response
200 OK
{
  "success": true,
  "data": {
    "symbol": "EURUSD",
    "indicator": "BB_upper",
    "timeframe": "H1",
    "value": 1.0889,
    "bid": 1.08432,
    "ask": 1.08443,
    "updated_at": 1711548000,
    "server_time": "2024-03-27T14:00:00+00:00"
  }
}

Error Responses

400 Bad Request
400
{
  "success": false,
  "error": {
    "code": "VALIDATION_ERROR",
    "message": "Parameter \"symbol\" is required"
  }
}
401 Unauthorized
401
{
  "success": false,
  "error": {
    "code": "INVALID_API_KEY",
    "message": "Invalid API key"
  }
}
429 Rate Limited
429
{
  "success": false,
  "error": {
    "code": "RATE_LIMIT_EXCEEDED",
    "message": "Rate limit exceeded",
    "reset_in_seconds": 60
  }
}

See full error documentation for all error codes.

Playground

Shows the documented example response. Live values come from the API, called with your key.

Common Use Cases

Build a BB-based trading bot

Create a market screener filtering by BB values

Feed BB data into machine learning models