IBAN Validation API

IBAN Validation API

Validate and check IBAN codes

Introduction

AnyApi’s IBAN Validation API is an interface that allows you to validate and extract information from International Bank Account Numbers (IBANs). Iban validator follows the ISO 9362, which defines a standardized format of Business Identifier Codes BICs or SWIFT codes approved by the International Organization for Standardization (ISO).

Features

  • BBAN Code Validation: IBAN validator API validates the Basic Bank Account Number (BBAN) code within the IBAN.
  • Country Code Validation: Iban API verifies the country code associated with the IBAN.
  • Electronic IBAN Format: The API provides the electronic format of the IBAN without spaces or special characters.
  • BIC Extraction: Iban API can extract BIC details from the IBAN, including the bank code, branch code, country code, location code, and whether the BIC is a test BIC.

Getting Started

To access the validate iban and Forex rates API , you need to obtain an API key from AnyAPI.io. The API key is used for authentication and should be included in the request URL as a query parameter.

Let’s Try Sign In.

Supported Countries List

Below is the list of countries supported by our IBAN endpoints:

CountryCountry Code
AndorraAD
AustriaAT
BelgiumBE
Bosnia and HerzegovinaBA
BulgariaBG
Costa RicaCR
CroatiaHR
Czech RepublicCZ
CyprusCY
DenmarkDK
EstoniaEE
FinlandFI
FranceFR
GermanyDE
GreeceGR
HungaryHU
IrelandIE
IcelandIS
ItalyIT
IsraelIL
KazakhstanKZ
LatviaLV
LithuaniaLT
LuxembourgLU
MoldovaMD
MonacoMC
NetherlandsNL
NorwayNO
PolandPL
PortugalPT
RomaniaRO
Saudi ArabiaSA
SerbiaRS
SlovakiaSK
SloveniaSI
South AfricaZA
SpainES
SwedenSE
SwitzerlandCH
TürkiyeTR
UkraineUA
United Arab EmiratesAE
United KingdomGB

IBAN Validation endpoint

Send a GET request to the following URL to IBAN Validation

curl --request GET \
  --url 'https://anyapi.io/api/v1/iban?iban=AT781400039828399259&apiKey=YOUR_API_KEY'
{
  "valid": true,
  "iban": "AT78 1400 0398 2839 9259",
  "countryCode": "AT",
  "bban": "1400039828399259",
  "electronicFormat": "AT781400039828399259",
  "bic": {
    "bic": "BAWAATWWXXX",
    "bankCode": "BAWA",
    "nationalBankCode": "14000",
    "countryCode": "AT",
    "locationCode": "WW",
    "branchCode": "XXX",
    "valid": true,
    "name": "BAWAG P.S.K. ",
    "shortName": "BAWAG P.S.K. "
  }
}

Request parameters

Use the parameters listed below to customize your request. Mandatory parameters are indicated

ibanstringRequired
The IBAN to validate.That the API will accept white spaces, so BE71 0961 2345 6769 is considered as valid as BE71096123456769.
apiKeystringRequired
Your unique API key, which is required to authenticate your requests.

Response parameters

The API returns its response in a simple, lightweight JSON format.

validboolean
Is true if the submitted VAT number is valid.
ibanstring
The iban number to validate.
countryCodestring
The two letter ISO 3166-1 alpha-2 code of the country associated with the VAT number.
bbanstring
The Basic Bank Account Number (BBAN) is a code that uniquely identifies an individual account at a specific financial institution in a country.
electronicFormatstring
Electronically recognizable ISO standard format.
bic.bicstring
BIC code
bic.bankCodestring
A bank code is a code assigned by a central bank.
bic.nationalBankCodestring
National bank code
bic.countryCodestring
Country code
bic.locationCodestring
Location Code is a way of encoding location into a form that is easier to use than showing coordinates in the usual form of latitude and longitude.
bic.branchCodestring
The branch code is a set of numbers or letters that identifies a specific branch of a bank within the banking institution's network.
bic.validboolean
Is true if the submitted BIC code is valid.
bic.nameboolean
The name of the iban bank that is entered.
bic.shortNameboolean
The short name of the iban bank that is entered.

Response and error codes

Whenever you make a request that fails for some reason, an error is returned also in the JSON format. The errors include an error code and description, which you can find in detail below.

Status CodeTypeDetails
200OKThe request was successful.
400Bad RequestThe request was invalid or cannot be otherwise served.
401UnauthorizedAuthentication credentials were missing or incorrect.
422Quota reachedThe request cannot be served due to the application's rate limit having been exhausted for the resource.
404Not FoundThe requested resource could not be found.
429Too Many RequestsThe request cannot be served due to the application's rate limit having been exhausted for the resource.
500Internal Server ErrorSomething went wrong on the server.
503Service UnavailableThe service is temporarily unavailable.