Get Market Info¶
Returns the full market map available for a specific account login.
GET
https://{some_domain}/market
Authorization¶
This endpoint requires an authenticated session with one of the following access types:
SESSION_USERSESSION_MANAGERSESSION_ADMINSESSION_DEALER
Request¶
Content-Type: application/json
Body Parameters¶
| Field | Type | Required | Description |
|---|---|---|---|
login |
int | Yes | Target account login |
Response¶
Success (200)¶
{
"assets": {
"EURUSD": {
"symbol": "EURUSD",
"description": "Euro vs US Dollar",
"currency": "USD",
"margin_currency": "USD",
"quote_currency": "USD",
"group": "Forex",
"digits": 5,
"trade": 1,
"spread": 20,
"swap_enable": 1,
"margin_divider": 1.0,
"contract_size": 100000,
"ask": 1.10501,
"bid": 1.10498,
"market_state": 1,
"market_reason": 0,
"lot_min": 1,
"lot_max": 10000,
"lot_step": 1,
"sessions": []
}
},
"groups": ["Forex", "Metals"]
}
Response Notes¶
assetsis a symbol-keyed object.- Each symbol object contains full trading, margin, quote, session, and commission metadata.
groupscontains visible security group names for the account group.
Error Responses¶
| Code | Error | Description |
|---|---|---|
| 400 | INVALID_DATA |
Missing or invalid login |
| 403 | USER_NOT_FOUND_OR_INCORRECT |
Account not found |
| 404 | GROUP_NOT_FOUND |
Account group not found |