# Crypto-Sanity Payload Validator

> Crypto-Sanity Payload Validator is a paid API for AI agents from gateway.apiosk.com, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Validates a crypto-related payload for structural correctness and logical sanity, returning any detected issues

## Facts

- Endpoint: POST https://gateway.apiosk.com/crypto-sanity/validate/payload
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/crypto-sanity-payload-validator-3e5d6a24
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9Q0Xtys60J3xuHxYv8LDy

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 crypto-sanity-payload-validator-3e5d6a24 -d '<json body>'
```

Example prompt: Can you sanity-check this crypto payload I'm about to submit and tell me if there are any structural issues or logical problems with it?

## When to prefer this

Use this endpoint when you need a quick, cheap pre-flight check on a crypto payload before submitting it to a live blockchain or exchange endpoint — especially to catch structural errors, missing fields, or logical inconsistencies without spending gas or risking rejection downstream.

## Known failure modes

- Malformed or unparseable request body returns validation error
- Missing required payload fields may result in structural_valid: false with issues listed
- Network timeout if gateway is unreachable
- Payment failure if insufficient USDC balance for x402 protocol
- Unexpected payload schema may produce unrecognized issues

## How this service works

Validate the structure of an x402 payment payload before an agent signs or submits it.

## Output

Returns a JSON object with an 'ok' boolean indicating overall pass/fail, an 'issues' array listing any detected problems, and a 'structural_valid' boolean confirming whether the payload is structurally well-formed.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/crypto-sanity-payload-validator-3e5d6a24/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gateway.apiosk.com](https://www.zero.xyz/host/gateway.apiosk.com/llms.txt)
