Restrikt

REST API · v1

API documentation

Check the sanction status of a CN code directly in your TMS, ERP or compliance application. JSON over HTTPS, OpenAPI 3.1. A single endpoint, GET /api/v1/cn, returns the verdict and the full legal context: regime, annex, article, exemptions and a link to EUR-Lex. Higher limits, API keys and support in the Team plan, price individual.

Download openapi.json Plans and API

Base URL

https://restrikt.eu/api/v1
GET/cn?q=&lang=pl

Check a CN code or a product name

Returns the verdict (restricted or no_match) and a list of matches. For a CN code a prefix rule applies: typing 7304 will also find 7304 11 00, and a full code will hit the parent heading. A no_match result does not mean that trade is allowed.

Query parameters

ParameterRequiredDescription
qyesCN code (e.g. 7304 11 00 or 73041100) or a fragment of a product name. Spaces in the code are ignored.
langnoLanguage of names and labels: 'pl' (default) or 'en'.

Example request

curl "https://restrikt.eu/api/v1/cn?q=7304%2011%2000&lang=pl"

Example response

{
  "query": "7304 11 00",
  "matched_as": "cn_code",
  "verdict": "restricted",
  "results": [
    {
      "cn_code": "7304 11 00",
      "name": "Rury przewodowe ze stali nierdzewnej, bez szwu",
      "restriction": {
        "type": "export_ban",
        "label": "Zakaz eksportu",
        "direction": "EU_to_RU"
      },
      "annex": "Annex XXIII",
      "article": "art. 3k",
      "has_exemptions": true,
      "exemption": "Wykonanie umów zawartych przed datą objęcia zakazem, w okresie i na warunkach z rozporządzenia.",
      "regime": {
        "name_pl": "Rosja",
        "name_en": "Russia",
        "legal_act": "Rozporządzenie (UE) 833/2014",
        "eur_lex_url": "https://eur-lex.europa.eu/...",
        "consolidated_version": "2026-..."
      },
      "source": "EUR-Lex",
      "source_version": "833/2014 skonsolidowane",
      "data_quality": "verified"
    }
  ],
  "disclaimer": "Wynik ma charakter informacyjny i nie stanowi porady prawnej ani celnej...",
  "meta": { "returned": 1, "source": "sankcje-check-api/v1" }
}

Limits and error responses

Requests without a key are rate limited by IP address. Exceeding the limit returns status 429. A missing q parameter returns 400, a database error returns 500. CORS is enabled. Higher limits and API keys for the team are available in the Team plan, price individual.

API for businesses

Higher request limits, API keys for the team, audit log, webhooks and implementation support. Price individual, matched to the scale of the integration.

Ask about the API