Get Market Short List¶
Returns a compact list of market assets available for a specific account, plus visible symbol groups.
GET
https://{some_domain}/market/short/list
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 | Account login ID |
Response¶
Success (200)¶
{
"assets": {
"structure": [
"symbol", "description", "currency", "margin_currency", "quote_currency", "group", "digits",
"trade", "spread", "spread_balance", "swap_enable", "margin_divider", "margin_mode", "stops_level",
"contract_size", "long_only", "ask", "bid", "point", "tick_value", "tick_size", "market_state",
"market_reason", "lot_min", "lot_max", "lot_step", "comm_base", "comm_type", "exchange", "category",
"industry", "sector", "shareholders", "market_cap", "price1d", "icon"
],
"rows": [
[
"EURUSD", "Euro vs US Dollar", "USD", "USD", "USD", "Forex", 5,
1, 20, 10, 1, 1.0, 0, 0, 100000, 0, 1.10501, 1.10498, 0.00001, 10.0,
0.00001, 1, 0, 1, 10000, 1, 0.0, 0, "FOREX", "Currencies", "FX Majors",
"Spot FX", 0, 0, -0.15, "/icons/eurusd.svg"
]
]
},
"groups": ["Forex", "Crypto", "Stocks"]
}
Response Fields¶
groups: visible security groups list for the account group.assets.structure: column names for each row inassets.rows.assets.rows: array of symbol rows aligned withassets.structure.
Notes About Data Calculation¶
- Symbols hidden by group security settings are excluded.
spreadandspread_balancemay come from group symbol overrides when enabled.margin_dividermay come from group symbol overrides.price1dis derived from quote history.
Error Responses¶
| HTTP | error |
Description |
|---|---|---|
| 400 | INVALID_DATA |
Request validation failed |
| 403 | USER_NOT_FOUND_OR_INCORRECT |
User not found |
| 404 | GROUP_NOT_FOUND |
User group not found |