oneapi
Sign in
Financiar v1 / Indici

Daily IRCC

The daily series of the index, over an interval. It is informative: credit agreements are not indexed on the daily value but on the quarterly average — for the rate that actually applies, see /ircc.

GET
https://oneapi.ro/api/financiar/v1/ircc/zilnic

Query parameters

NameTypeDescriptionAccepted values
de_larequired string Required, YYYY-MM-DD. e.g. 2024-06-15e.g. 2024-01-01
pana_laoptional string | null Optional, defaults to the current day. e.g. 2024-06-15e.g. 2024-06-30

How it behaves

  • The daily series of the index, over an interval.
  • Loan contracts are NOT indexed on the daily value, but on the quarterly average. For the rate that actually applies, use /ircc. This route is separate precisely so the two are not confused: in a single response, someone would inevitably take the wrong figure.
  • meta.medie_interval is the average over the requested interval. It coincides with the applicable rate only if the interval is exactly one calendar quarter — otherwise it is just an average, not a rate.
  • The interval is capped at 366 days, the same ceiling as the exchange-rate series, for the same reason: a declared boundary, not a performance limit.

What it is for

  • Charting the daily evolution of the index.
  • Recomputing a quarterly average step by step.

Response structure

FieldTypeDescription
data.de_la string The start of the interval, as you sent it.
data.pana_la string The end of the interval, as you sent it.
data.valori[].data string The day of the observation.
data.valori[].valoare string The day's index, in percent per year. ⚠️ Indicative: the rate applied to a loan is the QUARTERLY average, from /financiar/v1/ircc.
meta.valori integer The daily observations in the interval: {data, valoare}. An EMPTY array when the interval has no publications, not null.
meta.medie_interval string | null
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/ircc/zilnic?de_la=2024-06-15&pana_la=2024-06-15
{
    "data": {
        "de_la": "2024-06-15",
        "pana_la": "2024-06-15",
        "valori": []
    },
    "meta": {
        "valori": 0,
        "medie_interval": null,
        "sursa": "Banca Naţională a României — baza de date interactivă.",
        "nota": "Valoare informativă. Rata care se aplică unui credit e media trimestrială — vezi /financiar/v1/ircc. `medie_interval` e media pe intervalul cerut, care coincide cu rata aplicabilă doar dacă intervalul e exact un trimestru calendaristic."
    }
}

Error codes

CodeSlugWhen it occurs
401neautentificatToken missing, invalid, expired or revoked.
403feature_indisponibilThe current plan does not include the feature the route depends on.
422validareinterval_prea_lung (over 366 days), de_la missing or in the future, pana_la before de_la.
429cota_depasitaThe 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": "interval_prea_lung (over 366 days), de_la missing or in the future, pana_la before de_la.",
        "detalii": {
            "de_la": [
                "The value sent does not satisfy the parameter rule."
            ]
        }
    }
}