Instruments (v4)
Get a single base instrument by ID
Returns base instrument details for a single instrument.
get/v4/user/accounts/{server}/{accountId}/instruments/base/{instrumentId}
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.
instrumentIdstring required
Instrument identifier.
Response
OK
Example response
{
"data": {
"category": "INDEX"
}
}Changes
No recorded changes to this operation across all 1 revision of this API.