{"uid":"cap_SbTThVDtsNPRm7hDsR5PR","slug":"iban-aba-routing-swift-bic-card-luhn-validator-d38cfac3","name":"IBAN / ABA Routing / SWIFT BIC / Card Luhn Validator","description":"Validate an IBAN checksum and decode its country and BBAN, validate a US ABA routing number, check SWIFT/BIC format, or Luhn-check a card and detect its network. Auto-detects the kind if not given.","url":"https://api.24klabs.ai/api/iban-routing-validate","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{"type":"string"}}},"responseSchema":{"type":"json","example":{"kind":"iban","valid":true}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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_CXUykKdRUlyuotndwpVES","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates and decodes financial identifiers: IBAN checksum and country/BBAN, US ABA routing numbers, SWIFT/BIC format, and credit/debit card numbers via Luhn check with network detection.","exampleAgentPrompt":"Can you validate this IBAN for me — DE89370400440532013000 — and tell me the country and BBAN it decodes to?","exampleUseCases":[{"title":"Validating an IBAN before a wire transfer","prompt":"Before I initiate this international wire, can you validate the IBAN GB29NWBK60161331926819 and confirm the checksum is correct along with the country and BBAN?"},{"title":"Verifying a US bank routing number for ACH","prompt":"I need to verify the ABA routing number 021000021 — can you check if it's valid and tell me what bank it belongs to?"},{"title":"Checking a credit card number before checkout","prompt":"Can you Luhn-check this card number 4111111111111111 and tell me which card network it belongs to?"}],"resultDescription":"Returns whether the identifier is valid, the detected or confirmed identifier type, and decoded components: for IBAN — country code, BBAN, and checksum validity; for ABA — routing number validity and bank info; for SWIFT/BIC — format validity; for card — Luhn pass/fail and detected card network (Visa, Mastercard, Amex, etc.).","failureModes":["Invalid or malformed identifier returns validation failure with reason","Unrecognizable identifier type when auto-detect cannot determine kind","Checksum mismatch for IBAN returns invalid with checksum error detail","Card number fails Luhn check returns false with no network","Missing required input field returns 400 bad request"],"whenToPreferThis":"Choose this endpoint when you need to validate financial identifiers (IBAN, ABA routing numbers, SWIFT/BIC codes, or card numbers) before processing payments, onboarding users, or storing financial data. It auto-detects the identifier type so you don't need to pre-classify. Prefer it over manual regex checks or separate per-type validators when you want a single unified endpoint for all major financial identifier formats.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T01:05:12.638Z","isFirstParty":false}