Public APIs
Validate Swift/BIC  favicon

Validate Swift/BIC

Finance

Validates BIC/SWIFT code.

Validate Swift/BIC 's website screenshot

About Validate Swift/BIC

SWIFT Code Validator is a hosted API that checks whether a submitted BIC/SWIFT code is valid. A bic value is sent in the request body, and the response returns either false for an invalid code or an object containing the parsed components: valid, bank_code, branch_code, country_code, and location_code.

The API is intended for verifying bank identifiers before storing them, routing payments, or accepting financial details in a form, catching malformed values before they cause downstream payment errors. It fits into validation pipelines, checkout flows, onboarding checks, and internal tooling.

The service is published by ApyHub, exposes a single POST endpoint, and requires an API key (apy-token) for requests. It is at version 1.0.0.

Key features

  • Validates BIC/SWIFT codes via a single POST endpoint
  • Returns parsed components: bank_code, branch_code, country_code, and location_code
  • Accepts 8 or 11 character BIC/SWIFT codes
  • Returns false for invalid codes and a validation object for valid ones
  • Authenticated via apy-token API key header

Frequently asked questions

What does this API do?

It validates whether a BIC/SWIFT code is well formed and returns its component parts. It returns false for an invalid code or an object with valid, bank_code, branch_code, country_code, and location_code for a valid one.

How do I call the API?

Send a POST request with a JSON body containing a bic field to the validate-swift-bic-code endpoint, authenticated with an apy-token header. The bic value must be 8 or 11 characters.

What does the response look like?

The response is a JSON object with a data field that is either false for an invalid BIC or an object containing valid, bank_code, branch_code, country_code, and location_code.

Who is this API for?

It is for developers who need to verify bank identifiers before storing them, routing payments, or accepting financial details in forms, such as in checkout flows or onboarding checks.

What errors can the API return?

It can return 400 for a missing or malformed body, 401 for a missing or unauthorized API key, 429 for rate limiting, and 503 when the backend is temporarily unavailable.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • Screenshot Scout favicon
  • TalorData favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product