# AML Risk Score Calculator

> AML Risk Score Calculator is a paid API for AI agents from api.strale.io, paid per call via x402, $0.0216/call, status unknown (last checked 2026-09-14).

Calculates a composite Anti-Money Laundering (AML) risk score (0-100) for a person or company by aggregating sanctions screening, PEP status, and jurisdiction risk into a single risk level classification.

## Facts

- Endpoint: GET https://api.strale.io/x402/aml-risk-score
- Price: $0.0216/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/api-strale-io-2129b2ce
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cYNDusJCcMl2LmsJ2w9A4

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability api-strale-io-2129b2ce
```

Example prompt: What's the AML risk score for Ivan Petrov from Russia — he's a person and we have a sanctions match but no PEP flag and no adverse media?

## When to prefer this

Use this endpoint when you need a single aggregated AML risk score rather than running separate sanctions, PEP, and jurisdiction checks. Ideal for KYC/AML compliance workflows, onboarding due diligence, and automated risk triage where a normalized 0-100 score with risk level classification simplifies downstream decision-making.

## Known failure modes

- Missing required entity_name or country_code returns a 400 validation error
- Invalid or unrecognized ISO country code may result in an error or degraded score
- Incorrect entity_type value outside 'person' or 'company' may cause unexpected results
- Payment failure or insufficient USDC balance returns a 402 Payment Required
- Network timeout or service unavailability returns a 5xx error

## How this service works

Calculate a composite Anti-Money Laundering (AML) risk score for a person or company. Aggregates sanctions screening, PEP status, and jurisdiction risk into a single 0-100 risk score with risk level classification.

## Output

Returns a composite AML risk score from 0 to 100 along with a risk level classification (e.g. low, medium, high), reflecting aggregated signals from sanctions screening, PEP status, and jurisdiction risk for the specified entity.

## Example request

```json
{
 "pep_match": false,
 "entity_name": "John Smith",
 "entity_type": "person",
 "country_code": "US",
 "sanctions_match": false,
 "adverse_media_match": false
}
```

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "entity_name",
      "country_code"
     ],
     "properties": {
      "pep_match": {
       "type": "boolean",
       "description": "Whether entity is a Politically Exposed Person"
      },
      "entity_name": {
       "type": "string",
       "description": "Name of person or company"
      },
      "entity_type": {
       "type": "string",
       "description": "Type of entity: person or company (default: person)"
      },
      "country_code": {
       "type": "string",
       "description": "ISO 2-letter country code"
      },
      "sanctions_match": {
       "type": "boolean",
       "description": "Whether entity appears on sanctions lists"
      },
      "adverse_media_match": {
       "type": "boolean",
       "description": "Whether adverse media was found"
      }
     }
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/api-strale-io-2129b2ce/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.strale.io](https://www.zero.xyz/host/api.strale.io/llms.txt)
