Skip to content
Fourohtwo

mcp.naxytra.com/mcp/http402/json.validate

JSON Schema validation (MCP tool "json.validate"), $0.01 USDC per call on Base mainnet ($0.001 on Base Sepolia), paid with x402; charged only if the call succeeds. Validates a JSON payload (any JSON value, or JSON text as a string) against a JSON Schema and returns valid plus every error with its JSON Pointer path. Supported keywords: type, required, properties, additionalProperties, items/prefixI

BaseBase SepoliaAnswering
POSThttps://mcp.naxytra.com/mcp/http402/json.validate

Uptime100% of 1 check in 30 days

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

// npm install fourohtwo
import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain, inside your spending rules.
const pay = createPayer({ privateKey: process.env.AGENT_KEY, maxPerCallUsd: "0.05" });
const res = await pay("https://mcp.naxytra.com/mcp/http402/json.validate", {
  method: "POST",
  headers: { "content-type": "application/json" },
  body: JSON.stringify({"id":1,"jsonrpc":"2.0","method":"tools/call","params":{"arguments":{"payload":"{\"id\": 7, \"name\": \"widget\"}","schema":{"properties":{"id":{"type":"integer"},"name":{"type":"string"}},"required":["id","name"],"type":"object"}},"name":"json.validate"}}),
});
console.log(await res.json());

Example input

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "payload": "{\"id\": 7, \"name\": \"widget\"}",
      "schema": {
        "properties": {
          "id": {
            "type": "integer"
          },
          "name": {
            "type": "string"
          }
        },
        "required": [
          "id",
          "name"
        ],
        "type": "object"
      }
    },
    "name": "json.validate"
  }
}

More from naxytraProvider status