# Countersign Pre-Payment Address Check

> Countersign Pre-Payment Address Check is a paid API for AI agents from apexfaucet.xyz, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-12).

Validates a crypto wallet address before sending payment, flagging lookalike/scam addresses and checking asset legitimacy across multiple chains.

## Facts

- Endpoint: GET https://apexfaucet.xyz/api/x402/countersign?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/countersign-pre-payment-address-check-29692b30
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uV6Kt4sOotE53ScBPL1H5

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 countersign-pre-payment-address-check-29692b30
```

Example prompt: Before I send 50 USDC to 0xAbC1234...5678 on Base, can you run a countersign pre-payment check on that address to make sure it's safe and not a lookalike of any address I normally pay?

## When to prefer this

Use this endpoint when an AI agent or automated system is about to execute a crypto payment and needs a programmatic pre-flight safety check on the recipient address. It is especially valuable when lookalike-address phishing is a concern, when paying new or unverified counterparties, or when you want to cross-reference against a known-good payees list. It supports multiple major chains (Base, Ethereum, Solana, BNB, Arc, X1) and validates stablecoin asset contracts simultaneously, making it a one-stop pre-payment screen. Prefer this over manual block-explorer lookups when speed and automation are needed.

## Known failure modes

- Invalid address format returns a 400-style error — address must match 0x EVM hex or base58 Solana format
- Unsupported chain value returns a validation error — must be one of: base, ethereum, arc, bnb, solana, x1 or eip155 equivalents
- Asset address doesn't match a known stablecoin contract — flagged or denied
- Known payees list exceeds 50 entries — truncated or rejected
- Payment not received (x402 flow failure) — API returns 402 before executing the check
- Malformed amount string (non-numeric or too many decimal places) — schema validation error

## How this service works

APEX. Check an address before you pay it. Pass ?payTo=&chain= (base, ethereum, arc, bnb, solana, x1; x402 names like eip155:8453 work) and optionally amount, asset, payer, known (comma list of payees you already pay), or requirement= (the x402 402 body or base64 PAYMENT-REQUIRED header as-is, with chain= the chain you will pay on).

## Output

Returns a JSON object with an 'ok' boolean indicating whether the address passed all checks, a 'data' object with detailed findings (risk signals, lookalike matches, asset contract validity), and a 'paid' number reflecting the micro-fee charged per call.

## 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",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "payTo",
      "chain"
     ],
     "properties": {
      "asset": {
       "type": "string",
       "pattern": "^(0x[0-9a-fA-F]{40}|[1-9A-HJ-NP-Za-km-z]{32,44})$",
       "description": "Token contract being paid; checked against the official USDC/USDT/USD1 contract."
      },
      "chain": {
       "enum": [
        "base",
        "ethereum",
        "arc",
        "bnb",
        "solana",
        "x1",
        "eip155:1",
        "eip155:8453",
        "eip155:5042",
        "eip155:56"
       ],
       "type": "string",
       "description": "The chain you will pay on."
      },
      "known": {
       "type": "string",
       "description": "Comma-separated payees you already pay (up to 50); a lookalike of one is DENY."
      },
      "payTo": {
       "type": "string",
       "pattern": "^(0x[0-9a-fA-F]{40}|[1-9A-HJ-NP-Za-km-z]{32,44})$",
       "description": "The address you are about to pay (0x on EVM chains, base58 on Solana/X1)."
      },
      "amount": {
       "type": "string",
       "pattern": "^[0-9]{1,12}([.][0-9]{1,18})?$",
       "description": "Amount in the asset's units (dollars for a stablecoin)."
      }
     }
    }
   }
  },
  "output": {
   "type": "object"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "schema": {
  "type": "object",
  "properties": {
   "ok": {
    "type": "boolean"
   },
   "data": {
    "type": "object"
   },
   "paid": {
    "type": "number"
   }
  }
 },
 "example": {
  "ok": true,
  "data": {
   "ok": true,
   "asset": {
    "address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
    "official": "USDC"
   },
   "chain": "ethereum",
   "payTo": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
   "payer": null,
   "amount": 25,
   "chainId": 1,
   "checkId": "0xcdc78d2f1f1bc1210f1f24d2e7f7dc0e8900f1ee06d7b8c610c12786b7f8c03b",
   "reasons": [
    {
     "code": "poisoning_not_indexed",
     "text": "Chain-wide poisoning data exists only for Arc so far; on this chain the lookalik…",
     "severity": "info"
    }
   ],
   "summary": "No check found a reason to stop this payment. That is not a guarantee: it means …",
   "verdict": "ALLOW",
   "verdictCode": 0
  },
  "paid": 0.005
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/countersign-pre-payment-address-check-29692b30/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from apexfaucet.xyz](https://www.zero.xyz/host/apexfaucet.xyz/llms.txt)
