Skip to main content
GET
Latest OHLC bars

Authorizations

X-API-Key
string
header
required

Client API key (prefixed with sk_). On /api/* endpoints the key is scoped to its own MT5 accounts. On /admin/* endpoints the key identifies its owning admin and grants access to all of that admin's keys — so any of your sk_ works to manage any of your other keys (cross-admin operations are rejected as 400 Key not found).

Path Parameters

id
string<uuid>
required

Account ID

symbol
string
required

Instrument name (e.g. EURUSD)

Query Parameters

timeframe
integer
default:60

Timeframe in minutes (1=M1, 5=M5, 15=M15, 60=H1, 240=H4, 1440=D1)

count
integer
default:200

Number of bars to return

Response

200 - application/json

OHLC bars

ok
boolean
Example:

true

data
object[]