Skip to main content
POST
Error

Authorizations

Authorization
string
header
required

Set API_TOKEN in .env to match the token configured on the server.

Path Parameters

symbol
string
required

Symbol name

Example:

"BTCUSD"

Query Parameters

timeframe
string
default:M1

MT5 timeframe: M1 M5 M15 M30 H1 H4 D1 W1 MN1

Example:

"M15"

count
integer
default:100

Number of candles

Example:

500

Body

application/json
indicators
object
required

Candlewick indicator spec (e.g. {"rsi": {"period": 14}, "ema": {"period": 21}}).

recentBars
integer

Only return TA for the N most recent bars.

Example:

50

Response

Bars with TA analysis

bars
object[]
symbol
string
ta
object | null
timeframe
string