Skip to main content
GET
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 to return (most recent first)

Example:

500

Response

OHLCV candles

close
number
Example:

95050

high
number
Example:

95200

low
number
Example:

94900

open
number
Example:

95000

real_volume
integer
Example:

0

spread
integer

Spread in raw points. For BTCUSD on RoboForex: 1459 pts × $0.01 = $14.59 round-turn.

Example:

1459

tick_volume
integer
Example:

1234

time
integer

Candle open time as Unix epoch (broker server time).

Example:

1777879200