Financiar v1 / Banci
One credit institution
The details of a credit institution by the bank code inside the IBAN — the four letters after the check digits, the same cod_banca returned by /validare/iban. If you have a BIC, the first four characters are the code.
GET
https://oneapi.ro/api/financiar/v1/banci/{cod}
Path parameters
NameTypeDescriptionExample
codrequired
string
Credit institution code from the NBR code list (e.g.
CRCO).
Query parameters
This route accepts no query parameters.
How it behaves
- Details of a credit institution by the IBAN bank code — the four letters after the check digits.
- It is the same code
/validare/ibanreturns incod_banca, so the two routes chain directly: validate an IBAN, get the code, request the details. If you hold a BIC, its first four characters are the code. - The 404 has two causes, told apart by the code in the body:
negasit= the code does not appear in the register;nu_e_institutie_de_credit= the code belongs to an entity that has a BIC but is not a bank, and the response says which, as a debugging aid. The second case almost certainly means a mistyped IBAN.
What it is for
- Showing the bank name next to an IBAN in a payment form.
- Validating an IBAN beyond the check digits: does the bank actually exist?
- Routing a payment or picking the right channel based on the issuing institution.
Response structure
FieldTypeDescription
data.cod_iban
string
The four letters in positions 5-8 of a Romanian IBAN — the key the bank is looked up by.
data.denumire
string
The name as published in the NBR register of credit institutions.
data.bic
string
The BIC/SWIFT code, 11 characters.
data.cui
string
The bank's tax ID.
null where the register does not publish it.
data.lei
string
The LEI code, from GLEIF.
null where the bank has none.
data.stare
string
activa or radiata, per the NBR register.
meta.sursa
string
The official source the data comes from, with its licence where one is required.
Response examples
GEThttps://oneapi.ro/api/financiar/v1/banci/CRCO
{
"data": {
"cod_iban": "CRCO",
"denumire": "BANCA CENTRALA COOPERATISTA CREDITCOOP",
"bic": "CRCOROBUXXX",
"cui": "361323",
"lei": "3157006K4C7PJT790450",
"stare": "activa"
},
"meta": {
"sursa": "GLEIF + registrul BNR al instituţiilor de credit."
}
}
GEThttps://oneapi.ro/api/financiar/v1/banci/WBAN
{
"data": {
"cod_iban": "WBAN",
"denumire": "BANCA COMERCIALA INTESA SANPAOLO ROMANIA SA",
"bic": "WBANRO22XXX",
"cui": "8145422",
"lei": "549300CGLRBLXD8PLZ18",
"stare": "activa"
},
"meta": {
"sursa": "GLEIF + registrul BNR al instituţiilor de credit."
}
}
GEThttps://oneapi.ro/api/financiar/v1/banci/RNCB
{
"data": {
"cod_iban": "RNCB",
"denumire": "BANCA COMERCIALA ROMANA S.A.",
"bic": "RNCBROBUXXX",
"cui": "361757",
"lei": "549300ORLU6LN5YD8X90",
"stare": "activa"
},
"meta": {
"sursa": "GLEIF + registrul BNR al instituţiilor de credit."
}
}
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 | negasit or nu_e_institutie_de_credit. |
| 422 | validare | The code is not exactly four letters. |
| 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": "The code is not exactly four letters.",
"detalii": {
"cod": [
"The value sent does not satisfy the parameter rule."
]
}
}
}