Skip to content

Get instrument properties

Request

Basic quoting convention properties of an instrument

Security
SSO_TOKEN
Path
instrumentstring, <= 17 charactersrequired

No default value. Typically the three-character ISO code.

Example:USD
JavaScript
const instrument = 'USD';
const resp = await fetch(
  `https://docs.fxinside.net/_mock/openapi/integral-api-reference/rest/v2/refdata/currencies/${instrument}`,
  {
    method: 'GET',
    headers: {
      SSO_TOKEN: 'YOUR_API_KEY_HERE'
    }
  }
);

const data = await resp.text();
console.log(data);

Responses

Basic quoting convention properties of the instrument.

Bodyapplication/json
shortNamestring, <= 30 characters

ID of the instrument.

instrumentTypestring, <= 30 characters
  • CURRENCY
  • METAL
  • INDEX
  • ENERGY
  • CRYPTO
roundingTypestring, <= 20 characters
  • ROUND_CEILING
  • ROUND_DOWN
  • ROUND_FLOOR
  • ROUND_HALF_DOWN
  • ROUND_HALF_EVEN
  • ROUND_HALF_UP
  • ROUND_UNNECESSARY
  • ROUND_UP
tickValuenumber

Tick increment.

Response
{ "shortName": "USD", "instrumentType": "CURRENCY", "roundingType": "ROUND_HALF_UP", "tickValue"": 0.01 }