Start EA on account
curl --request POST \
--url https://api.easierprop.com/api/accounts/{id}/ea/start \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"ea_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"symbol": "EURUSD",
"timeframe": "M1",
"input_overrides": {
"LotSize": 0.02,
"StopLoss": 30
}
}
'import requests
url = "https://api.easierprop.com/api/accounts/{id}/ea/start"
payload = {
"ea_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"symbol": "EURUSD",
"timeframe": "M1",
"input_overrides": {
"LotSize": 0.02,
"StopLoss": 30
}
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
ea_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
symbol: 'EURUSD',
timeframe: 'M1',
input_overrides: {LotSize: 0.02, StopLoss: 30}
})
};
fetch('https://api.easierprop.com/api/accounts/{id}/ea/start', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.easierprop.com/api/accounts/{id}/ea/start",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'ea_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'symbol' => 'EURUSD',
'timeframe' => 'M1',
'input_overrides' => [
'LotSize' => 0.02,
'StopLoss' => 30
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.easierprop.com/api/accounts/{id}/ea/start"
payload := strings.NewReader("{\n \"ea_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"symbol\": \"EURUSD\",\n \"timeframe\": \"M1\",\n \"input_overrides\": {\n \"LotSize\": 0.02,\n \"StopLoss\": 30\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.easierprop.com/api/accounts/{id}/ea/start")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"ea_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"symbol\": \"EURUSD\",\n \"timeframe\": \"M1\",\n \"input_overrides\": {\n \"LotSize\": 0.02,\n \"StopLoss\": 30\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.easierprop.com/api/accounts/{id}/ea/start")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"ea_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"symbol\": \"EURUSD\",\n \"timeframe\": \"M1\",\n \"input_overrides\": {\n \"LotSize\": 0.02,\n \"StopLoss\": 30\n }\n}"
response = http.request(request)
puts response.read_body{
"ok": true,
"data": {
"instance_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ea_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ea_name": "MA Crossover",
"account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"symbol": "EURUSD",
"timeframe": "M1",
"status": "running"
}
}Expert Advisors
Start EA on account
Start an Expert Advisor on this account. If another EA is already running, it will be stopped first. The EA runs server-side and trades automatically based on its logic.
POST
/
api
/
accounts
/
{id}
/
ea
/
start
Start EA on account
curl --request POST \
--url https://api.easierprop.com/api/accounts/{id}/ea/start \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"ea_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"symbol": "EURUSD",
"timeframe": "M1",
"input_overrides": {
"LotSize": 0.02,
"StopLoss": 30
}
}
'import requests
url = "https://api.easierprop.com/api/accounts/{id}/ea/start"
payload = {
"ea_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"symbol": "EURUSD",
"timeframe": "M1",
"input_overrides": {
"LotSize": 0.02,
"StopLoss": 30
}
}
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({
ea_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
symbol: 'EURUSD',
timeframe: 'M1',
input_overrides: {LotSize: 0.02, StopLoss: 30}
})
};
fetch('https://api.easierprop.com/api/accounts/{id}/ea/start', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.easierprop.com/api/accounts/{id}/ea/start",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'ea_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'symbol' => 'EURUSD',
'timeframe' => 'M1',
'input_overrides' => [
'LotSize' => 0.02,
'StopLoss' => 30
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.easierprop.com/api/accounts/{id}/ea/start"
payload := strings.NewReader("{\n \"ea_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"symbol\": \"EURUSD\",\n \"timeframe\": \"M1\",\n \"input_overrides\": {\n \"LotSize\": 0.02,\n \"StopLoss\": 30\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.easierprop.com/api/accounts/{id}/ea/start")
.header("X-API-Key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"ea_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"symbol\": \"EURUSD\",\n \"timeframe\": \"M1\",\n \"input_overrides\": {\n \"LotSize\": 0.02,\n \"StopLoss\": 30\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.easierprop.com/api/accounts/{id}/ea/start")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"ea_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"symbol\": \"EURUSD\",\n \"timeframe\": \"M1\",\n \"input_overrides\": {\n \"LotSize\": 0.02,\n \"StopLoss\": 30\n }\n}"
response = http.request(request)
puts response.read_body{
"ok": true,
"data": {
"instance_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ea_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ea_name": "MA Crossover",
"account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"symbol": "EURUSD",
"timeframe": "M1",
"status": "running"
}
}Authorizations
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
Account ID
Body
application/json
⌘I