---
title: "get_company_sanctions"
method: POST
path: "/tools/get_company_sanctions"
tags: ["Tools"]
---

# get_company_sanctions

`POST /tools/get_company_sanctions`

## Request

- Base URL: `https://compabase.com/api/mcp`
- URL: `https://compabase.com/api/mcp/tools/get_company_sanctions`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-API-Key`

Official MSWiA sanctions listing for one company, matched by KRS, NIP, or REGON.
`sanctions` is null when the company is not listed. Entries include restrictive
measures and the legal grounds. The same object is included on `get_company`.

SQL: `company_sanctions` joined to `sanctions_entries`.

**Example prompts:** “Is this company on a sanctions list?” · “What measures apply?”

## Request body

- CompanyIdentityArgs: Identify a company with at least one of name, krs, or nip.
  - `name` string: Company name when KRS/NIP is unknown (legal-form suffix optional).
  - `krs` string: KRS registry number (10 digits, zero-padded).
  - `nip` string: NIP tax number (10 digits, dashes optional).

## Response `200`

Wrapper with `registry_number`, `nip`, and `sanctions` (or null)

- object
  - `registry_number` string
  - `nip` string
  - `sanctions` object, nullable

---

[API](https://skmtc.dev/compabase/apis/compabase-mcp.md) · [All operations](https://skmtc.dev/compabase/apis/compabase-mcp/llms.txt) · [OpenAPI document](https://skmtc.dev/compabase/apis/compabase-mcp/revisions/43169ccbb0f7?raw)
