# INCOME 2 Agent Tools – JSON Q&A / Data Validation

> INCOME 2 Agent Tools – JSON Q&A / Data Validation 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).

Accepts an array of JSON records and returns quality analysis including record count and duplicate detection

## Facts

- Endpoint: POST https://earn-tools-backend.onrender.com/json-qa
- 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-json-q-a-data-validation-b64cdd54
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fnTvxZ9jW9lBf9qD7bddc

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-json-q-a-data-validation-b64cdd54 -d '<json body>'
```

Example prompt: Can you check this batch of 200 customer records for duplicates and tell me how many unique entries there are?

## When to prefer this

Choose this endpoint when you need a cheap, pay-per-call ($0.001 USDC) way to validate and deduplicate a JSON array of up to 500 records without standing up your own data-quality infrastructure. Especially useful for autonomous agents running lightweight pre-ingestion checks before writing to a database or pipeline.

## Known failure modes

- Array exceeds 500 items — request rejected with validation error
- Malformed JSON body — parse error returned
- Empty records array — returns recordCount of 0 with no duplicates
- Payment not provided or invalid x402 signature — 402 Payment Required response
- Network timeout on large payloads close to the 500-record limit

## 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 'recordCount' (total number of records submitted) and 'duplicateRows' (number of duplicate entries detected in the array).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "records": {
   "type": "array",
   "items": {},
   "maxItems": 500
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "result": {
   "recordCount": 2,
   "duplicateRows": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/income-2-agent-tools-json-q-a-data-validation-b64cdd54/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)
