# minia2a x402-json-validate

> minia2a x402-json-validate is a paid API for AI agents from minia2a.uk, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-14).

Validates a JSON request structure — including type, HTTP method, body type, query params, and output type — against expected schema rules

## Facts

- Endpoint: GET https://minia2a.uk/x402/json-validate
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/minia2a-x402-json-validate-3e771659
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_9AMz-M5pLcZDYInPBlkdu

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 minia2a-x402-json-validate-3e771659
```

Example prompt: Can you validate this JSON request structure for me — it's a GET method with a JSON body type and query params like {"userId": "string"}, and the expected output type is object?

## When to prefer this

Use this endpoint when you need to programmatically verify that a JSON-described API request object conforms to expected structure before executing it — especially useful in agentic workflows where requests are dynamically constructed and must be validated before submission.

## Known failure modes

- Missing required 'input' field returns a validation error
- Unrecognized HTTP method value may fail validation
- Malformed queryParams object structure causes parse error
- Network or payment errors (402) if USDC payment not properly provided
- Empty or null input causes schema rejection

## How this service works

minia2a service: x402-json-validate

## Output

Returns a validation result indicating whether the submitted JSON request structure (method, body type, query params, output type) is valid, along with any errors or conformance issues found.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "method": {
     "type": "string"
    },
    "bodyType": {
     "type": "string"
    },
    "queryParams": {
     "type": "object"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/minia2a-x402-json-validate-3e771659/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from minia2a.uk](https://www.zero.xyz/host/minia2a.uk/llms.txt)
