Get BCRA indicators
Time series for key BCRA indicators (exchange rates, interest rates, CER/UVA), optionally filtered by date range and variable IDs. Pass latest=true for the latest values with variations, or metadata=true for the indicator metadata (id, name, description). Call /bcra/variables to see available variable IDs.
GET
/v1/market-data/bcra/indicatorsRequest
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 |
|---|---|---|---|
from | string | No | Start date in yyyy-MM-dd format (optional, defaults to earliest available) |
latest | boolean | No | Return the latest values with variations instead of the series. Default: false. |
metadata | boolean | No | Return indicator metadata (id, name, description). Default: false. |
to | string | No | End date in yyyy-MM-dd format (optional, defaults to today) |
variables | array of integer | No | Comma-separated list of variable IDs to filter (optional, returns all if omitted) |
Response
2XX Success
Status: 200 — Indicator time series, or (latest=true) latest values with variations, or (metadata=true) indicator metadata
Returns an object with these fields:
| Field | Type | Description |
|---|---|---|
id | integer | BCRA variable ID. |
name | string | Indicator name. |
description | string | Indicator description. |
data | object | The observations envelope. |
retrieval_date | string (date-time) | When the series was retrieved. |
data fields
| Field | Type | Description |
|---|---|---|
status | integer | Upstream status code. |
metadata | object | Paging metadata. |
results | array of object | One entry per requested variable. |
data.metadata fields
| Field | Type | Description |
|---|---|---|
resultset | object | Result set paging counters. |
data.metadata.resultset fields
| Field | Type | Description |
|---|---|---|
count | integer | Total number of results. |
offset | integer | Offset of the first returned result. |
limit | integer | Maximum number of results returned. |
data.results fields
| Field | Type | Description |
|---|---|---|
idVariable | integer | BCRA variable ID. |
detalle | array of object | Observations for the variable. |
data.results.detalle fields
| Field | Type | Description |
|---|---|---|
fecha | string (date) | Observation date. |
valor | number | Observed value. |
Error Codes
| Status | Description |
|---|---|
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/bcra/indicators?from=2024-01-01&latest=false&metadata=false&to=2024-12-31&variables=1%2C4%2C30" \
-H "Authorization: Bearer ACCESS_TOKEN"
const response = await fetch('https://b2b.allaria.dev/v1/market-data/bcra/indicators?from=2024-01-01&latest=false&metadata=false&to=2024-12-31&variables=1%2C4%2C30', {
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/bcra/indicators?from=2024-01-01&latest=false&metadata=false&to=2024-12-31&variables=1%2C4%2C30',
headers={ 'Authorization': 'Bearer ACCESS_TOKEN' },
)
print(response.json())
const axios = require('axios');
const response = await axios.get('https://b2b.allaria.dev/v1/market-data/bcra/indicators?from=2024-01-01&latest=false&metadata=false&to=2024-12-31&variables=1%2C4%2C30', {
headers: { 'Authorization': 'Bearer ACCESS_TOKEN' },
});
console.log(response.data);
2XX Success
{
"id": 4,
"name": "Tipo de cambio minorista",
"description": "Tipo de cambio minorista (comunicacion A 3500)",
"data": {
"status": 200,
"metadata": {
"resultset": {
"count": 365,
"offset": 0,
"limit": 1000
}
},
"results": [
{
"idVariable": 4,
"detalle": [
{}
]
}
]
},
"retrieval_date": "2026-09-22T09:00:00"
}