Instruments (v2)
Returns paginated instruments, sort alphabetically
get/v2/user/accounts/{server}/{accountId}/instruments
Request
- Base URLhttps://trading-api.oanda.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
server'oanda' | 'oanda-demo' | 'otms' | 'v20' | 'v20-demo' | 'oj' | 'oj-demo' | 'opt' | 'ftmo-1' required
Account trading server.
accountIdstring required
The user's account identifier.
Query parameters
categorystring
idsstring[]
limitnumber required
offsetnumber required
Response
response
Example response
{
"data": [
{
"category": "INDEX",
"tradeMode": "TRADE_FULL",
"profitConvert": "BY_MARKET",
"type": "CFD",
"marketHours": [
{
"type": "MARKET_OPEN"
}
]
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.