{"uid":"cap_c-kunUR5AYErwORpDeQ-T","slug":"toolrail-iban-validator-84a98bb6","name":"Toolrail IBAN Validator","description":"Validate an IBAN (international bank account number): ISO 13616 mod-97 check digits and per-country length registry for 88 countries. Returns formatted IBAN and BBAN. Use when someone enters a bank account (IBAN) and you must catch typos before a transfer.","url":"https://toolrail.dev/validate/iban?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{"iban":{"type":"string"}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"iban":{"type":"string"},"valid":{"type":"boolean"},"country":{"type":"string"},"formatted":{"type":"string"},"check_digits":{"type":"string"}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_ZosY_7CBpbK0MHDw65mfu","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates an IBAN using ISO 13616 mod-97 check digits and per-country length registry for 88 countries, returning formatted IBAN and BBAN","exampleAgentPrompt":"Before we send the wire, can you validate this IBAN for me: DE89370400440532013000 — check if it's correct and give me the properly formatted version?","exampleUseCases":[{"title":"Pre-transfer IBAN typo check","prompt":"I'm about to send €2,000 to this account number: GB29NWBK60161331926819 — can you validate the IBAN before I confirm the transfer so I don't lose the money to a typo?"},{"title":"Customer onboarding bank verification","prompt":"A customer just entered their bank account as FR7630006000011234567890189 during signup — validate that IBAN and tell me if it's legitimate so I can approve their payout setup."},{"title":"Batch invoice payment prep","prompt":"We have a supplier IBAN of NL91ABNA0417164300 — run a quick validation on it and confirm the country and formatted version before we add it to our payment run."}],"resultDescription":"Returns a JSON object with: 'valid' (boolean indicating if the IBAN passes mod-97 and country-length checks), 'iban' (the raw input), 'formatted' (space-separated IBAN groups e.g. 'DE89 3704 0044 0532 0130 00'), 'bban' (the Basic Bank Account Number portion), 'country' (ISO country code), and 'check_digits' (the two-digit mod-97 check digits).","failureModes":["Invalid IBAN fails mod-97 check — returns valid:false with no formatted output","Country code not in the 88-country registry — may return invalid even if structurally plausible","Malformed input (non-alphanumeric characters, empty string) — likely returns valid:false or an error response","IBAN with correct length but wrong check digits — caught and returns valid:false","Network timeout or service unavailability — returns HTTP 5xx error"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, instant IBAN check before initiating a financial transfer or onboarding a bank account — especially useful for catching typos. It covers 88 countries and applies both the ISO 13616 mod-97 algorithm and per-country length validation, making it more thorough than a simple regex check. Prefer it over general-purpose validation libraries when you need a hosted, pay-per-call service that also returns a clean formatted IBAN and BBAN extraction without deploying your own code.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-20T15:59:59.302Z","isFirstParty":false,"canonicalSlug":"toolrail-iban-validator-84a98bb6"}