Ohmyfin · Schema
Bank
PaymentsTreasuryCross-Border PaymentsSanctions ScreeningCorrespondent BankingFinancial Institutions
Properties
| Name | Type | Description |
|---|---|---|
| id | integer | |
| name | string | Full legal name. |
| swift | string | BIC code (8 chars = HQ, 11 chars = branch). |
| country | string | ISO 3166-1 alpha-2 country code. |
| city | stringnull | |
| branch | stringnull | Branch name (null for headquarters). |
| is_headquarter | boolean | True for 8-character BIC codes. Derived from the length of the code, not from a head-office register, so every institution root reports true whether it is a global head office or a single-branch shell |
| gpimember | boolean | `true` only for a bank that is live in the gpi network. A bank that has signed up to gpi but is not live yet is `false`, as is a bank not on our gpi member list. `false` is therefore not proof that a |
| details_raw | objectnull | Raw bank profile from the SOWSOF reference feed (only present when `details_raw=true`). Structure is unstable — fields may change without notice. Best consumed by AI agents. |
| sanctions | object | |
| sanctions_as_of | string | The date the `sanctions` flags of THIS row are from. Read it per row: today every row carries 2025-06-18, the reference snapshot, but rows can carry different dates. A `true` flag means the bank was o |
| sanctions_screening | object | Real-time sanctions screening result (only present when `sanctions=true`). |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/ohmyfin-ai/json-schema/ohmyfin-ai-bank-schema.json",
"title": "Bank",
"x-generated": "2026-11-19",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/ohmyfin-ai-openapi.json#/components/schemas/Bank",
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"name": {
"type": "string",
"description": "Full legal name."
},
"swift": {
"type": "string",
"description": "BIC code (8 chars = HQ, 11 chars = branch)."
},
"country": {
"type": "string",
"description": "ISO 3166-1 alpha-2 country code."
},
"city": {
"type": [
"string",
"null"
]
},
"branch": {
"type": [
"string",
"null"
],
"description": "Branch name (null for headquarters)."
},
"is_headquarter": {
"type": "boolean",
"description": "True for 8-character BIC codes. Derived from the length of the code, not from a head-office register, so every institution root reports true whether it is a global head office or a single-branch shell. Results are ranked by settlement breadth (how many currencies the institution has filed settlement instructions for), not by this flag."
},
"gpimember": {
"type": "boolean",
"description": "`true` only for a bank that is live in the gpi network. A bank that has\nsigned up to gpi but is not live yet is `false`, as is a bank not on our\ngpi member list. `false` is therefore not proof that a bank is outside gpi.\n"
},
"details_raw": {
"type": [
"object",
"null"
],
"description": "Raw bank profile from the SOWSOF reference feed (only present when `details_raw=true`).\nStructure is unstable — fields may change without notice. Best consumed by AI agents.\n"
},
"sanctions": {
"$ref": "#/$defs/BankSanctions"
},
"sanctions_as_of": {
"type": "string",
"format": "date",
"description": "The date the `sanctions` flags of THIS row are from. Read it per row: today every row carries 2025-06-18, the reference snapshot, but rows can carry different dates. A `true` flag means the bank was on that list on this date; it is not a live screen."
},
"sanctions_screening": {
"type": "object",
"description": "Real-time sanctions screening result (only present when `sanctions=true`).",
"properties": {
"status": {
"type": "string",
"enum": [
"clear",
"match",
"error"
],
"description": "Screening result."
},
"matches": {
"type": "array",
"items": {
"$ref": "#/$defs/SanctionsMatch"
}
}
}
}
},
"$defs": {
"BankSanctions": {
"type": "object",
"description": "Reference sanctions flags by jurisdiction, dated `sanctions_as_of`. They are not a screen.\nEach flag is one of three values:\n\n- `true`: the bank was on that list on `sanctions_as_of`.\n- `false`: the bank was checked against that list and was not on it.\n- `null`: **not determined**. We hold no answer for that list, so `null` is not a clearance.\n Most banks are `null` on every list, including banks in comprehensively sanctioned\n jurisdictions.\n\nFor a current answer use `sanctions=true`, which screens each result live and adds\n`sanctions_screening`.\n",
"properties": {
"sdn": {
"type": [
"boolean",
"null"
],
"description": "US OFAC SDN list."
},
"eu": {
"type": [
"boolean",
"null"
],
"description": "EU sanctions."
},
"uk": {
"type": [
"boolean",
"null"
],
"description": "UK sanctions."
},
"ca": {
"type": [
"boolean",
"null"
],
"description": "Canada sanctions."
},
"ch": {
"type": [
"boolean",
"null"
],
"description": "Switzerland sanctions."
},
"au": {
"type": [
"boolean",
"null"
],
"description": "Australia sanctions."
},
"nz": {
"type": [
"boolean",
"null"
],
"description": "New Zealand sanctions."
}
}
},
"SanctionsMatch": {
"type": "object",
"properties": {
"entity_id": {
"type": "string",
"description": "Entity ID for detail lookup via `/sanctions/entity/{entityId}`."
},
"name": {
"type": "string"
},
"list_source": {
"type": "string",
"description": "Sanctions list identifier."
},
"list_name": {
"type": "string",
"description": "Full list name."
},
"severity": {
"type": "string",
"description": "Audit-grade classification of the sanctions designation.",
"enum": [
"high",
"medium",
"low"
]
},
"action": {
"type": "string",
"description": "Required action for transactions involving this entity.",
"enum": [
"BLOCK",
"REVIEW",
"MONITOR",
"INFORM"
]
},
"action_label": {
"type": "string",
"description": "Human-readable description of the required action."
},
"match_score": {
"type": "number",
"description": "Match confidence (0.0 - 1.0)."
},
"match_type": {
"type": "string",
"description": "How the match was determined (e.g. `exact_name`, `fuzzy_name`, `alias`)."
},
"entity_type": {
"type": "string",
"description": "Upstream classification of the entity. Values include `person`,\n`organization`/`entity`, `vessel`, `aircraft`, `unknown`.\n"
},
"aliases": {
"type": "array",
"items": {
"type": "string"
}
},
"programs": {
"type": "array",
"items": {
"type": "string"
},
"description": "Sanctions programs the entity is designated under."
},
"addresses": {
"type": "array",
"items": {
"type": "object"
}
},
"identifiers": {
"type": "array",
"description": "Passport / tax-ID / national-ID records.",
"items": {
"type": "object"
}
},
"dates_of_birth": {
"type": "array",
"items": {
"type": "string"
}
},
"places_of_birth": {
"type": "array",
"items": {
"type": "string"
}
},
"nationalities": {
"type": "array",
"items": {
"type": "string"
}
},
"remarks": {
"type": [
"string",
"null"
],
"description": "Free-text designation context from the upstream watchlist."
},
"sanctions_types": {
"type": "array",
"items": {
"type": "string"
}
},
"legal_authorities": {
"type": "array",
"items": {
"type": "string"
}
},
"address_signal": {
"type": "object",
"description": "Present when the screening engine returns it (optional, upstream sanctions\nchanges/0002), and only for a screen that supplied an `address`. It is the\nengine's own reading of what your address did to THIS candidate, passed\nthrough unchanged. Absent means the engine sent none: it is never derived\nor invented here, so do not treat an absent block as \"no address verdict\".\n",
"properties": {
"status": {
"type": "string",
"description": "`agrees` - your address matched this entry's address at `tier`.\n`conflicts` - the address countries disagree (the only tier that\nconflicts). `unknown` - this entry carries no usable address.\n`not_evaluated` - the engine did not adjudicate the address.\n",
"enum": [
"agrees",
"conflicts",
"unknown",
"not_evaluated"
]
},
"tier": {
"type": [
"string",
"null"
],
"description": "How closely it matched. `country` is the weakest and scores 0.00 on\npurpose; only `street` and `city` are meaningful corroboration.\n",
"enum": [
"street",
"city",
"country",
null
]
},
"applied": {
"type": "boolean",
"description": "Whether the adjudication moved anything. False under\n`secondary_match_mode: annotate`, where a country conflict is reported\nbut the candidate's action is left alone.\n"
},
"basis": {
"type": "string",
"description": "Plain-language explanation, when the engine sends one."
}
}
},
"derivation": {
"type": [
"object",
"null"
],
"description": "Set ONLY on a row derived from a company register (list_source\n`Sanctions-Ownership-Derived-Block` BLOCK, `Sanctions-Ownership-Derived`\nREVIEW, `Sanctions-Ownership-Derived-Former` INFORM): a company, or an owner\nof one, that the UK Companies House register or GLEIF links to a listed\nparty that owns, controls or directs it. `null` on every other list.\nPassed through exactly as the screening engine sends it: `derivation[]`\n(one entry per regime and holder: `source`, `regime`, `status`, `basis`,\n`served_as`, `identity`, `chain[]`), `subject`, `register_as_of` /\n`gleif_as_of`, `sources`, `not_a_designation: true`. The row's `action`\nalready includes the 50% rule; do not re-derive it. It is our derivation,\nnot a designation: confirm identity, ownership and control before acting.\nSee https://ohmyfin.ai/docs/api.\n"
},
"ownership_reason": {
"type": "string",
"description": "Present only when `derivation` is set: why the row is on its list, in one\nEnglish sentence (for example \"Its director is on OFAC: SDN\"). Added by\nOhmyfin from `derivation`; it never changes the row's `action`.\n"
}
}
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/ohmyfin-ai-bank"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.