{"uid":"cap_lLnaU2rOwEWji97hBJHpT","slug":"bic-swift-code-validator-3e92a6f9","name":"BIC/SWIFT Code Validator","description":"Deterministic BIC/SWIFT check before an international payment: ISO 9362 structure (4-letter bank, 2-letter country, 2-char location, optional 3-char branch) plus a real ISO 3166-1 country-code verification. Query: ?bic=BNPAFRPP or ?bic=DEUTDEFF500. Returns valid, parsed parts and is_test_bic (8th char '0'). Pairs with /v1/validate/iban for country-consistency checks. Pure offline computation, 1y cache.","url":"https://data.greeneris.io/v1/validate/bic","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","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["bic"],"properties":{"bic":{"type":"string","description":"BIC/SWIFT code, 8 or 11 characters"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"bic":"BNPAFRPP","valid":true,"branch":null,"source":"offline ISO 9362 structure check + ISO 3166-1 country table (no SWIFT directory lookup)","country":"FR","location":"PP","bank_code":"BNPA","is_test_bic":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_OO47ewrMLwq5fXSSUVqpD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a BIC/SWIFT code by checking its structure against ISO 9362 and verifying the country code against ISO 3166-1","exampleAgentPrompt":"Is the BIC code BNPAFRPPXXX valid, and can you tell me which country and bank it belongs to?","exampleUseCases":[{"title":"Verify supplier BIC before wire transfer","prompt":"I need to send a payment to our German supplier tomorrow. Can you check if their BIC code DEUTDEFF500 is valid before I proceed with the transfer?"},{"title":"Parse SWIFT codes for invoice validation","prompt":"We just received an invoice from a French partner with BIC BNPAFRPP. Is this a real SWIFT code, and can you tell me what bank and country it represents?"},{"title":"Bulk validate bank codes for compliance","prompt":"I have a list of BIC codes from our international vendor database. Can you quickly verify each one to make sure they all have valid SWIFT structures before we update our payment system?"}],"resultDescription":"Returns a JSON object with: whether the BIC is valid (boolean), the parsed bank code, country code, location code, branch code (if 11-char), whether it is a test BIC, and the data source description (offline ISO structure check — no live SWIFT directory lookup).","failureModes":["Missing 'bic' query parameter returns a 400 error","BIC shorter than 8 or longer than 11 characters returns valid:false","Unknown or malformed country code portion returns valid:false","Payment not made returns HTTP 402 with machine-readable USDC quote","Network timeout or service unavailability returns 5xx"],"whenToPreferThis":"Use this endpoint when you need a fast, cheap ($0.001) structural validation of a BIC/SWIFT code before initiating a payment or invoice. Note: this performs offline ISO 9362 structure and ISO 3166-1 country-code checks only — it does not confirm the BIC is registered in the live SWIFT directory. Prefer this for format validation, not for confirming a bank is actively SWIFT-connected.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T19:01:55.904Z","isFirstParty":false}