Validation
BIC / SWIFT parse API
Validates an ISO 9362 BIC/SWIFT format (8 or 11 chars) and parses bank, country, location, branch, plus test-BIC and primary-office flags. Answers 'Is this SWIFT/BIC well-formed?', 'Which bank/country/branch is this?'.
Price$0.02per request
MethodPOST
Route/v1/validate/bic
StatusLive
MIME typeapplication/json
Rate limit120/minute
Cache0s public
bicswiftiso-9362bank-codevalidatebankingswift-codeformatparse
API URL
Integration docshttps://x402.hexl.dev/v1/validate/bicExample request
{
"bic": "BOFAUS3NXXX"
}Example response
{
"valid": true,
"reason": "Valid ISO 9362 BIC for United States, branch XXX.",
"normalized": "BOFAUS3NXXX",
"bankCode": "BOFA",
"countryCode": "US",
"countryName": "United States",
"locationCode": "3N",
"branchCode": "XXX",
"isTestBic": false,
"isPrimaryOffice": true
}Input schema
{
"type": "object",
"required": [
"bic"
],
"properties": {
"bic": {
"type": "string",
"description": "8- or 11-character BIC / SWIFT code.",
"examples": [
"BOFAUS3NXXX"
]
}
}
}Output schema
{
"type": "object",
"additionalProperties": true
}