Monitoring · x402

Resolve a BIC/SWIFT code (8 or 11 chars) into the underlying bank: name, country, city,…

Resolve a BIC/SWIFT code (8 or 11 chars) into the underlying bank: name, country, city, LEI, and registered head-office address (where available). Use only when you already have the BIC — for IBAN inputs, prefer /v1/iban/validate which resolves the BIC for yo…

by api.ibanforge.com · discovered, not yet claimed by its owner · updated 2026-09-01

Mirrored from Coinbase's public x402 Bazaar. The description is the provider's own text and has not been reviewed here; the payment requirements are copied as published.

What it does

Resolve a BIC/SWIFT code (8 or 11 chars) into the underlying bank: name, country, city, LEI, and registered head-office address (where available). Use only when you already have the BIC — for IBAN inputs, prefer /v1/iban/validate which resolves the BIC for you. Production · server processing <5ms (network excluded — measure your own round trip on GET /ping) · 121,000+ BICs (39,000+ LEI-enriched via GLEIF, refreshed monthly) · v1.4.4.

Tags: bazaar

Use with an agent

  1. Discover. Agents find this listing with GET https://bazaar.saylorinnovations.com/discovery/search?query=…, the MCP tool search_resources, or /discovery/resources.
  2. Inspect. Fetch /resources/13800.json for the price and payment options.
  3. Pay. Call GET https://api.ibanforge.com/v1/bic/:code. The provider answers 402 with its payment requirements. An x402 client signs one of the options below and retries with PAYMENT-SIGNATURE.
  4. Execute. The provider returns 200 with the data. Agent Bazaar is not in the request path and never sees your payment.

For humans

You don't need an account or an API key; you need a wallet holding a small amount of USDC on Base, and an x402-capable client (see the examples below). Call the endpoint unpaid first to see exactly what it asks for.

Pricing & payment

Price
$0.003 / request
Protocol
x402 v2
Auth
No account or API key. Pay per request.
Networks
Base
Calls (30d)
3 · 1 unique payers (third-party data from the public x402 Bazaar)

x402 payment requirements

SchemeNetworkAssetAmountPay toTimeout
exactBase
eip155:8453
USDC$0.0030xD13bD0A4120BA301125290e5cc0c7EFD4CB40a5560s
accepts[] (raw JSON)
[
  {
    "scheme": "exact",
    "network": "eip155:8453",
    "payTo": "0xD13bD0A4120BA301125290e5cc0c7EFD4CB40a55",
    "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
    "amount": "3000",
    "amountUsd": 0.003,
    "maxTimeoutSeconds": 60
  }
]

Schemas

Output schema (JSON Schema)
{
  "bazaar": {
    "discoverable": true,
    "info": {
      "input": {
        "discoverable": true,
        "method": "GET",
        "pathParams": {
          "code": "CHASUS33"
        },
        "type": "http"
      },
      "output": {
        "example": {
          "_example_notice": "ILLUSTRATIVE SAMPLE — these are demo values for a fixed record, NOT the data for the resource you requested. Do not report them to a user. Authenticate (Authorization: Bearer ifk_...) or pay via x402 to get the real response.",
          "address": {
            "city": "Zurich",
            "country": "CH",
            "post_code": "8001",
            "source": "GLEIF",
            "street": "Bahnhofstrasse 45",
            "type": "registered"
          },
          "address_available": true,
          "bic": "UBSWCHZH80A",
          "bic11": "UBSWCHZH80A",
          "bic8": "UBSWCHZH",
          "branch_code": "80A",
          "city": "Zurich",
          "country": {
            "code": "CH",
            "name": "Switzerland"
          },
          "found": true,
          "institution": "UBS Switzerland AG",
          "is_test_bic": false,
          "lei": "549300WOIFUSNYH0FL22",
          "lei_status": "ACTIVE",
          "source": "gleif",
          "valid_format": true
        },
        "type": "json"
      }
    },
    "outputSchema": {
      "properties": {
        "address": {
          "description": "Registered/head-office address (GLEIF, CC0). Entity-level, not per-branch; null for branch or non-LEI BICs. Non-Latin addresses (Chinese, Arabic, Greek…) carry an official Latin reading in `romanized` only when GLEIF provides one; otherwise `romanization` is \"unavailable\" and we never fabricate a transliteration.",
          "properties": {
            "city": {
              "type": "string"
            },
            "country": {
              "type": "string"
            },
            "post_code": {
              "type": "string"
            },
            "region": {
              "type": "string"
            },
            "romanization": {
              "description": "Provenance of the Latin reading: original_latin | gleif_english | unavailable (non-Latin entity with no official Latin form — not transliterated).",
              "enum": [
                "original_latin",
                "gleif_english",
                "unavailable"
              ],
              "type": "string"
            },
            "romanized": {
              "description": "Latin reading: GLEIF's official English address for non-Latin entities, or the address itself when already Latin. Null when no official Latin form exists (never fabricated).",
              "type": "string"
            },
            "source": {
              "type": "string"
            },
            "street": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "address_available": {
          "type": "boolean"
        },
        "bic": {
          "type": "string"
        },
        "bic11": {
          "type": "string"
        },
        "bic8": {
          "type": "string"
        },
        "city": {
          "type": "string"
        },
        "country": {
          "properties": {
            "code": {
              "type": "string"
            },
            "name": {
              "type": "string"
            }
          },
          "type": "object"
        },
        "found": {
          "type": "boolean"
        },
        "institution": {
          "type": "string"
        },
        "lei": {
          "type": "string"
        },
        "valid_format": {
          "type": "boolean"
        }
      },
      "type": "object"
    },
    "pathParams": {
      "code": {
        "description": "BIC/SWIFT code (8 or 11 alphanumeric).",
        "type": "string"
      }
    },
    "routeTemplate": "/v1/bic/:code",
    "schema": {
      "properties": {
        "input": {
          "properties": {
            "method": {
              "enum": [
                "GET"
              ],
              "type": "string"
            },
            "pathParams": {
              "type": "object"
            }
          },
          "required": [
            "method"
          ]
        }
      }
    }
  }
}
Example shape — generated from the schema, not a captured live response
null

Examples

curl
curl "https://api.ibanforge.com/v1/bic/:code"
# -> 402 Payment Required, accepts[] lists how to pay
# retry with a PAYMENT-SIGNATURE (or PAYMENT header) once paid
JavaScript
const res = await fetch("https://api.ibanforge.com/v1/bic/:code");
if (res.status === 402) {
  const { accepts } = await res.json();
  // pay one of accepts[] via an x402 client, then retry with the payment header
}
Python
import httpx
res = httpx.get("https://api.ibanforge.com/v1/bic/:code")
if res.status_code == 402:
    accepts = res.json()["accepts"]
    # pay one of accepts[] via an x402 client, then retry with the payment header

Details

Provider
api.ibanforge.com
Endpoint
https://api.ibanforge.com/v1/bic/:code
Machine-readable
/resources/13800.json