Get historical share class quotes
Returns historical quotes for the given Bloomberg codes between two optional dates. If to is omitted, returns from from up to the latest available register.
GET
/v1/market-data/funds/classes/historyRequest
Headers
| Field | Type | Required | Description |
|---|---|---|---|
Authorization | string | Yes | Access token in Bearer ACCESS_TOKEN format |
Not applicable: Path Parameters, Body.
Query Parameters
| Field | Type | Required | Description |
|---|---|---|---|
bloomberg | array of string | Yes | Bloomberg codes to return (comma-separated). |
from | string | No | Start date (inclusive), format: yyyy-MM-dd |
to | string | No | End date (inclusive), format: yyyy-MM-dd |
Response
2XX Success
Status: 200 — Historical class quotes retrieved successfully
Returns an array of objects with these fields:
| Field | Type | Description |
|---|---|---|
name | string | Share class name |
abbreviation | string | Share class short code |
variation | number | Variation for the day, percent |
price_per_share | number | Net asset value per share |
currency | string | Currency of the class |
date | string (date) | Quote date |
Error Codes
| Status | Description |
|---|---|
400 | Invalid parameters |
401 | Missing or invalid authentication |
403 | Caller lacks the required role |
500 | Unexpected server error |
Code Example
- cURL
- JavaScript
- Python
- Node.js
curl -X GET "https://b2b.allaria.dev/v1/market-data/funds/classes/history?bloomberg=ALDIIIA%20AR%20Equity%2CALCOMES%20AR%20Equity&from=2025-02-25&to=2025-03-28" \
-H "Authorization: Bearer ACCESS_TOKEN"
const response = await fetch('https://b2b.allaria.dev/v1/market-data/funds/classes/history?bloomberg=ALDIIIA%20AR%20Equity%2CALCOMES%20AR%20Equity&from=2025-02-25&to=2025-03-28', {
method: 'GET',
headers: { 'Authorization': 'Bearer ACCESS_TOKEN' },
});
const data = await response.json();
console.log(data);
import requests
response = requests.get(
'https://b2b.allaria.dev/v1/market-data/funds/classes/history?bloomberg=ALDIIIA%20AR%20Equity%2CALCOMES%20AR%20Equity&from=2025-02-25&to=2025-03-28',
headers={ 'Authorization': 'Bearer ACCESS_TOKEN' },
)
print(response.json())
const axios = require('axios');
const response = await axios.get('https://b2b.allaria.dev/v1/market-data/funds/classes/history?bloomberg=ALDIIIA%20AR%20Equity%2CALCOMES%20AR%20Equity&from=2025-02-25&to=2025-03-28', {
headers: { 'Authorization': 'Bearer ACCESS_TOKEN' },
});
console.log(response.data);
2XX Success
[
{
"name": "Allaria Ahorro - Clase A",
"abbreviation": "ALDIIIA",
"variation": 0.35,
"price_per_share": 1345.67,
"currency": "ARS",
"date": "2026-09-20"
}
]