Api Endpoint

IBAN Generator

IBAN generator: construct an IBAN from a country code and the domestic account parts, computing the ISO 7064 mod-97-10 check digits. Takes a single BBAN string or named parts (bank code, branch code, account number); digit fields are left-padded with zeros to the country's registered widths. Returns the IBAN in electronic and print formats with its bank, branch and account parts. Covers the 89 SWIFT registry countries. Named parts work only where they span the whole BBAN; else pass the BBAN.

Open interactive test console

Offering

Provider
api.duoleads.com
Method
GET
Offering type
Api Endpoint
Transport type
http
Category
General Utilities
Delivery
Not provided
Pricing model
Not provided
x402 version
2

Endpoint context

URL
https://api.duoleads.com/v1/id/iban-build
MIME type
application/json
First seen
2026-10-16T01:50:38.788Z
Last seen
Tags
iban, iban-generator, iban-calculator, identifiers, banking

Payment pricing

x402 payment terms are the authoritative price for calling this endpoint.

Payment option 1
0.05 USDC
Atomic price: 50000 · Network: eip155:8453 · Asset: USDC · Scheme: exact
Raw x402 terms
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "50000",
    "payTo": "0xCD673f7e1daD254347AEab6be0DEFe8b9C6b3A39"
  }
]

Observed health

Status
Healthy
Latest latency
36 ms
Average latency
822 ms
HTTP status
402
Last checked
Reachability
100% over 13 checks

Latency is measured to the first response headers. A reachable result does not verify response accuracy or merchant identity.

Input schema

{
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "const": "http"
    },
    "method": {
      "type": "string",
      "enum": [
        "GET"
      ]
    },
    "queryParams": {
      "type": "object",
      "properties": {
        "country": {
          "type": "string",
          "description": "ISO 3166-1 alpha-2 country code in the SWIFT IBAN registry, case-insensitive.",
          "maxLength": 16
        },
        "bban": {
          "type": "string",
          "description": "The whole domestic account number (BBAN), alphanumeric. Use this or bank plus account.",
          "maxLength": 34
        },
        "bank": {
          "type": "string",
          "description": "Bank code. Requires account.",
          "maxLength": 16
        },
        "branch": {
          "type": "string",
          "description": "Branch code, for countries whose layout has a branch field.",
          "maxLength": 16
        },
        "account": {
          "type": "string",
          "description": "Account number. Requires bank.",
          "maxLength": 32
        }
      },
      "required": [
        "country"
      ]
    }
  },
  "required": [
    "type",
    "method"
  ],
  "additionalProperties": false
}

Output schema

{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "input": {
      "additionalProperties": false,
      "properties": {
        "method": {
          "enum": [
            "GET"
          ],
          "type": "string"
        },
        "queryParams": {
          "properties": {
            "account": {
              "description": "Account number. Requires bank.",
              "maxLength": 32,
              "type": "string"
            },
            "bank": {
              "description": "Bank code. Requires account.",
              "maxLength": 16,
              "type": "string"
            },
            "bban": {
              "description": "The whole domestic account number (BBAN), alphanumeric. Use this or bank plus account.",
              "maxLength": 34,
              "type": "string"
            },
            "branch": {
              "description": "Branch code, for countries whose layout has a branch field.",
              "maxLength": 16,
              "type": "string"
            },
            "country": {
              "description": "ISO 3166-1 alpha-2 country code in the SWIFT IBAN registry, case-insensitive.",
              "maxLength": 16,
              "type": "string"
            }
          },
          "required": [
            "country"
          ],
          "type": "object"
        },
        "type": {
          "const": "http",
          "type": "string"
        }
      },
      "required": [
        "type",
        "method"
      ],
      "type": "object"
    },
    "output": {
      "properties": {
        "example": {
          "properties": {
            "data": {
              "properties": {
                "bban": {
                  "type": "string"
                },
                "check_digits": {
                  "type": "string"
                },
                "country": {
                  "type": "string"
                },
                "iban": {
                  "type": "string"
                },
                "iban_print": {
                  "type": "string"
                },
                "length": {
                  "type": "integer"
                },
                "parts": {
                  "properties": {
                    "account": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "bank": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "branch": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "bank",
                    "branch",
                    "account"
                  ],
                  "type": "object"
                },
                "valid": {
                  "type": "boolean"
                }
              },
              "required": [
                "iban",
                "iban_print",
                "country",
                "check_digits",
                "bban",
                "parts",
                "length",
                "valid"
              ],
              "type": "object"
            },
            "meta": {
              "properties": {
                "computed_at": {
                  "description": "RFC 3339 UTC with milliseconds",
                  "type": "string"
                },
                "deterministic": {
                  "type": "boolean"
                },
                "disclaimer": {
                  "type": "string"
                },
                "price_usd": {
                  "type": "string"
                },
                "request_id": {
                  "type": "string"
                },
                "sources": {
                  "items": {
                    "required": [
                      "id",
                      "version",
                      "published"
                    ],
                    "type": "object"
                  },
                  "type": "array"
                }
              },
              "required": [
                "request_id",
                "computed_at",
                "price_usd",
                "deterministic",
                "disclaimer"
              ],
              "type": "object"
            },
            "ok": {
              "const": true
            },
            "route": {
              "const": "/v1/id/iban-build"
            },
            "version": {
              "type": "string"
            }
          },
          "required": [
            "ok",
            "route",
            "version",
            "data",
            "meta"
          ],
          "type": "object"
        },
        "type": {
          "type": "string"
        }
      },
      "required": [
        "type"
      ],
      "type": "object"
    }
  },
  "required": [
    "input"
  ],
  "type": "object"
}