# INCOME 2 Agent Tools – x402 Buyer Check

> INCOME 2 Agent Tools – x402 Buyer Check is a paid API for AI agents from earn-tools-backend.onrender.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-15).

Probes a URL to detect whether it returns an x402 payment challenge, validating that an endpoint is a legitimate x402-gated payable resource before a buyer commits funds.

## Facts

- Endpoint: POST https://earn-tools-backend.onrender.com/x402-buyer-check
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/income-2-agent-tools-x402-buyer-check-137d2672
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xDbwCHSU6lwuq5PIDWm9J

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 income-2-agent-tools-x402-buyer-check-137d2672 -d '<json body>'
```

Example prompt: Before I try to pay and call that API at https://some-paid-service.com/data, can you check if it's actually a real x402-gated endpoint and tell me what network and version it's running on?

## When to prefer this

Use this endpoint as a pre-flight step before any x402 payment execution to confirm a target URL is genuinely serving an x402 payment challenge. Prefer it when an agent needs to validate a newly discovered paid API, debug a failing x402 integration, or avoid wasting buyer funds on non-functional or non-x402 endpoints. It is a zero-cost probe (free beta) and idempotent, making it safe to call repeatedly.

## Known failure modes

- Target URL is not x402-enabled — returns 200 or other non-402 status, ok may be false
- Target URL is unreachable or times out — connection error returned
- Malformed URL input — validation error on the uri format
- Target endpoint is x402 but on an unsupported network — result may still return but network field will differ from expected
- Rate limiting or service unavailability on the probe infrastructure itself

## How this service works

Low-cost x402 pay-per-call tools for autonomous buyers. Web extraction returns static public pages as clean markdown; every payable operation declares x-payment-info and a 402 response. Free betas: Agent Purchase Guard adds retry-safe purchase intent controls; Outcome Router accepts a desired result plus max budget and autonomously discovers fulfillment, tries zero-dollar proof-of-work first, and supports buyer-signed x402 paid execution where available.

Buyer-signed paid HYDRA execution
- Outcome request: POST https://earn-tools-backend.onrender.com/outcome-router
- Paid execution: POST https://earn-tools-backend.onrender.com/outcome-router/execute/{requestId}
- First execution call returns the relayed Agent402 Smart Order Router x402 PAYMENT-REQUIRED challenge.
- An x402-capable buyer wallet signs locally and retries with PAYMENT-SIGNATURE.
- HYDRA forwards the proof and returns the routed result.
- HYDRA never receives the buyer private key or uses owner working capital.
- Current beta platform fee: $0. Higher paid tiers are not auto-escalated.

## Output

Returns a JSON object with an 'ok' boolean and a 'result' object containing: HTTP status (expected 402), the blockchain network identifier (e.g. 'eip155:8453' for Base), a noStore flag, the x402Version integer, and an x402Challenge boolean confirming the challenge is present. This lets the calling agent confirm the endpoint is a valid x402-gated resource before signing and submitting payment.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "format": "uri"
  },
  "body": {
   "type": "object",
   "additionalProperties": true
  },
  "method": {
   "enum": [
    "GET",
    "POST"
   ],
   "type": "string",
   "default": "GET"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "result": {
   "status": 402,
   "network": "eip155:8453",
   "noStore": true,
   "x402Version": 2,
   "x402Challenge": true
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/income-2-agent-tools-x402-buyer-check-137d2672/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from earn-tools-backend.onrender.com](https://www.zero.xyz/host/earn-tools-backend.onrender.com/llms.txt)
