---
title: AML Basic - Batch & Report
slug: api-marketplace/aml-basic-batch-and-report
createdAt: 2024-05-09T09:42:30.225Z
---

The Basic tier of our AML/CFT Screening API offers essential screening capabilities against key databases to identify potential risks associated with individuals or entities. It includes checks against databases such as Politically Exposed Persons (PEPs), UN Sanctions, the US Sanction List, and MHA - UAPA.

We provide the capability to run in batch mode by submitting a .csv file in the required structure. Our system outputs both the raw data and a comprehensive PDF report for the batch.

### AML/CFT Screening Databases Present With Us

| Database Name              |
| -------------------------- |
| Politically Exposed Person |
| UN Sanctions               |
| US Sanction List           |
| MHA- UAPA                  |

## API details

### Endpoint

:::CodeblockTabs
Production Environment

```text
POST https://api.signzy.app/api/v3/ndd/requestReport
```
:::

:::CodeblockTabs
UAT/Testing Environment

```text
POST https://api-preproduction.signzy.app/api/v3/ndd/requestReport
```
:::

### Request headers

| **Name**      | **Value**        | **Required** | **Description**                                                                                            |
| ------------- | ---------------- | ------------ | ---------------------------------------------------------------------------------------------------------- |
| Content-Type  | application/json | Mandatory    | The type of content that the request body contains.                                                        |
| Authorization | XXXXXXXXXXXXXXX  | Mandatory    | An authentication token to authorize the request. Reach out to the Signzy support team to get one created. |

### Request body parameters

| Parameters   | Description                                                                                              | Type            | Value      |
| ------------ | -------------------------------------------------------------------------------------------------------- | --------------- | ---------- |
| inputFile    | We require a .csv file, which can either be provided via a publicly accessible URL or uploaded directly. | File            | Mandatory  |
| Email ID     | report and output file will be sent on this email id                                                     | Array of string | Mandatory  |
| callback url | a url to receive the result directly                                                                     | String          | Optional   |

The request should include the following data parameters:

Code Samples

:::CodeblockTabs
Curl

```curl
curl --location 'https://api-preproduction.signzy.app/api/v3/ndd/basic' \
curl --location 'https://api.signzy.app/api/v3/ndd/requestReport' \
--header 'Content-Type: application/json' \
--header 'Authorization: <token>' \
--data-raw '{
    "inputFile": "https://persist.signzy.tech/api/files/918210652/download/f97bc8e360c34c9ca10d0d5d4d3ddb3edc417bd41ad54aaa9c975dfa8a4bb16d.csv",
    "emailIds": <email id>,
    "callbackUrl": <url>
}'
```

Node

```nodejs
const axios = require('axios');
let data = '{\n    "name": "..name..",\n    "type": "..type..",\n    "category": ["..category.."],\n    "databaseList": ["..databaseList.."],\n    "matchScoreThreshold": "..matchScoreThreshold..",\n    "identificationNumber": "..identificationNumber..",\n    "dateOfBirthOrIncorporation": "..dateOfBirthOrIncorporation..",\n    "dateOfBirthOrIncorporationExactMatch": true/false,\n    "placeOfBirth": "..placeOfBirth..",\n    "zipcode": "..zipcode..",\n    "country": "..country..",\n    "countryExactMatch": true/false,\n    "searchText": ["..searchText.."],\n    "aliasArray": ["..aliasArray.."]\n}';

let config = {
  method: 'post',
  maxBodyLength: Infinity,
  url: 'https://api-preproduction.signzy.app/api/v3/ndd/basic',
  headers: { 
    'Authorization': '<Token>', 
    'Content-Type': 'application/json'
  },
  data : data
};

axios.request(config)
.then((response) => {
  console.log(JSON.stringify(response.data));
})
.catch((error) => {
  console.log(error);
});

```

Python

```python
import requests
import json

url = "https://api-preproduction.signzy.app/api/v3/ndd/basic"

payload = "{\n    \"name\": \"..name..\",\n    \"type\": \"..type..\",\n    \"category\": [\"..category..\"],\n    \"databaseList\": [\"..databaseList..\"],\n    \"matchScoreThreshold\": \"..matchScoreThreshold..\",\n    \"identificationNumber\": \"..identificationNumber..\",\n    \"dateOfBirthOrIncorporation\": \"..dateOfBirthOrIncorporation..\",\n    \"dateOfBirthOrIncorporationExactMatch\": true/false,\n    \"placeOfBirth\": \"..placeOfBirth..\",\n    \"zipcode\": \"..zipcode..\",\n    \"country\": \"..country..\",\n    \"countryExactMatch\": true/false,\n    \"searchText\": [\"..searchText..\"],\n    \"aliasArray\": [\"..aliasArray..\"]\n}"
headers = {
  'Authorization': '<Token>',
  'Content-Type': 'application/json'
}

response = requests.request("POST", url, headers=headers, data=payload)

print(response.text)

```

GO

```go
package main

import (
  "fmt"
  "strings"
  "net/http"
  "io/ioutil"
)

func main() {

  url := "https://api-preproduction.signzy.app/api/v3/ndd/basic"
  method := "POST"

  payload := strings.NewReader(`{
    "name": "..name..",
    "type": "..type..",
    "category": ["..category.."],
    "databaseList": ["..databaseList.."],
    "matchScoreThreshold": "..matchScoreThreshold..",
    "identificationNumber": "..identificationNumber..",
    "dateOfBirthOrIncorporation": "..dateOfBirthOrIncorporation..",
    "dateOfBirthOrIncorporationExactMatch": true/false,
    "placeOfBirth": "..placeOfBirth..",
    "zipcode": "..zipcode..",
    "country": "..country..",
    "countryExactMatch": true/false,
    "searchText": ["..searchText.."],
    "aliasArray": ["..aliasArray.."]
}`)

  client := &http.Client {
  }
  req, err := http.NewRequest(method, url, payload)

  if err != nil {
    fmt.Println(err)
    return
  }
  req.Header.Add("Authorization", "<Token>")
  req.Header.Add("Content-Type", "application/json")

  res, err := client.Do(req)
  if err != nil {
    fmt.Println(err)
    return
  }
  defer res.Body.Close()

  body, err := ioutil.ReadAll(res.Body)
  if err != nil {
    fmt.Println(err)
    return
  }
  fmt.Println(string(body))
}
```
:::

### Response

The API response will contain information related to various entities and their scores. Here is an example of the expected response structure:

:::CodeblockTabs
200

```json
Response
{
    "result": {
        "requestId": "6662cde79a6f9267e8b1cfff"
    }
}
```
:::

Detailed Response parameters for one of the Database Category, Example PEP:

| Property  | Example Value            | Description                               |
| --------- | ------------------------ | ----------------------------------------- |
| requestId | 6662cde79a6f9267e8b1cfff | This is the request ID for the batch mode |

***

**Contact Us for Any Assistance**

If you have any questions or need assistance, please reach out to our customer support team. You can contact us via email at <font color="#2166ae">**help\@signzy.com**</font>. We strive to provide prompt and reliable assistance, ensuring your queries are addressed effectively.

We value your feedback and are committed to making your experience smooth and enjoyable. Our team is dedicated to assisting you with any needs you may have. Thank you for choosing our services. We look forward to helping you!
