Get fees by account and symbol
Consults the Allaria and BYMA fees applicable to a specific account and trading symbol.
GET
/v1/broker/fees/{accountNumber}/{symbol}Request
Headers
| Field | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Access token in Bearer ACCESS_TOKEN format |
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
accountNumber | string | Yes | Account number associated with the Allaria account. |
symbol | string | Yes | Ticker symbol of the tradable asset. |
Not applicable: Query Parameters, Body.
Response
2XX Success
| Field | Type | Description |
|---|---|---|
symbol | string | Ticker symbol of the tradable asset. |
allaria_fees | array | List of fees charged by Allaria for this symbol. See ApplicableFee. |
byma_fees | array | List of fees charged by BYMA (the exchange) for this symbol. See ApplicableFee. |
ApplicableFee object fields
| Field | Type | Description |
|---|---|---|
percentage | number | Fee percentage applied over the operation amount (decimal, e.g. 0.006 = 0.6%). |
min_fee | number | Minimum fee amount charged, applied when the percentage-based fee would be lower. |
currency | string | Currency the fee is expressed in. Possible values: ARS, DOLLAR_MEP, DOLLAR_CCL. |
side | string | Order side the fee applies to. Possible values: BUY, SELL. |
Error Codes
| Status | Description |
|---|---|
401 | Unauthorized — invalid or missing access token |
403 | Forbidden — the token does not have permission to access this resource |
404 | Not Found — the account or symbol does not exist |
500 | Internal Server Error |
Error structure:
{
"code": "NOT_FOUND",
"description": "Resource not found"
}
Code Example
- cURL
- JavaScript
- Python
- Node.js
curl -X GET "https://b2b.allaria.cloud/v1/broker/fees/5050/GGAL" \
-H "Authorization: Bearer ACCESS_TOKEN"
const accountNumber = '5050';
const symbol = 'GGAL';
const response = await fetch(
`https://b2b.allaria.cloud/v1/broker/fees/${accountNumber}/${symbol}`,
{
method: 'GET',
headers: { 'Authorization': 'Bearer ACCESS_TOKEN' }
}
);
const data = await response.json();
console.log(data);
import requests
account_number = '5050'
symbol = 'GGAL'
response = requests.get(
f'https://b2b.allaria.cloud/v1/broker/fees/{account_number}/{symbol}',
headers={ 'Authorization': 'Bearer ACCESS_TOKEN' }
)
data = response.json()
print(data)
const axios = require('axios');
const accountNumber = '5050';
const symbol = 'GGAL';
const response = await axios.get(
`https://b2b.allaria.cloud/v1/broker/fees/${accountNumber}/${symbol}`,
{ headers: { Authorization: 'Bearer ACCESS_TOKEN' } }
);
console.log(response.data);
2XX Success
{
"symbol": "GGAL",
"allaria_fees": [
{
"percentage": 0.006000,
"min_fee": 0.00,
"currency": "ARS",
"side": "BUY"
},
{
"percentage": 0.006000,
"min_fee": 0.00,
"currency": "ARS",
"side": "SELL"
}
],
"byma_fees": [
{
"percentage": 0.000968,
"min_fee": 0,
"currency": "ARS",
"side": "BUY"
},
{
"percentage": 0.000968,
"min_fee": 0,
"currency": "ARS",
"side": "SELL"
}
]
}