# GPT-5.5 x402 JSON Validate Tool

> GPT-5.5 x402 JSON Validate Tool is a paid API for AI agents from gpt55.558686.xyz, paid per call via x402, $0.0001/call, status unknown (last checked 2026-09-13).

Validates and optionally pretty-prints JSON input, returning parse status and formatted output via x402 micropayment on Base.

## Facts

- Endpoint: GET https://gpt55.558686.xyz/v1/tools/json-validate
- Price: $0.0001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/gpt-5-5-x402-json-validate-tool-e106de79
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fCdrMW3zWvTyjKhG_5OkO

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 gpt-5-5-x402-json-validate-tool-e106de79
```

Example prompt: Can you check if this is valid JSON and show me the pretty-printed version: '{"name":"Alice","age":30,"active":true}'?

## When to prefer this

Use this endpoint when you need a quick, cheap ($0.0001 USDC) serverless JSON validation and formatting check without a subscription, especially in automated pipelines that already use x402 micropayment infrastructure on Base.

## Known failure modes

- Missing required 'json', 'text', or 'value' query parameter returns error
- Invalid or malformed input causes parse failure with ok: false
- max_output_chars out of range (must be 100-20000) causes validation error
- Payment failure via x402 returns 402 status
- Network timeout on the gateway returns connection error

## How this service works

Validate JSON text or normalize a JSON value, returning parse status, type, size, and optional formatted output. This deterministic endpoint does not call an upstream model. Pay up to $0.001 per request with x402 USDC on Base. Public paid calls are limited to 1500 input characters and 128 output tokens.

## Output

Returns a JSON object with ok (boolean), tool name ('jsonValidate'), a summary of parse status, and optionally formatted/pretty-printed JSON output up to the specified character limit.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "json": {
    "age": 30,
    "name": "Alice",
    "active": true
   },
   "pretty": true,
   "max_output_chars": 5000,
   "include_formatted": true
  }
 },
 "output": {
  "type": "object",
  "example": {
   "ok": true,
   "tool": "json-validate",
   "fetchedAt": "2024-01-15T10:30:00Z"
  }
 }
}
```

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "additionalProperties": true
    },
    "queryParams": {
     "type": "object",
     "anyOf": [
      {
       "required": [
        "json"
       ]
      },
      {
       "required": [
        "text"
       ]
      },
      {
       "required": [
        "value"
       ]
      }
     ],
     "properties": {
      "json": {
       "oneOf": [
        {
         "type": "string"
        },
        {
         "type": "object",
         "additionalProperties": true
        },
        {
         "type": "array"
        },
        {
         "type": "number"
        },
        {
         "type": "boolean"
        },
        {
         "type": "null"
        }
       ]
      },
      "text": {
       "type": "string"
      },
      "value": {
       "description": "Any JSON value"
      },
      "pretty": {
       "type": "boolean"
      },
      "max_output_chars": {
       "type": "integer",
       "maximum": 20000,
       "minimum": 100
      },
      "include_formatted": {
       "type": "boolean"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "tool": {
       "type": "string"
      },
      "fetchedAt": {
       "type": "string"
      }
     },
     "additionalProperties": true
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/gpt-5-5-x402-json-validate-tool-e106de79/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gpt55.558686.xyz](https://www.zero.xyz/host/gpt55.558686.xyz/llms.txt)
