Skip to main content

Batch Processing

For high-volume screening needs, the batch processing API allows you to submit Excel files containing multiple entities to screen and retrieve results asynchronously.

Batch API Availability

Batch processing endpoints are available upon request. Contact your Enigma representative to enable batch processing for your account.

Start Batch Job

Upload an Excel file and start a batch screening job.

curl --location --request POST 'https://api.enigma.com/evaluation/sanctions/batch/start' \
--header 'x-api-key: <YOUR API KEY>' \
--form 'file=@"/path/to/your/screening_batch.xlsx"'

Request Details

  • Content-Type: multipart/form-data
  • File field name: file
  • Supported formats: .xlsx, .xls

Excel File Format

Batch screening currently supports screening individuals only (not organizations). The Excel file must include a header row with the following columns:

ColumnDescriptionRequired
#Row number or unique identifierYes
First NameIndividual's first nameYes
Last NameIndividual's last nameYes
Date of BirthDate of birth in YYYYMMDD format (e.g., 19740710)No
NationalityCountry of nationalityNo
Passport NumberGovernment-issued passport numberNo
Passport Issued CountryCountry that issued the passportNo

Example:

#First NameLast NameDate of BirthNationalityPassport NumberPassport Issued Country
1JohnHanafin19740710IrelandAB123456Ireland
2MariaGarcia19850315SpainXY789012Spain

Response

{
"run_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890"
}

Get Batch Job Status

Check the status of a batch job.

curl --location 'https://api.enigma.com/evaluation/sanctions/batch/status/<run_id>' \
--header 'x-api-key: <YOUR API KEY>'

Response

{
"run_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"status": "SUCCESS"
}

Status Values

StatusDescription
QUEUEDJob is waiting to be processed
STARTEDJob is currently running
SUCCESSJob completed successfully
FAILUREJob failed
CANCELEDJob was canceled

Get Batch Job Results

Download the results of a completed batch job.

# Get raw results
curl --location 'https://api.enigma.com/evaluation/sanctions/batch/results/<run_id>?type=raw' \
--header 'x-api-key: <YOUR API KEY>' \
--output results.csv

# Get web screen report format
curl --location 'https://api.enigma.com/evaluation/sanctions/batch/results/<run_id>?type=web_screen' \
--header 'x-api-key: <YOUR API KEY>' \
--output web_screen_results.csv

Query Parameters

ParameterDescriptionRequired
typeResult format: raw or web_screenNo (default: raw)

Use Cases

Batch processing is ideal for:

  • Periodic screening: Re-screen your entire customer base against updated watchlists
  • Onboarding: Screen large batches of new customers during onboarding
  • Historical review: Screen historical records that weren't previously screened
  • List updates: Re-screen after watchlist additions or changes