# SixPath JSON Transform

> SixPath JSON Transform is a paid API for AI agents from sixpath.vercel.app, paid per call via x402, $0.1968/call, status unknown (last checked 2026-09-14).

Transforms a JSON object by applying operations such as extracting keys, flattening nested structures, counting fields, or sorting data.

## Facts

- Endpoint: POST https://sixpath.vercel.app/api/json-transform
- Price: $0.1968/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sixpath-json-transform-93270701
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_TLgtCPvMebADUFsum7Xhr

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 sixpath-json-transform-93270701 -d '<json body>'
```

Example prompt: Take this JSON object and flatten it so all nested keys are top-level, using the 'flatten' operation: {"user": {"name": "Alice", "address": {"city": "NYC", "zip": "10001"}}}

## When to prefer this

Use this endpoint when you need quick, pay-per-call JSON utility operations — flattening nested objects, extracting keys, counting fields, or sorting — without setting up a local processing pipeline. Good for one-off JSON transformations in agentic workflows.

## Known failure modes

- Invalid operation string returns an error or unexpected result
- Malformed or non-object JSON data causes a processing failure
- Missing required fields (data or operation) results in a 400-level error
- Payment failure via x402 protocol prevents the call from completing

## How this service works

All-in-one API hub: Social Media, Jobs, Finance, Crypto, and Tools. Pay-per-call with x402 protocol on Base chain.

## Output

Returns a result object containing the transformed JSON after applying the requested operation, along with the operation name that was performed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object",
   "description": "JSON data to transform"
  },
  "operation": {
   "type": "string",
   "description": "Operation: keys, flatten, count, sort"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "result": {
   "type": "object"
  },
  "operation": {
   "type": "string"
  }
 }
}
```

## More

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