# searchOfacSanctions

**Identifier:** `ofac_searchOfacSanctions`

**Provider:** [OFAC Sanctions](https://kirha.com/providers/ofac.md)

Screen a person, company, vessel, aircraft or crypto wallet address against the US OFAC sanctions lists (SDN and non-SDN consolidated lists), matching every alias. Use it for US sanctions screening, KYC and checking whether a blockchain address is sanctioned.

## Run it with the CLI

```bash
kirha tools run ofac_searchOfacSanctions \
  --input '{}'
```

`--input` takes a JSON object that matches the input schema. Pass `--input -` to read it from stdin.

## Call it over HTTP

```bash
curl https://api.kirha.com/tools/v1/execute \
  --request POST \
  --header 'Content-Type: application/json' \
  --header 'Authorization: **********' \
  --data '{
  "tool_name": "ofac_searchOfacSanctions",
  "input": {}
}'
```

Replace the stars with an API key from https://app.kirha.com/api-keys.

## Input schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "properties": {
    "cryptoAddress": {
      "description": "Blockchain address, any chain",
      "minLength": 20,
      "type": "string"
    },
    "imoNumber": {
      "description": "Vessel IMO number",
      "type": "string"
    },
    "limit": {
      "default": 10,
      "maximum": 50,
      "minimum": 1,
      "type": "integer"
    },
    "name": {
      "description": "Name or part of a name",
      "minLength": 2,
      "type": "string"
    },
    "program": {
      "description": "Program tag, e.g., RUSSIA-EO14024, SDGT, IRAN, CYBER2",
      "minLength": 2,
      "type": "string"
    },
    "type": {
      "enum": [
        "individual",
        "entity",
        "vessel",
        "aircraft"
      ],
      "type": "string"
    }
  },
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "context": {
      "type": "string"
    },
    "listed": {
      "type": "boolean"
    },
    "listsLoadedOn": {
      "type": "string"
    },
    "matches": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "birthDate": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "imoNumber": {
            "type": "string"
          },
          "list": {
            "enum": [
              "SDN",
              "Non-SDN"
            ],
            "type": "string"
          },
          "matchQuality": {
            "enum": [
              "listed",
              "similar spelling",
              "partial words",
              "all words",
              "exact"
            ],
            "type": "string"
          },
          "matchedAlias": {
            "type": "string"
          },
          "matchedCryptoAddress": {
            "type": "string"
          },
          "name": {
            "type": "string"
          },
          "nationalities": {
            "type": "string"
          },
          "programNames": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "programs": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "type": {
            "enum": [
              "individual",
              "entity",
              "vessel",
              "aircraft"
            ],
            "type": "string"
          }
        },
        "required": [
          "id",
          "list",
          "type",
          "name",
          "matchQuality",
          "programs",
          "programNames"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "total": {
      "type": "number"
    }
  },
  "required": [
    "context",
    "listed",
    "total",
    "listsLoadedOn",
    "matches"
  ],
  "type": "object"
}
```

## Related tools

Other OFAC Sanctions tools that this tool refers to, or that refer to it.

- [`getOfacSanctionedParty`](https://kirha.com/providers/ofac/getOfacSanctionedParty.md)
- [`listOfacPrograms`](https://kirha.com/providers/ofac/listOfacPrograms.md)

-----

[All OFAC Sanctions tools](https://kirha.com/providers/ofac.md) · [< Back to tools list](https://kirha.com/tools.md)