{"uid":"cap_q2nuoxzV-T9we0anlBU3N","slug":"bic-swift-code-parser-and-validator-d465cd8e","name":"BIC/SWIFT Code Parser and Validator","description":"Parse a SWIFT BIC (ISO 9362): bank code, ISO 3166 country, location, branch; checks format and country.","url":"https://bank-validators.x402tookit.com/bic-parse?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","required":["bic"],"properties":{"bic":{"type":"string","description":"BIC/SWIFT code, 8 or 11 characters, e.g. DEUTDEFF"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","properties":{"asOf":{"type":["null","string"]},"bank":{"type":["null","string"]},"bic8":{"type":["null","string"]},"bic11":{"type":["null","string"]},"branch":{"type":["null","string"]},"length":{"type":["null","number"]},"source":{"type":["null","string"]},"country":{"type":["null","string"]},"reasons":{"type":["array","null"],"items":{"type":"string"}},"summary":{"type":["null","string"]},"verdict":{"type":["null","string"]},"degraded":{"type":["boolean","null"]},"location":{"type":["null","string"]},"isTestBic":{"type":["boolean","null"]},"disclaimer":{"type":["null","string"]},"normalized":{"type":["null","string"]},"notChecked":{"type":["array","null"],"items":{"type":"string"}},"isHeadOffice":{"type":["boolean","null"]},"locationNote":{},"countryIsUserAssigned":{"type":["boolean","null"]}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_cmtEm5QXCCMb6F_JreL48","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses a SWIFT BIC (ISO 9362) into its components (bank code, country, location, branch) and validates its format and country code.","exampleAgentPrompt":"Can you parse the SWIFT BIC code DEUTDEFF and tell me which bank, country, and branch it refers to, and whether the format is valid?","exampleUseCases":[{"title":"Validating BIC before international wire","prompt":"Before I send this international wire transfer, can you check whether the SWIFT code CHASUS33 is valid and tell me what bank and country it corresponds to?"},{"title":"Enriching bank record with BIC details","prompt":"I have a SWIFT code BNPAFRPPXXX in our database — can you parse it out into its bank code, country, location, and branch so I can store those fields separately?"},{"title":"Debugging malformed BIC in payment system","prompt":"Our payment system is rejecting the BIC HBOSgb2L — can you check if this SWIFT code is correctly formatted and explain what's wrong with it if it fails validation?"}],"resultDescription":"Returns the parsed components of the BIC (bank code, ISO 3166 country, location, branch), normalized BIC8 and BIC11 forms, a validation verdict with reasons, flags for whether it is a head office or test BIC, and any disclaimer or degraded-service notes.","failureModes":["BIC not 8 or 11 characters returns format validation failure","Invalid country code in BIC returns country check failure","Unrecognized bank code may still pass format checks but lack registry data","Malformed input (special characters, spaces) returns parse error","Service degraded flag set if upstream registry unavailable"],"whenToPreferThis":"Use this endpoint when you need to parse and structurally validate a SWIFT/BIC code into its ISO 9362 components, verify the country code is valid, or determine if a BIC represents a head office or branch. Prefer this over IBAN or ABA endpoints when the identifier is specifically a BIC/SWIFT code rather than an account number or US routing number.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-02T18:32:58.075Z","isFirstParty":false,"canonicalSlug":"bic-swift-code-parser-and-validator-d465cd8e"}