Skip to content
Fourohtwo

apexfaucet.xyz/api/x402/json-toolbox

Deterministic JSON Schema validator, structural JSON diff, dot-path query, flatten/unflatten, and JSON<->CSV converter (APEX). Pass op=validate|diff|flatten|unflatten|to_csv|from_csv|query with data (and schema/b/path/csv) via GET or POST JSON. Sub-5ms execution, zero external calls.

BaseArcSolanaAnswering
GEThttps://apexfaucet.xyz/api/x402/json-toolbox

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://apexfaucet.xyz/api/x402/json-toolbox?data=%7B%22email%22%3A%22dev%40apexfaucet.xyz%22%2C%22amount%22%3A5%7D&op=validate&schema=%7B%22type%22%3A%22object%22%2C%22required%22%3A%5B%22email%22%2C%22amount%22%5D%2C%22properties%22%3A%7B%22email%22%3A%7B%22type%22%3A%22string%22%2C%22format%22%3A%22email%22%7D%2C%22amount%22%3A%7B%22type%22%3A%22number%22%2C%22minimum%22%3A1%7D%7D%7D");
console.log(await res.json());

Example input

{
  "data": "{\"email\":\"dev@apexfaucet.xyz\",\"amount\":5}",
  "op": "validate",
  "schema": "{\"type\":\"object\",\"required\":[\"email\",\"amount\"],\"properties\":{\"email\":{\"type\":\"string\",\"format\":\"email\"},\"amount\":{\"type\":\"number\",\"minimum\":1}}}"
}