Zum Hauptinhalt springen

IBAN & BIC Validation

Validate International Bank Account Numbers (IBAN) and Bank Identifier Codes (BIC/SWIFT). Returns structured information about the bank account including country, bank code, branch, and associated BIC.

Endpoints

GET /api/v1/iban/{iban}
GET /api/v1/bic/{bic}

Authentication

All requests require an API key passed via the X-Api-Key header.

IBAN Validation

Parameters

ParameterTypeInRequiredDescription
ibanstringpathYesIBAN to validate

Response

{
"iban": "DE89370400440532013000",
"valid": true,
"countryCode": "DE",
"bankCode": "37040044",
"branchCode": null,
"checkDigit": "89",
"accountNumber": "0532013000",
"bic": null,
"bicValid": false
}

Response Fields

FieldTypeDescription
ibanstringThe normalized IBAN
validbooleanWhether the IBAN passes structural and checksum validation
countryCodestringISO 3166-1 alpha-2 country code
bankCodestringNational bank code extracted from the IBAN
branchCodestringBranch code (if applicable for the country)
checkDigitstringTwo-digit check number (positions 3-4 of the IBAN)
accountNumberstringAccount number portion of the IBAN
bicstringAssociated BIC/SWIFT code (if resolvable)
bicValidbooleanWhether the associated BIC is valid

Example

curl -H "X-Api-Key: YOUR_API_KEY" \
"https://api.iqxlookup.neivi.es/api/v1/iban/DE89370400440532013000"

BIC Validation

Parameters

ParameterTypeInRequiredDescription
bicstringpathYesBIC/SWIFT code to validate

Response

{
"bic": "COBADEFFXXX",
"valid": true,
"bankCode": "COBA",
"countryCode": "DE",
"locationCode": "FF",
"branchCode": "XXX"
}

Response Fields

FieldTypeDescription
bicstringThe normalized BIC/SWIFT code
validbooleanWhether the BIC passes structural validation
bankCodestringInstitution code (first 4 characters)
countryCodestringISO 3166-1 alpha-2 country code (characters 5-6)
locationCodestringLocation code (characters 7-8)
branchCodestringBranch code (characters 9-11, or "XXX" for head office)

Example

curl -H "X-Api-Key: YOUR_API_KEY" \
"https://api.iqxlookup.neivi.es/api/v1/bic/COBADEFFXXX"

Notes

  • IBAN validation includes both structural checks and ISO 7064 MOD 97-10 checksum verification
  • BIC codes can be 8 or 11 characters; 8-character codes are implicitly head office (XXX branch)
  • The bic field in the IBAN response is resolved from the bank code when a mapping is available