{"uid":"cap_pi241-XLa4Gh-OhnySNa7","slug":"sitecheck-swift-bic-code-lookup-2d5ea285","name":"SiteCheck SWIFT/BIC Code Lookup","description":"Checks a SWIFT/BIC code (8 or 11 characters): the format, bank code, country and its name, location, test and passive flags, branch, and the institution's LEI, legal name and address from GLEIF when a record carries that BIC. Without a GLEIF match the answer still gives the format check and institution null, with the reason. Pure code plus one GLEIF call, cached a day.","url":"https://api.sitecheck-api.workers.dev/api/swift?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":"A SWIFT/BIC code, 8 or 11 characters, e.g. DEUTDEFF or DEUTDEFF500"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"bic":"DEUTDEFF","bank":"DEUT","valid":true,"branch":null,"source":"Format check in code (ISO 3166 country names); GLEIF LEI records (BIC filter), CC0","country":"DE","testBic":false,"location":"FF","checkedAt":"2026-10-15T15:16:48.222Z","countryName":"Germany","institution":{"lei":"7LTWFZYICNSX8D621K86","name":"DEUTSCHE BANK AKTIENGESELLSCHAFT","address":"Taunusanlage 12, Frankfurt am Main, 60325, DE"},"primaryOffice":true,"institutionNote":null,"passiveParticipant":false}},"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_kcnyQenhiIbJq1ACvnocj","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 a SWIFT/BIC code and returns bank name, country, branch details, and linked GLEIF LEI institution record","exampleAgentPrompt":"Can you validate the SWIFT code DEUTDEFF and tell me which bank it belongs to, what country it's in, and whether it's associated with a real institution?","exampleUseCases":[{"title":"Wire transfer pre-validation","prompt":"Before I send this international wire, can you check that the SWIFT code BNPAFRPP is valid and tell me what bank and country it belongs to?"},{"title":"KYC bank counterparty check","prompt":"I need to verify our counterparty's bank — look up BIC code CHASUS33 and tell me the institution name, address, and its LEI if available."},{"title":"Test vs real BIC detection","prompt":"We received a BIC of DEUTDEFF500 in a payment instruction — can you check if it's a valid, non-test SWIFT code and which branch it corresponds to?"}],"resultDescription":"A JSON object containing: the parsed BIC components (bank code, country, location, branch), a validity boolean, whether it is a test BIC, the country name, a matched GLEIF LEI record with institution name and address, a primary office flag, a passive participant flag, and the timestamp of the check.","failureModes":["Invalid BIC format (not 8 or 11 characters) returns validation error","BIC passes format check but has no matching GLEIF LEI record — institution field may be null","Unknown country code in BIC results in unrecognized country","Network or upstream GLEIF API unavailability causes 5xx errors","Payment required (402) if x402 payment header is missing or insufficient"],"whenToPreferThis":"Use this endpoint when you need to validate a SWIFT/BIC code against both format rules and real GLEIF LEI registry data, especially when you want enriched institution details (name, address, LEI) alongside the validity check. Prefer this over simple regex validators when you need to confirm the bank actually exists and retrieve its legal entity information for KYC or compliance workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-16T12:43:09.566Z","isFirstParty":false,"canonicalSlug":"sitecheck-swift-bic-code-lookup-2d5ea285"}