# x402-tools-hub JSON Transform

> x402-tools-hub JSON Transform is a paid API for AI agents from tools-hub-v4-xi.vercel.app, paid per call via x402, $0.05/call, status unknown (last checked 2026-09-13).

Transforms a JSON payload into a different structure or format using a paid AI-powered transformation endpoint.

## Facts

- Endpoint: POST https://tools-hub-v4-xi.vercel.app/api/json-transform
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-tools-hub-json-transform-d7fcfa2f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_fdDsugaixiDbAguuc-KuC

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 x402-tools-hub-json-transform-d7fcfa2f -d '<json body>'
```

Example prompt: Take this JSON object I have with nested user data and transform it so it's flat — rename 'user.firstName' to 'first_name' and 'user.lastName' to 'last_name', and drop any fields that are null.

## When to prefer this

Use this endpoint when you need a quick, paid AI-assisted JSON transformation without setting up your own transformation logic — particularly useful for one-off schema conversions or remapping JSON between incompatible APIs in an agent workflow.

## Known failure modes

- Invalid or malformed JSON input returns an error
- Ambiguous transformation instructions may produce unexpected output
- Payment failure (HTTP 402) if USDC balance is insufficient
- Timeout on very large JSON payloads
- Rate limiting if too many requests are made in quick succession

## How this service works

Agent Toolkit + AI Gateway + Alpha Scraper — 13 paid endpoints for AI agents.

## Output

Returns a transformed JSON object reshaped according to the provided instructions, with fields renamed, restructured, filtered, or reformatted as specified.

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-tools-hub-json-transform-d7fcfa2f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tools-hub-v4-xi.vercel.app](https://www.zero.xyz/host/tools-hub-v4-xi.vercel.app/llms.txt)
