{"openapi":"3.0.3","info":{"title":"Gnist Context — SWIFT/BIC Lookup","description":"SWIFT/BIC code lookup — identify banks by SWIFT code, search by name, filter by country.\n\n- **MCP endpoint:** `https://context.gnist.ai/mcp/swift-bic/`\n- **Toolkit page:** `/toolkits/swift-bic`\n- **Full API spec:** `/api/openapi.json`\n- **Get an API key:** `/signup`","version":"1.0.0","contact":{"name":"GnistAI","url":"https://gnist.ai"}},"servers":[{"url":"https://context.gnist.ai","description":"Production"}],"paths":{"/rest/swift-bic/lookup_swift_code":{"post":{"tags":["Finance"],"summary":"lookup_swift_code","description":"Look up a bank by its SWIFT/BIC code.\n\nReturns bank name, country, city, and branch information for the given SWIFT/BIC code.","operationId":"swift_bic_lookup_swift_code","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"swift_code":{"description":"8 or 11 character SWIFT/BIC code (e.g. CHASUS33, DEUTDEFF).","type":"string"}},"required":["swift_code"],"type":"object"}}}}}},"/rest/swift-bic/search_swift_banks":{"post":{"tags":["Finance"],"summary":"search_swift_banks","description":"Search the SWIFT/BIC code database.","operationId":"swift_bic_search_swift_banks","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"query":{"description":"Search by bank name, city, or SWIFT code.","type":"string"},"limit":{"default":20,"description":"Maximum results to return.","maximum":100,"minimum":1,"type":"integer"}},"required":["query"],"type":"object"}}}}}},"/rest/swift-bic/list_banks_by_country":{"post":{"tags":["Finance"],"summary":"list_banks_by_country","description":"List banks by country code from the SWIFT/BIC database.","operationId":"swift_bic_list_banks_by_country","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"country_code":{"description":"ISO 3166-1 alpha-2 country code (e.g. US, GB, DE, JP).","type":"string"},"limit":{"default":50,"description":"Maximum results to return.","maximum":100,"minimum":1,"type":"integer"}},"required":["country_code"],"type":"object"}}}}}},"/rest/swift-bic/report_feedback":{"post":{"tags":["Finance"],"summary":"report_feedback","description":"Report a bug, feature request, or general feedback for this data source.\n\nUse this when something doesn't work as expected, when you'd like\na new feature, or when you have suggestions for improvement.\n\nArgs:\n    feedback: Describe the issue or suggestion.\n    feedback_type: One of 'bug', 'feature_request', or 'general'.","operationId":"swift_bic_report_feedback","responses":{"200":{"description":"Successful tool call","content":{"application/json":{"schema":{"type":"object"}}}},"404":{"description":"Server or tool not found"},"500":{"description":"Tool execution error"}},"security":[{"ApiKeyHeader":[]},{"ApiKeyQuery":[]}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"additionalProperties":false,"properties":{"feedback":{"type":"string"},"feedback_type":{"default":"general","type":"string"}},"required":["feedback"],"type":"object"}}}}}}},"tags":[{"name":"Finance","description":"Data sources: Finance"}],"components":{"securitySchemes":{"ApiKeyHeader":{"type":"apiKey","in":"header","name":"gnist-api-key","description":"API key passed via request header."},"ApiKeyQuery":{"type":"apiKey","in":"query","name":"gnist_api_key","description":"API key passed via query parameter."}}}}