# CounterpartyCheck by AgentGate

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

Screens an EVM or Solana address before payment or interaction, returning a verdict of ok/caution/block with OFAC SDN, scam list, on-chain, and label-based reasons.

## Facts

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

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-by-agentgate-0d497a5b
```

Example prompt: Before I send USDC to 0x098b716b8aaf21512996dc57eb0615e2383e2f96 on Ethereum, run a counterparty check and tell me if it's safe — I need to know if it's on any sanctions or scam lists and what kind of address it is.

## When to prefer this

Choose this endpoint when an AI agent is about to execute or approve a crypto payment and needs a fast, multi-signal risk verdict combining OFAC SDN sanctions screening, ScamSniffer scam lists, on-chain activity analysis, and known address labels in a single call. Prefer it over a pure sanctions-only check (like PayGuard) when you also want on-chain context such as address type, activity, and USDC balance. It supports EVM chains (Base, Ethereum, Polygon, Arbitrum) and Solana, making it a broad pre-payment safety gate for autonomous agents operating across chains.

## Known failure modes

- Invalid address format returns an error (non-hex EVM or malformed base58 Solana)
- Unsupported chain returns a validation error
- Address not yet on-chain may return limited facts with lower confidence
- OFAC or scam list data temporarily unavailable may reduce confidence or return partial results
- Rate limiting or payment failure returns 402 or 429 responses

## How this service works

Crypto address risk check API (pre-payment counterparty screening). Pre-payment counterparty check for agents: before paying or approving an EVM (Base, Ethereum, Polygon, Arbitrum) or Solana address, get ok / caution / block with reasons. Screens OFAC SDN and ScamSniffer scam lists, x402 Bazaar payee directory and known labels, and reads the address on-chain (wallet, contract, token contract, Safe, EIP-7702 delegation, activity, USDC balance).

## Output

A JSON object with a verdict field (ok, caution, or block), a confidence level (high/medium/low), a human-readable summary, an array of reasons each with a code, severity, and explanatory text, plus on-chain facts including address kind (eoa, contract, token, Safe, etc.), nonce, native balance, and USDC balance. Chain and intent are echoed back for confirmation.

## 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: crypto address risk check, wallet risk score, scam address check, counterparty screening, ofac wallet check, pre payment check"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "tier": {
       "type": "string"
      },
      "chain": {
       "type": "string"
      },
      "facts": {
       "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": "lite",
  "chain": "ethereum",
  "facts": {
   "kind": "eoa",
   "nonce": 38,
   "usdc_balance": 0,
   "native_balance": 101.8
  },
  "intent": "pay",
  "address": "0x098b716b8aaf21512996dc57eb0615e2383e2f96",
  "reasons": [
   {
    "code": "ofac_sdn",
    "text": "Listed on the US Treasury OFAC SDN list (LAZARUS GROUP, DPRK3). Do not pay or interact.",
    "severity": "danger"
   },
   {
    "code": "active",
    "text": "Active wallet: 38 outgoing transaction(s) on Ethereum.",
    "severity": "good"
   }
  ],
  "summary": "BLOCK: Listed on the US Treasury OFAC SDN list (LAZARUS GROUP, DPRK3). Do not pay or interact.",
  "verdict": "block",
  "confidence": "high"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/counterpartycheck-by-agentgate-0d497a5b/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)
