Sanction Check API Documentation

The Sanction Check API lets you submit search queries to our external sanction-check service. You must include a valid API key (sandbox or production) with your request.

Endpoint

POST /api/external/sanction-check

Headers

Content-Type: application/json
x-api-key: YOUR_API_KEY_HERE
x-api-type: (automatically set to "sandbox" or "production")

Request Body

The request body should be a JSON object containing the following parameters:

{
  "pep_or_sanction": 0,           // 0 for Sanction, 1 for PEP
  "individual_or_entity": 0,      // 0 for Individual, 1 for Entity
  "name": "Doe John",             // Full name (required)
  "country": "USA",               // Optional
  "dob": "1980-01-01"             // Optional, in YYYY-MM-DD format
}

Response

{
  "results": { ... }
}

Example cURL Request

curl -X POST https://simplesanctioncheck.com/api/external/sanction-check   -H "Content-Type: application/json"   -H "x-api-key: YOUR_API_KEY_HERE"   -d '{
    "pep_or_sanction": 0,
    "individual_or_entity": 0,
    "name": "Doe John",
    "country": "USA",
    "dob": "1980-01-01"
  }'

Usage Notes

  • Each successful API call decrements your available requests count: production Requests for production keys or sandbox Requests for sandbox keys.
  • Keep your API key secret.
  • Use sandbox keys for testing and production keys for live usage.