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:
| Country | Country Code |
|---|---|
| Andorra | AD |
| Austria | AT |
| Belgium | BE |
| Bosnia and Herzegovina | BA |
| Bulgaria | BG |
| Costa Rica | CR |
| Croatia | HR |
| Czech Republic | CZ |
| Cyprus | CY |
| Denmark | DK |
| Estonia | EE |
| Finland | FI |
| France | FR |
| Germany | DE |
| Greece | GR |
| Hungary | HU |
| Ireland | IE |
| Iceland | IS |
| Italy | IT |
| Israel | IL |
| Kazakhstan | KZ |
| Latvia | LV |
| Lithuania | LT |
| Luxembourg | LU |
| Moldova | MD |
| Monaco | MC |
| Netherlands | NL |
| Norway | NO |
| Poland | PL |
| Portugal | PT |
| Romania | RO |
| Saudi Arabia | SA |
| Serbia | RS |
| Slovakia | SK |
| Slovenia | SI |
| South Africa | ZA |
| Spain | ES |
| Sweden | SE |
| Switzerland | CH |
| Türkiye | TR |
| Ukraine | UA |
| United Arab Emirates | AE |
| United Kingdom | GB |
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
Response parameters
The API returns its response in a simple, lightweight JSON format.
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 Code | Type | Details |
|---|---|---|
| 200 | OK | The request was successful. |
| 400 | Bad Request | The request was invalid or cannot be otherwise served. |
| 401 | Unauthorized | Authentication credentials were missing or incorrect. |
| 422 | Quota reached | The request cannot be served due to the application's rate limit having been exhausted for the resource. |
| 404 | Not Found | The requested resource could not be found. |
| 429 | Too Many Requests | The request cannot be served due to the application's rate limit having been exhausted for the resource. |
| 500 | Internal Server Error | Something went wrong on the server. |
| 503 | Service Unavailable | The service is temporarily unavailable. |