Skip to content

Symbols

Retrieve specifications for all available trading symbols or look up a single symbol. Always check symbol specs before placing trades to ensure you use valid volume sizes and understand the contract details.

GET /v1/symbols

Returns the full list of available symbols with their specifications.

Weight: 2

Terminal window
curl -X GET https://interface.xbtfx.com/v1/symbols \
-H "Authorization: Bearer your_api_key_here"

GET /v1/symbols/:symbol

Returns the specification for a single symbol.

Weight: 1

Terminal window
curl -X GET https://interface.xbtfx.com/v1/symbols/EURUSD \
-H "Authorization: Bearer your_api_key_here"
{
"symbols": [
{
"name": "EURUSD",
"digits": 5,
"contract_size": 100000.0,
"point": 0.00001,
"trade_mode": "Full",
"spread": 0,
"swap_long": -6.3,
"swap_short": 0.95,
"bid": 1.08230,
"ask": 1.08240
}
],
"count": 422
}
{
"symbol": "NDXUSD",
"description": "Nasdaq 100 vs USD",
"path": "CFD\\Indices\\NDXUSD",
"currency_base": "USD",
"currency_profit": "USD",
"currency_margin": "USD",
"digits": 2,
"point": 0.01,
"contract_size": 1.0,
"trade_mode": "Full",
"tradeable": true,
"calc_mode": 0,
"spread": 100,
"stops_level": 0,
"volume_min": 0.10,
"volume_max": 50.00,
"volume_step": 0.10,
"tick_value": 0.01,
"tick_size": 0.01,
"swap_mode": 1,
"swap_long": -4.50,
"swap_short": -3.20,
"swap_3day": 3,
"margin_initial": 0.0,
"margin_maintenance": 0.0,
"margin_long": 5.0,
"margin_short": 5.0,
"margin_hedged": 5.0,
"bid": 21543.50,
"ask": 21544.50,
"sessions": {
"trade": [
{ "day": "monday", "open": "01:00", "close": "23:55" },
{ "day": "tuesday", "open": "01:00", "close": "23:55" },
{ "day": "wednesday", "open": "01:00", "close": "23:55" },
{ "day": "thursday", "open": "01:00", "close": "23:55" },
{ "day": "friday", "open": "01:00", "close": "23:55" }
],
"quote": [
{ "day": "monday", "open": "01:00", "close": "23:55" }
]
}
}
FieldTypeDescription
symbolstringSymbol name
descriptionstringHuman-readable description
pathstringSymbol path in the broker’s symbol tree
currency_basestringBase currency
currency_profitstringProfit currency
currency_marginstringMargin currency
digitsintegerNumber of decimal places in price
pointnumberSmallest price increment
contract_sizenumberContract size per 1.0 lot
trade_modestringTrading mode (e.g., Full, disabled)
tradeablebooleanWhether the symbol is currently tradeable
calc_modeintegerProfit calculation mode (0 = Forex, 1 = CFD, 2 = Futures, etc.)
spreadintegerCurrent spread in points
stops_levelintegerMinimum distance for SL/TP in points
volume_minnumberMinimum trade volume in lots
volume_maxnumberMaximum trade volume in lots
volume_stepnumberVolume step increment
tick_valuenumberValue of one tick in the profit currency
tick_sizenumberMinimum price change
swap_modeintegerSwap calculation mode: 0 = disabled, 1 = points, 2 = currency
swap_longnumberSwap value for long positions
swap_shortnumberSwap value for short positions
swap_3dayintegerDay of week for triple swap: 0 = Sunday .. 6 = Saturday (typically 3 = Wednesday)
margin_initialnumberInitial margin requirement (0.0 means calculated automatically)
margin_maintenancenumberMaintenance margin requirement (0.0 means calculated automatically)
margin_longnumberLong margin rate (percentage)
margin_shortnumberShort margin rate (percentage)
margin_hedgednumberHedged margin rate (percentage)
bidnumberCurrent bid price (Continuum price feed)
asknumberCurrent ask price (Continuum price feed)
sessionsobjectTrading and quote session schedules
sessions.tradearrayArray of trading sessions with day, open, and close times
sessions.quotearrayArray of quote sessions with day, open, and close times