# getOfacSanctionedParty

**Identifier:** `ofac_getOfacSanctionedParty`

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

Full OFAC sanctions entry of a person, company, vessel or aircraft: every alias, birth details, nationalities, identity and registration numbers, addresses, linked parties, crypto wallet addresses, vessel particulars and programs. Takes the id returned by searchOfacSanctions.

## Run it with the CLI

```bash
kirha tools run ofac_getOfacSanctionedParty \
  --input '{
    "id": "<id>"
  }'
```

`--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_getOfacSanctionedParty",
  "input": {
    "id": "<id>"
  }
}'
```

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": {
    "id": {
      "description": "OFAC entry number from searchOfacSanctions",
      "pattern": "^\\d+$",
      "type": "string"
    },
    "list": {
      "enum": [
        "SDN",
        "Non-SDN"
      ],
      "type": "string"
    }
  },
  "required": [
    "id"
  ],
  "type": "object"
}
```

## Output schema

```json
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "additionalProperties": false,
  "properties": {
    "context": {
      "type": "string"
    },
    "entries": {
      "items": {
        "additionalProperties": false,
        "properties": {
          "addresses": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "aliasTypes": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "birthDates": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "birthPlaces": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "cryptoAddresses": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "gender": {
            "type": "string"
          },
          "id": {
            "type": "string"
          },
          "identifiers": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "imoNumber": {
            "type": "string"
          },
          "linkedFrom": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "linkedTo": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "list": {
            "enum": [
              "SDN",
              "Non-SDN"
            ],
            "type": "string"
          },
          "names": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "nationalities": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "programNames": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "programs": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "remarks": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "title": {
            "type": "string"
          },
          "type": {
            "enum": [
              "individual",
              "entity",
              "vessel",
              "aircraft"
            ],
            "type": "string"
          },
          "vessel": {
            "items": {
              "type": "string"
            },
            "type": "array"
          }
        },
        "required": [
          "id",
          "list",
          "type",
          "programs",
          "programNames",
          "names",
          "aliasTypes",
          "birthDates",
          "birthPlaces",
          "nationalities",
          "linkedTo",
          "linkedFrom",
          "cryptoAddresses",
          "vessel",
          "addresses",
          "identifiers",
          "remarks"
        ],
        "type": "object"
      },
      "type": "array"
    },
    "found": {
      "type": "boolean"
    },
    "listsLoadedOn": {
      "type": "string"
    }
  },
  "required": [
    "context",
    "found",
    "listsLoadedOn",
    "entries"
  ],
  "type": "object"
}
```

## Related tools

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

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

-----

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