> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dojah.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Business AML screening

> Screen a business by name against sanctions, watchlists, PEP and adverse media, then fetch full match details for any candidate.

<div className="dj-endpoint">
  <span className={`dj-method dj-method-post`}>POST</span>
  <code>/api/v1/aml/screening/organization</code>
</div>

Screen a business by name against sanctions, watchlists, PEP and adverse-media sources, then pull full match details for any candidate it returns.

## Headers

| Header          | Required | Description                                         |
| --------------- | -------- | --------------------------------------------------- |
| `Authorization` | Yes      | Your app's secret key, sent as-is — *not* `Bearer`. |
| `AppId`         | Yes      | The App ID from your dashboard.                     |
| `Content-Type`  | Yes      | `application/json`                                  |

## Body parameters

| Parameter     | Type    | Required | Description                                                                                              |
| ------------- | ------- | -------- | -------------------------------------------------------------------------------------------------------- |
| `entity_name` | string  | Yes      | The business name to screen (e.g. `"Belinda Gates Foundation"`).                                         |
| `match_score` | integer | Yes      | Minimum name-match score to return, `0`–`100` (%) — controls how close a name must be to count as a hit. |

## Response

Returns a `matchResults` array of candidate profiles. Each entry has a `MatchType` (e.g. `"Entity"`), the matched `Name`, a `ProfileId`, and a `NameMatchScore` (`0`–`1`). The business screen returns only these lightweight candidates — it does *not* embed the underlying sanctions, PEP or adverse-media records.

## Get full match details

Take the `ProfileId` of any candidate and call `GET /api/v2/aml/screening/info` with it as the `profile_id` query parameter to retrieve the full, normalised match — `match_score`, `entryCategory`, `watch`, aliases and the supporting `media` articles. See [AML Screening → Fetch match details](/api-reference/aml-background/aml-screening#fetch-match-details) for the full response shape.

```bash cURL theme={null}
curl "https://api.dojah.io/api/v2/aml/screening/info?profile_id=57994afb-357b-4288-bc5d-9f3954d037e3" \
  -H "Authorization: {{secret_key}}" \
  -H "AppId: {{app_id}}"
```

## Errors

| Code  | Meaning                                                                                       |
| ----- | --------------------------------------------------------------------------------------------- |
| `400` | Bad request — a required field is missing or malformed.                                       |
| `401` | Unauthorized — check your key and `AppId` (no `Bearer` prefix).                               |
| `402` | Insufficient wallet balance. [Fund your wallet](/api-reference/core-concepts/wallet-billing). |
| `429` | Too many requests — back off and retry.                                                       |

<RequestExample>
  ```bash cURL theme={null}
  curl -X POST "https://api.dojah.io/api/v1/aml/screening/organization" \
    -H "Authorization: {{secret_key}}" \
    -H "AppId: {{app_id}}" \
    -H "Content-Type: application/json" \
    -d '{
      "entity_name": "Belinda Gates Foundation",
      "match_score": 70
    }'
  ```

  ```js Node.js theme={null}
  const res = await fetch("https://api.dojah.io/api/v1/aml/screening/organization", {
    method: "POST",
    headers: {
      Authorization: process.env.DOJAH_SECRET_KEY,
      AppId: process.env.DOJAH_APP_ID,
      "Content-Type": "application/json",
    },
    body: JSON.stringify({
      entity_name: "Belinda Gates Foundation",
      match_score: 70
    }),
  });
  const data = await res.json();
  ```

  ```python Python theme={null}
  import os, requests

  res = requests.post(
      "https://api.dojah.io/api/v1/aml/screening/organization",
      headers={
          "Authorization": os.environ["DOJAH_SECRET_KEY"],
          "AppId": os.environ["DOJAH_APP_ID"],
      },
      json={
          "entity_name": "Belinda Gates Foundation",
          "match_score": 70,
      },
  )
  data = res.json()
  ```
</RequestExample>

<ResponseExample>
  ```json POST /api/v1/aml/screening/organization theme={null}
  {
    "matchResults": [
      {
        "MatchType": "Entity",
        "Name": "Gates Foundation",
        "ProfileId": "57994afb-357b-4288-bc5d-9f3954d037e3",
        "NameMatchScore": 0.2
      }
    ]
  }
  ```
</ResponseExample>
