# CounterpartyCheck Full by AgentGate

> CounterpartyCheck Full by AgentGate is a paid API for AI agents from api.youraitools.co, paid per call via x402, $0.05/call, status unknown (last checked 2026-10-23).

Performs a comprehensive pre-payment counterparty check on an EVM or Solana address, returning a verdict (block/warn/pass), confidence level, risk reasons, and on-chain facts before an agent sends funds.

## Facts

- Endpoint: GET https://api.youraitools.co/counterpartycheck/v1/full?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/counterpartycheck-full-by-agentgate-52819cf7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_OXi5S4rFCS_PvT0D5xbaF

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 counterpartycheck-full-by-agentgate-52819cf7
```

Example prompt: Before I send 50 USDC to 0x833589fcd6edb6e08f4c7c32d4f71b54bda02913 on Base, run a full counterparty check to make sure it's actually a safe wallet and not a token contract or known scam address.

## When to prefer this

Use this endpoint when an AI agent needs a comprehensive, multi-signal risk assessment before executing a crypto payment or approval — especially when the agent must justify its decision with labeled reasons and severity levels. Prefer the full tier over lighter checks when the payment is significant, the counterparty is unknown, or you need to distinguish token contracts from wallets, check verification status, and get an establishment age. Choose this over a simple sanctions screen (PayGuard) when you want on-chain contract analysis, not just OFAC matching.

## Known failure modes

- Missing or malformed address returns a validation error
- Unsupported chain value returns an enum error
- Address not found on specified chain may return limited facts with lower confidence
- Network or RPC timeout may cause delayed or failed response
- Solana address passed without specifying solana chain may default to base and fail lookup

## How this service works

Full crypto counterparty due diligence API. Full counterparty due diligence before an agent pays or interacts: quick plus age (first transaction or creation block), recent activity and direct exposure to sanctioned or scam-listed addresses, recent token approvals to the address (drainer pattern) and TokenVerdict for Base tokens; Solana adds history depth. Verdict ok / caution / block with reasons, confidence and missing_data.

## Output

Returns a JSON object with: verdict (block/warn/pass), confidence (high/medium/low), a human-readable summary, an array of reasons each with a severity (danger/warn/good) and explanatory text, on-chain facts (contract vs EOA, token metadata if applicable), address age and creation block, chain, and the original intent and address echoed back.

## 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": {
      "chain": {
       "enum": [
        "base",
        "ethereum",
        "polygon",
        "arbitrum",
        "solana"
       ],
       "type": "string",
       "description": "Chain of the payment (default base; a base58 address implies solana)"
      },
      "intent": {
       "enum": [
        "pay",
        "approve",
        "interact"
       ],
       "type": "string",
       "description": "What you are about to do (default pay): changes which signals matter, e.g. paying a token contract or approving an EOA"
      },
      "address": {
       "type": "string",
       "description": "Counterparty address: EVM 0x + 40 hex, or a Solana base58 address"
      }
     },
     "description": "Search intents: full wallet due diligence, address exposure check, drainer approvals check, wallet age, crypto risk report, counterparty aml"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "tier": {
       "type": "string"
      },
      "chain": {
       "type": "string"
      },
      "facts": {
       "type": "object"
      },
      "checks": {
       "type": "object"
      },
      "intent": {
       "type": "string"
      },
      "address": {
       "type": "string"
      },
      "reasons": {
       "type": "array"
      },
      "summary": {
       "type": "string"
      },
      "verdict": {
       "type": "string"
      },
      "confidence": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "tier": "full",
  "chain": "base",
  "facts": {
   "kind": "contract",
   "token": {
    "symbol": "USDC",
    "decimals": 6
   }
  },
  "checks": {
   "age": {
    "at": "2023-08-18T18:36:29.000Z",
    "days": 1160,
    "basis": "contract creation block",
    "block": 2797221,
    "known": true
   }
  },
  "intent": "pay",
  "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
  "reasons": [
   {
    "code": "token_contract",
    "text": "This is the USDC token contract itself, not a wallet: tokens sent to a token contract are usually lost.",
    "severity": "danger"
   },
   {
    "code": "known_label",
    "text": "Known address: USDC (Circle, Base).",
    "severity": "good"
   },
   {
    "code": "verified",
    "text": "Contract source verified on Sourcify (FiatTokenProxy).",
    "severity": "good"
   },
   {
    "code": "established",
    "text": "Established: contract creation block 1160 days ago (2023-08-18).",
    "severity": "good"
   }
  ],
  "summary": "BLOCK: This is the USDC token contract itself, not a wallet: tokens sent to a token contract are usually lost.",
  "verdict": "block",
  "confidence": "high"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/counterpartycheck-full-by-agentgate-52819cf7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.youraitools.co](https://www.zero.xyz/host/api.youraitools.co/llms.txt)
