Financiar v1 / Indici
ROBOR for one maturity
The quotation of one maturity on the requested day — ?data= is required. Days with no publication have valoare empty, and the last preceding quote comes back in ultima.
GET
https://oneapi.ro/api/financiar/v1/robor/{maturitate}
Path parameters
NameTypeDescriptionExample
maturitaterequired
string
Quotation maturity (
ON, TN, 1W, 1M, 3M, 6M, 9M, 12M).
Query parameters
NameTypeDescriptionAccepted values
datarequired
string
Required: the day,
YYYY-MM-DD (?data=2020-03-16). It cannot be in the future.
e.g. 2024-06-14e.g. 2020-03-16e.g. 2019-06-14
How it behaves
?data=is required, and the response always has the same shape:data(the day you asked for),valoare(filled ONLY if we have that exact day) andultima(the last day published on or before it, with its value).valoarestays empty DELIBERATELY when the requested day has no publication — a figure from another day sits separately, underultima, so it cannot be used by mistake in a calculation. Missing data is no longer an error: the response is 200, and comparingdatawithultima.datatells you everything.- The quote of a single maturity, on the requested day (
?data=YYYY-MM-DD, required). - Days without publication have
valoareempty, and the last preceding quote comes back inultima. No age ceiling: on a discontinued maturity,ultima.datashows exactly where the series ended. - A misspelled maturity (
5M) returns 422 with the list of valid ones, not an empty 404. - A discontinued maturity is no longer an error but a fact about the series: for
9M(stopped in November 2019)ultimashows where it ended andmeta.opritasays why it no longer grows. With adatafrom the period it was published,9Mreturns the real quote invaloare. A code that does not exist (5M) stays 422, with the valid ones listed.
What it is for
- Computing a floating rate tied to ROBOR on a given day.
- Checking the rate used in a statement or a repayment schedule.
- An indicator shown in a financial dashboard.
- Reconstructing the rate used at a past due date.
- Checking the interest a bank applied on a given date.
Response structure
FieldTypeDescription
data.data
string
The day you asked for, exactly as you sent it.
data.valoare.maturitate
string
data.valoare.denumire
string
The name, exactly as the source publishes it.
data.valoare.unitate
string
Unit of measure of the values. Read it before plotting or summing them.
data.valoare.valoare
string
The quote for the requested day:
{maturitate, denumire, unitate, valoare}. null if that day has no publication.
data.ultima
object
The last day published on or before
data, with its quote: {data, valoare}. On a discontinued maturity (9M) this shows exactly where the series ended.
data.ultima.data
string
data.ultima.valoare.maturitate
string
The maturity, as the NBR names it.
data.ultima.valoare.denumire
string
The name, exactly as the source publishes it.
data.ultima.valoare.unitate
string
Unit of measure of the values. Read it before plotting or summing them.
data.ultima.valoare.valoare
string
The quote for the requested day:
{maturitate, denumire, unitate, valoare}. null if that day has no publication.
meta.sursa
string
The official source the data comes from, with its licence where one is required.
meta.nota
string
A note on how to read the response — a pitfall, a convention or a limit of the source.
Response examples
GEThttps://oneapi.ro/api/financiar/v1/robor/3M?data=2024-06-14
{
"data": {
"data": "2024-06-14",
"valoare": {
"maturitate": "3M",
"denumire": "trei luni",
"unitate": "procent_pe_an",
"valoare": "6.02"
},
"ultima": {
"data": "2024-06-14",
"valoare": {
"maturitate": "3M",
"denumire": "trei luni",
"unitate": "procent_pe_an",
"valoare": "6.02"
}
}
},
"meta": {
"sursa": "Banca Naţională a României — baza de date interactivă.",
"nota": "Valoare publicată în ziua cerută."
}
}
GEThttps://oneapi.ro/api/financiar/v1/robor/12M?data=2024-06-14
{
"data": {
"data": "2024-06-14",
"valoare": {
"maturitate": "12M",
"denumire": "douăsprezece luni",
"unitate": "procent_pe_an",
"valoare": "6.05"
},
"ultima": {
"data": "2024-06-14",
"valoare": {
"maturitate": "12M",
"denumire": "douăsprezece luni",
"unitate": "procent_pe_an",
"valoare": "6.05"
}
}
},
"meta": {
"sursa": "Banca Naţională a României — baza de date interactivă.",
"nota": "Valoare publicată în ziua cerută."
}
}
GEThttps://oneapi.ro/api/financiar/v1/robor/3M?data=2020-03-16
{
"data": {
"data": "2020-03-16",
"valoare": {
"maturitate": "3M",
"denumire": "trei luni",
"unitate": "procent_pe_an",
"valoare": "3.04"
},
"ultima": {
"data": "2020-03-16",
"valoare": {
"maturitate": "3M",
"denumire": "trei luni",
"unitate": "procent_pe_an",
"valoare": "3.04"
}
}
},
"meta": {
"sursa": "Banca Naţională a României — baza de date interactivă.",
"nota": "Valoare publicată în ziua cerută."
}
}
GEThttps://oneapi.ro/api/financiar/v1/robor/9M?data=2019-06-14
{
"data": {
"data": "2019-06-14",
"valoare": {
"maturitate": "9M",
"denumire": "nouă luni",
"unitate": "procent_pe_an",
"valoare": "3.49"
},
"ultima": {
"data": "2019-06-14",
"valoare": {
"maturitate": "9M",
"denumire": "nouă luni",
"unitate": "procent_pe_an",
"valoare": "3.49"
}
}
},
"meta": {
"sursa": "Banca Naţională a României — baza de date interactivă.",
"nota": "Valoare publicată în ziua cerută.",
"oprita": "Maturitatea [9M] nu se mai publică; ultima cotaţie e din 2019-11-08."
}
}
Error codes
| Code | Slug | When it occurs |
|---|---|---|
| 401 | neautentificat | Token missing, invalid, expired or revoked. |
| 403 | feature_indisponibil | The current plan does not include the feature the route depends on. |
| 404 | negasit | Nothing exists for the maturitate in the path. |
| 422 | validare | A non-existent maturity (the response lists them), or a malformed or future date. |
| 429 | cota_depasita | The plan's monthly quota has been exceeded (see Retry-After). |
All errors share the same shape. eroare.cod is stable and is the value you should branch on in code — not the text in mesaj, which may change.
{
"eroare": {
"cod": "validare",
"mesaj": "A non-existent maturity (the response lists them), or a malformed or future date.",
"detalii": {
"maturitate": [
"The value sent does not satisfy the parameter rule."
]
}
}
}