{"uid":"cap_ezLZ74VamrdscFE8psCJ4","slug":"agent-data-tools-revmesh2074-workers-dev-bic-swift-code-validator-iso-65ab7d75","name":"BIC/SWIFT Code Validator (ISO 9362 Structure Check)","description":"Check a BIC (SWIFT code) against the ISO 9362 structure: institution code, a real country code with its name, location code, branch code, whether it is the head office (XXX or 8 characters), a test BIC or a passive participant, and the 11-character form. Computed locally; it checks the format and country, not whether the bank exists. Use before an international transfer or to clean payment data; for account numbers use validate_iban.","url":"https://agent-data-tools.revmesh2074.workers.dev/bic/validate?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","required":["bic"],"properties":{"bic":{"type":"string","description":"BIC / SWIFT code, 8 or 11 characters"}}},"responseSchema":{"type":"object","properties":{"bic":{"type":"string"},"note":{"type":"string"},"bic11":{"type":"string"},"input":{"type":"string"},"valid":{"type":"boolean"},"country":{"type":"string"},"testBic":{"type":"boolean"},"branchCode":{"type":"string"},"headOffice":{"type":"boolean"},"countryCode":{"type":"string"},"locationCode":{"type":"string"},"institutionCode":{"type":"string"},"passiveParticipant":{"type":"boolean"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USD","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_RiR4VOmGtGcsUpzkgSKt4","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":"agent-data-tools.revmesh2074.workers.dev","brandSlug":"agent-data-tools-revmesh2074-workers-dev-x402","brandBaseUrl":"https://agent-data-tools.revmesh2074.workers.dev","brandDocsUrl":null,"whatItDoes":"Validates a BIC/SWIFT code against the ISO 9362 format, extracting institution code, country, location, and branch components while flagging head office, test, and passive participant codes.","exampleAgentPrompt":"Can you check whether the SWIFT code DEUTDEDB is valid and tell me which country and branch it belongs to?","exampleUseCases":[{"title":"Pre-transfer BIC verification","prompt":"Before I send this international wire, can you validate the SWIFT code CHASUS33 and tell me if it's a valid format, what country it's for, and whether it's the head office?"},{"title":"Payment data cleanup pipeline","prompt":"I have a list of BIC codes from our customer database and I need to start with BNPAFRPP — can you validate its structure and extract the institution code, country, and branch so I can clean our payment records?"},{"title":"Detect test or passive BIC codes","prompt":"Can you check the BIC MARKDEF1XXX and let me know if it's a real head office code, a test BIC, or flagged as a passive participant?"}],"resultDescription":"Returns a JSON object with the original input, normalized 11-character BIC, a validity boolean, institution code (4 chars), country code and full country name, location code, branch code, and boolean flags for head office (branch XXX or 8-char BIC), test BIC (location code passive indicator), and passive participant status. If invalid, a note field explains the structural error.","failureModes":["BIC shorter than 8 or longer than 11 characters returns valid=false with a note","Invalid or unrecognized country code (positions 5-6) returns valid=false","Non-alphabetic characters in institution or location code return valid=false","Empty or missing bic parameter causes a 400 error","Does not verify whether the bank actually exists in SWIFT directories — only format and country are checked"],"whenToPreferThis":"Choose this endpoint when you need fast, local format validation of a BIC/SWIFT code before an international payment, or to parse and clean BIC data in bulk. It is ideal for pre-flight checks on payment forms, ETL pipelines cleaning financial records, or any workflow where you need to extract structured components (institution, country, branch) from a BIC. It does not confirm bank existence — if you need live registry lookup, use a separate SWIFT directory service. For IBAN validation, use the companion validate_iban endpoint instead.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T07:21:41.650Z","isFirstParty":false,"canonicalSlug":"agent-data-tools-revmesh2074-workers-dev-bic-swift-code-validator-iso-65ab7d75"}