Restrikt

REST API · v1

Documentation API

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. A higher limit with an API key and webhooks are set up individually, after a conversation.

Télécharger openapi.json Forfaits et API

Base URL

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

Vérifier un code NC ou un nom de produit

Renvoie le verdict (restricted ou no_match) et une liste de correspondances. Pour un code NC, une règle de préfixe s'applique : saisir 7304 trouvera aussi 7304 11 00, et un code complet renverra à la position parente. Un résultat no_match ne signifie pas que le commerce est autorisé.

Paramètres de requête

ParamètreObligatoireDescription
qouiCode NC (par ex. 7304 11 00 ou 73041100) ou fragment d'un nom de produit. Les espaces dans le code sont ignorés.
langnonLangue des noms et libellés : 'pl' (par défaut) ou 'en'.

Exemple de requête

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

Exemple de réponse

{
  "query": "7304 11 00",
  "matched_as": "cn_code",
  "verdict": "restricted",
  "has_prohibition": true,
  "results": [
    {
      "cn_code": "7304 11 00",
      "name": "Tubes, pipes and hollow profiles, seamless, of iron (other than cast iron) or steel",
      "restriction": {
        "type": "export_ban",
        "label": "Export ban",
        "direction": "export"
      },
      "annex": "XXIII",
      "article": "3k(1b)",
      "has_exemptions": false,
      "exemption": null,
      "valid_from": null,
      "valid_to": null,
      "regime": {
        "code": "RU_833_2014",
        "name_en": "EU sanctions against Russia",
        "name_pl": "Sankcje UE wobec Rosji",
        "legal_act": "Council Regulation (EU) No 833/2014",
        "eur_lex_url": "https://eur-lex.europa.eu/eli/reg/2014/833/2026-07-24/pol",
        "eur_lex_url_en": "https://eur-lex.europa.eu/eli/reg/2014/833/2026-07-24/eng",
        "eur_lex_url_pl": "https://eur-lex.europa.eu/eli/reg/2014/833/2026-07-24/pol",
        "target_country_code": "RU",
        "consolidated_version": "2026-07-24"
      },
      "source": "EUR-Lex 02014R0833-20260724",
      "source_version": "2026-07-24",
      "data_quality": "verified",
      "partial_entry": false
    }
  ],
  "cn_exists": true,
  "cn_name": null,
  "disclaimer": "This result is informational only and is not legal or customs advice. The binding source is the EU regulation and the decision of customs authorities. Check the source and version date.",
  "meta": {
    "returned": 1,
    "source": "sankcje-check-api/v1"
  }
}

Réduit à un seul résultat. La réponse complète contient aussi les champs scope (ce qui a été vérifié), winddowns (périodes de liquidation) et derogations (motifs de dérogation).

Limites et réponses d'erreur

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. An API key with a higher limit is issued individually, once the scope is agreed. Do not share the key with third parties.

API pour les entreprises

Today: an API key with a higher request limit, change webhooks and implementation help, set up individually. Planned: team accounts and an audit log. Price individual, matched to the scale of the integration.

Se renseigner sur l'API