InputPOST /api/v1/x402/json-pretty
{
"json_text": "{\"agent\":\"delx\",\"ready\":true}"
}
Web and API intelligence · utility
Pretty-print JSON. Call before showing configs to humans or attaching readable debug dumps. Returns indented JSON text; invalid JSON returns a structured error. $0.001 USDC per successful call via x402 on Base—deterministic first-party JSON, no API key, no subscription, and nothing is billed on structured validation errors.
One-command purchase
No account or API key. AgentCash reads the 402 challenge, pays no more than the declared cap, retries the request and returns the result.
npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/json-pretty -m POST -H 'x-delx-source: product-page' --max-amount 0.001 -b '{"json_text":"{\"agent\":\"delx\",\"ready\":true}"}'
{
"json_text": "{\"agent\":\"delx\",\"ready\":true}"
}
{
"schema": "delx/json-pretty/v1",
"text": "{\n \"agent\": \"delx\",\n \"ready\": true\n}"
}
Machine-readable evidence