---
title: Validate SWIFT/BIC API
slug: validate-swift-bic-code
url: https://apyhub.com/apyhub/service/validate-swift-bic-code
provider: ApyHub
categories: [Data Validation, Finance]
tags: [swift-code, bic-validation, bank-validation, finance, payment-validation]
auth: api_key
---

# Validate SWIFT/BIC API

Validate BIC/SWIFT codes and extract bank, branch, country, and location codes. Useful for payment forms and banking data checks.

## Endpoints

| Method | Path | Description | Atoms |
| --- | --- | --- | --- |
| POST | `/validate/bic` | What it does Validates a BIC/SWIFT code submitted in the request body. The response returns a data… | 5 |

## About

## What it does
SWIFT Code Validator checks whether a BIC/SWIFT code is valid and returns the parts that make it up. Send a `bic` value in the request body and get back either `false` for an invalid code or a validation object with `valid`, `bank_code`, `branch_code`, `country_code`, and `location_code`.

Use it when you need to verify bank identifiers before storing them, routing payments, or accepting financial details in a form. Because SWIFT codes are used across international banking workflows, catching malformed values early helps reduce downstream payment errors and support issues.

The response is straightforward to parse and fits well into validation pipelines, checkout flows, onboarding checks, and internal tooling. If the code is well formed, you get the component fields you can log or compare against your own records; if it is not, you get a simple invalid result.

## Usage

Authenticate with an ApyHub API key in the `apy-token` header.
Full docs and a live playground: https://apyhub.com/apyhub/service/validate-swift-bic-code
