SWIFT · Schema

SWIFT IBAN

Schema for an IBAN record from the SWIFT SwiftRef API

BankingCross-Border PaymentsFinancial MessagingFinancial-ServicesGPIISO 20022Payments

Properties

Name Type Description
iban string International Bank Account Number (without spaces)
bic string BIC associated with this IBAN
countryCode string ISO 3166-1 country code from IBAN
bankCode string Bank code extracted from the IBAN
accountNumber string Account number portion of the IBAN
valid boolean Whether IBAN passes format and check digit validation
View JSON Schema on GitHub

JSON Schema

swift-iban-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/swift/refs/heads/main/json-schema/swift-iban-schema.json",
  "title": "SWIFT IBAN",
  "description": "Schema for an IBAN record from the SWIFT SwiftRef API",
  "type": "object",
  "properties": {
    "iban": {
      "type": "string",
      "pattern": "^[A-Z]{2}[0-9]{2}[A-Z0-9]{1,30}$",
      "description": "International Bank Account Number (without spaces)"
    },
    "bic": {
      "type": "string",
      "description": "BIC associated with this IBAN"
    },
    "countryCode": {
      "type": "string",
      "pattern": "^[A-Z]{2}$",
      "description": "ISO 3166-1 country code from IBAN"
    },
    "bankCode": {
      "type": "string",
      "description": "Bank code extracted from the IBAN"
    },
    "accountNumber": {
      "type": "string",
      "description": "Account number portion of the IBAN"
    },
    "valid": {
      "type": "boolean",
      "description": "Whether IBAN passes format and check digit validation"
    }
  },
  "required": ["iban", "countryCode"]
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/swift-iban"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.