API reference/REST API//
- Get instrument properties
Get list of assets
Get symbol properties
Get all symbols and instruments
Get instrument properties
Basic quoting convention properties of an instrument
Security
SSO_TOKEN
- Mock serverhttps://docs.fxinside.net/_mock/openapi/integral-api-reference/rest/v2/refdata/currencies/{instrument}
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);Basic quoting convention properties of the instrument.
Response
{ "shortName": "USD", "instrumentType": "CURRENCY", "roundingType": "ROUND_HALF_UP", "tickValue"": 0.01 }