Get BYMA data
Returns static reference data for all BYMA-listed instruments, including each ticket's minimum nominal quantity and lot size.
GET
/v1/broker/byma/dataRequest
Headers
| Field | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Access token in Bearer ACCESS_TOKEN format |
Not applicable: Path Parameters, Query Parameters, Body.
Response
2XX Success
| Field | Type | Description |
|---|---|---|
ticket | string | BYMA ticket symbol identifying the instrument. |
minimum_nominal_quantity | integer | Minimum nominal quantity accepted for an order on this instrument. |
lot_size | integer | Trading unit (lot size) for this instrument. May be null if no lot size is defined. |
Error Codes
| Status | Description |
|---|---|
401 | Unauthorized — invalid or missing access token |
500 | Internal Server Error |
Error structure:
{
"code": "INTERNAL_SERVER_ERROR",
"description": "An unexpected error occurred"
}
Code Example
- cURL
- JavaScript
- Python
- Node.js
curl -X GET https://b2b.allaria.cloud/v1/broker/byma/data \
-H "Authorization: Bearer ACCESS_TOKEN"
const response = await fetch('https://b2b.allaria.cloud/v1/broker/byma/data', {
method: 'GET',
headers: { 'Authorization': 'Bearer ACCESS_TOKEN' }
});
const data = await response.json();
console.log(data);
import requests
response = requests.get(
'https://b2b.allaria.cloud/v1/broker/byma/data',
headers={ 'Authorization': 'Bearer ACCESS_TOKEN' }
)
data = response.json()
print(data)
const axios = require('axios');
const response = await axios.get('https://b2b.allaria.cloud/v1/broker/byma/data', {
headers: { Authorization: 'Bearer ACCESS_TOKEN' }
});
console.log(response.data);
2XX Success
[
{
"ticket": "AGRO",
"minimum_nominal_quantity": 200,
"lot_size": 1
},
{
"ticket": "AUSO",
"minimum_nominal_quantity": 5,
"lot_size": 5
},
{
"ticket": "BHIP",
"minimum_nominal_quantity": 100,
"lot_size": null
}
]