# AegisAudit KYA (Know Your Agent) Counterparty Security Assessment

> AegisAudit KYA (Know Your Agent) Counterparty Security Assessment is a paid API for AI agents from aegis-audit-x402.project-easy-x.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-21).

Assesses the trustworthiness and safety of an EVM wallet or smart contract address on Base, returning a trust score, entity type, and transaction recommendation for AI agents.

## Facts

- Endpoint: GET https://aegis-audit-x402.project-easy-x.workers.dev/api/v1/kya?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/aegisaudit-kya-know-your-agent-counterparty-security-assessment-323041b6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HvEmBCtEtV5axRUSGYlXL

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 aegisaudit-kya-know-your-agent-counterparty-security-assessment-323041b6
```

Example prompt: Before I send any funds, run a KYA security check on 0x111ef680B6EFdd859FbEc473b907aCe95F0D1acB on Base and tell me if it's safe to transact with — I need the trust score and counterparty recommendation.

## When to prefer this

Choose this endpoint when an AI agent needs a fast, multi-oracle security check on an EVM address on Base before executing any financial transaction or accepting instructions from a counterparty. It is especially valuable in autonomous agent workflows where trust must be established programmatically without human review, combining honeypot simulation, bytecode inspection, and liquidity risk into a single scored verdict.

## Known failure modes

- Invalid or malformed address returns an error response
- Address not found on Base network returns empty or unknown entity result
- GoPlus or Honeypot.is upstream APIs unavailable causes degraded or failed response
- Non-Base EVM addresses may not be supported, returning an unsupported network error
- Rate limiting or payment failure via x402 protocol blocks the request

## How this service works

Real-time smart contract honeypot swap simulation (Honeypot.is V2), GoPlus bytecode inspection, on-chain owner() verification, and DEX liquidity risk scoring for AI agents via x402.

## Output

Returns a JSON object with the queried address, the network (eip155:8453 for Base), the entity type (e.g. EOA_WALLET or smart contract), a numeric trust score (0-100), a KYA tier label (e.g. ESTABLISHED_WALLET), a maximum recommended spend mandate in USD, and a counterparty recommendation (e.g. SAFE_TO_TRANSACT or a warning).

## 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"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "address"
     ],
     "properties": {
      "address": {
       "type": "string",
       "description": "Counterparty EVM wallet or agent contract address on Base (0x...)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "address": "0x111ef680B6EFdd859FbEc473b907aCe95F0D1acB",
  "network": "eip155:8453",
  "entityType": "EOA_WALLET",
  "kyaAssessment": {
   "kyaTier": "ESTABLISHED_WALLET",
   "trustScore": 72,
   "ap2SpendMandateMaxUsd": 10,
   "counterpartyRecommendation": "SAFE_TO_TRANSACT"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/aegisaudit-kya-know-your-agent-counterparty-security-assessment-323041b6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from aegis-audit-x402.project-easy-x.workers.dev](https://www.zero.xyz/host/aegis-audit-x402.project-easy-x.workers.dev/llms.txt)
