{"uid":"cap_tjBzu5UIgWH00mHQJSLQA","slug":"2s-io-iban-validator-28cb4f98","name":"2s.io IBAN Validator","description":"Validate an International Bank Account Number (IBAN) with full ISO 13616 checks: country-specific length and the ISO 7064 mod-97 checksum (not just a regex). Returns {valid, iban (normalized), formatted (4-char groups), countryCode, checkDigits, bban, reason}. Catches transposed digits and wrong-length accounts that a format check misses, and returns the canonical form so a glue/ETL pipeline can validate AND normalize bank details in one deterministic call. ~85 countries. No bank directory lookup — structure + checksum only.","url":"https://2s.io/api/validate/iban","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","queryParams"],"properties":{"type":{"const":"http"},"method":{"const":"GET"},"queryParams":{"required":["iban"],"properties":{"iban":{"type":"string","description":"IBAN to validate (spaces/hyphens allowed; case-insensitive)."}}}}}}},"responseSchema":null,"example":{"request":{"input":{"type":"http","method":"GET","queryParams":{"iban":"GB29 NWBK 6016 1331 9268 19"}}},"response":{"data":{"ok":true,"items":[{"bban":"NWBK60161331926819","iban":"GB29NWBK60161331926819","input":"GB29 NWBK 6016 1331 9268 19","valid":true,"reason":null,"formatted":"GB29 NWBK 6016 1331 9268 19","checkDigits":"29","countryCode":"GB"}],"total":1,"source":{"url":"https://2s.io","license":"No upstream license — computed by 2s.io","provider":"2s.io IBAN validator"}},"meta":{"cost":{"usd":0.001,"tier":0},"caller":"x402","version":null,"endpoint":"validate.iban","settlement":{"txHash":"0x901eb192dfa5701fd430ba6d75e2923b0b6241be722a61d57053b2a39acbeb7a","network":"eip155:8453","success":true}}}},"exampleRequest":{"iban":"GB29 NWBK 6016 1331 9268 19"},"tags":["x402"],"displayCostAmount":"0.001","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.0025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_qVDO92vT9QdTGeaJAqAOM","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.0025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates an IBAN using full ISO 13616 country-length checks and ISO 7064 mod-97 checksum, returning normalized and formatted output with parsed components","exampleAgentPrompt":"Can you validate this IBAN for me — GB29NWBK60161331926819 — and give me the normalized form and parsed components like country code and BBAN?","exampleUseCases":null,"resultDescription":"Returns a JSON object with: valid (boolean), iban (normalized uppercase, spaces removed), formatted (grouped in blocks of 4), countryCode (2-letter ISO), checkDigits, bban (basic bank account number), and reason (error description if invalid)","failureModes":["IBAN fails mod-97 checksum: valid=false with reason explaining checksum mismatch","Wrong length for country: valid=false with reason indicating expected vs actual length","Unsupported country code: may return valid=false if country not in ~85 supported set","Malformed input (non-alphanumeric after stripping spaces/hyphens): valid=false","Missing required query parameter 'iban': HTTP 400 or error response","Payment not attached or insufficient: HTTP 402 Payment Required"],"whenToPreferThis":"Use this endpoint when you need strict ISO 13616 + ISO 7064 mod-97 checksum validation rather than a simple regex format check. Ideal for ETL pipelines, payment processors, or onboarding flows that need both validation and normalization in one call. Prefer over regex-only approaches when catching transposed digits or wrong-length accounts is critical. Not suitable if you also need bank name/BIC directory lookup — this is structure and checksum only.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:48:53.541Z","isFirstParty":false}