GnistAI GnistAI
Log in

SWIFT/BIC Lookup

SWIFT/BIC code lookup — identify banks by SWIFT code, search by name, filter by country.

Overview   |   MCP   |   REST API   |   OpenAPI   |   CLI   |   Tutorial   |   Toolkits   |   Home
status: healthy status status healthy healthy tools: 4 tools tools 4 4 type: open dataset type type open dataset open dataset lifecycle: maintained lifecycle lifecycle maintained maintained Finance

Data source: Curated dataset (ISO 9362, public records)

MCP Endpoint (Streamable HTTP) https://context.gnist.ai/mcp/swift-bic/
Authentication

All requests require a Gnist-API-Key header (or api_key query parameter).

Free tier: 100 calls/day. Get your API key.

Tools (4)

lookup_swift_code

Look up a bank by its SWIFT/BIC code.

Returns bank name, country, city, and branch information for the given SWIFT/BIC code.

ParameterTypeRequiredDescription
swift_codestringrequired8 or 11 character SWIFT/BIC code (e.g. CHASUS33, DEUTDEFF).
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "lookup_swift_code",
    "arguments": {
      "swift_code": "example"
    }
  }
}
search_swift_banks

Search the SWIFT/BIC code database.

ParameterTypeRequiredDescription
querystringrequiredSearch by bank name, city, or SWIFT code.
limitintegeroptionalMaximum results to return. (default: 20)
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "search_swift_banks",
    "arguments": {
      "query": "example"
    }
  }
}
list_banks_by_country

List banks by country code from the SWIFT/BIC database.

ParameterTypeRequiredDescription
country_codestringrequiredISO 3166-1 alpha-2 country code (e.g. US, GB, DE, JP).
limitintegeroptionalMaximum results to return. (default: 50)
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "list_banks_by_country",
    "arguments": {
      "country_code": "NO"
    }
  }
}
report_feedback

Report a bug, feature request, or general feedback for this data source.

Use this when something doesn't work as expected, when you'd like
a new feature, or when you have suggestions for improvement.

Args:
feedback: Describe the issue or suggestion.
feedback_type: One of 'bug', 'feature_request', or 'general'.

ParameterTypeRequiredDescription
feedbackstringrequired
feedback_typestringoptional (default: "general")
JSON-RPC Request
{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "report_feedback",
    "arguments": {
      "feedback": "example"
    }
  }
}

Quick Start

Shell
curl -X POST "https://context.gnist.ai/mcp/swift-bic/" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -H "Gnist-API-Key: YOUR_API_KEY" \
  -d '{"jsonrpc": "2.0", "method": "tools/call", "id": 1, "params": {"name": "lookup_swift_code", "arguments": {"swift_code": "example"}}}'
Python
import httpx

resp = httpx.post(
    "https://context.gnist.ai/mcp/swift-bic/",
    headers={"Gnist-API-Key": "YOUR_API_KEY", "Content-Type": "application/json"},
    json={
  "jsonrpc": "2.0",
  "method": "tools/call",
  "id": 1,
  "params": {
    "name": "lookup_swift_code",
    "arguments": {
      "swift_code": "example"
    }
  }
},
)
print(resp.json())

Related Toolkits (Finance)

Resources