Use when an agent must check an IBAN before paying or saving it
Use when an agent must check an IBAN before paying or saving it. Offline: characters, length, country account pattern, check digits (89 country codes, list at GET /; territories like AX, GP, GG unsupported). valid:false with status "unsupported" = not checkable, not necessarily invalid. Prefer POST {"iban"}: URLs may reach infra logs; the app does not store the IBAN. No charge: 400 bad input, 405 other methods, 429; no input and no payment gets a 402 quote. 502 if payment is down. No re-sends.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
POST https://agent-utils.threads-cron.workers.dev/v1/iban/validate
| Category | Commerce and shopping |
|---|---|
| Provider host | agent-utils.threads-cron.workers.dev |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"body": {
"iban": "GB82WEST12345698765432"
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"body": {
"additionalProperties": false,
"properties": {
"iban": {
"description": "The IBAN to check (15-34 characters after removing spaces; shorter or longer is rejected with 400 before payment, no charge). Spaces and lowercase are accepted (e.g. GB82 WEST 1234 5698 7654 32). Send it as JSON body {\"iban\": \"...\"} with POST (recommended) or as ?iban= with GET.",
"maxLength": 100,
"minLength": 1,
"type": "string"
}
},
"required": [
"iban"
],
"type": "object"
},
"bodyType": {
"enum": [
"json",
"form-data",
"text"
],
"type": "string"
},
"method": {
"enum": [
"POST"
],
"type": "string"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method",
"bodyType",
"body"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"bban": {
"description": "Basic Bank Account Number (IBAN without country code and check digits)",
"type": [
"string",
"null"
]
},
"checksumOk": {
"description": "Check digits are 02-98 and equal 98 minus the mod 97 remainder",
"type": "boolean"
},
"country": {
"description": "2-letter country code from the IBAN prefix",
"type": [
"string",
"null"
]
},
"errors": {
"description": "Human-readable reasons when valid is false",
"items": {
"type": "string"
},
"type": "array"
},
"expectedLength": {
"description": "Expected total length for the country",
"type": [
"integer",
"null"
]
},
"formatOk": {
"description": "Account part (BBAN) letters/digits pattern matches the country format",
"type": "boolean"
},
"formatted": {
"description": "Normalized IBAN in groups of 4 characters",
"type": [
"string",
"null"
]
},
"lengthOk": {
"description": "Length matches the country's IBAN length",
"type": "boolean"
},
"status": {
"description": "valid = all checks passed; invalid = a definite error; unsupported = every country-independent check passed (characters, length range, check digits) but the country is not in the supported list, so validity could not be determined",
"enum": [
"valid",
"invalid",
"unsupported"
],
"type": "string"
},
"supported": {
"description": "The country is in the supported IBAN country list",
"type": "boolean"
},
"valid": {
"description": "true only when country, length, account-part pattern and check digits are all OK",
"type": "boolean"
}
},
"required": [
"valid",
"status",
"supported",
"country",
"lengthOk",
"expectedLength",
"formatOk",
"checksumOk",
"formatted",
"bban",
"errors"
],
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}