GET
Get Account Profile
Account API v2Read the MT5 account profile and details.
GET
https://api.algodeltafx.com/api/v2/forexaccount/getprofileReturn the profile and details of the MT5 account that the token belongs to. Call it first to confirm your token works and that the account is connected.
Authentication
Send the account token as Authorization: Bearer <ACCOUNT_TOKEN>. See Authentication.
Parameters
This endpoint takes no parameters.
Response
Returns the standard response envelope: status, msg and data.
Related endpoints
- Get Symbols: List the tradable symbols on the account, with broker suffixes.
- Get Open Positions: List every open position on the MT5 account.
- History Summary: Aggregated trading summary for a date range.
Example request
curl https://api.algodeltafx.com/api/v2/forexaccount/getprofile \
-H "Authorization: Bearer $ACCOUNT_TOKEN"import os
import requests
res = requests.get(
"https://api.algodeltafx.com/api/v2/forexaccount/getprofile",
headers={"Authorization": f"Bearer {os.environ['ACCOUNT_TOKEN']}"},
timeout=30,
)
data = res.json()
print(data["status"], data.get("msg"), data.get("data"))const res = await fetch("https://api.algodeltafx.com/api/v2/forexaccount/getprofile", {
headers: {
Authorization: `Bearer ${process.env.ACCOUNT_TOKEN}`,
},
});
const { status, msg, data } = await res.json();
console.log(status, msg, data);using System.Net.Http.Headers;
using System.Text;
using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
new AuthenticationHeaderValue("Bearer", Environment.GetEnvironmentVariable("ACCOUNT_TOKEN"));
var res = await http.GetAsync("https://api.algodeltafx.com/api/v2/forexaccount/getprofile");
Console.WriteLine(await res.Content.ReadAsStringAsync());Last updated 2026-11-04