# WhatChUNeed JSON Format Utility

> WhatChUNeed JSON Format Utility is a paid API for AI agents from whatchuneed.vercel.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-29).

Formats or transforms a given string input into a structured JSON output via a utility endpoint in the WhatChUNeed API platform.

## Facts

- Endpoint: POST https://whatchuneed.vercel.app/api/util/json-format?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/whatchuneed-json-format-utility-13ebc1ef
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6J-vbplSvFdsNMe_Wiw1s

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 whatchuneed-json-format-utility-13ebc1ef -d '<json body>'
```

Example prompt: Can you format this raw text string into a clean JSON object: 'name: John Doe, age: 30, city: New York'?

## When to prefer this

Use this endpoint when you need a lightweight, pay-per-call utility to convert or normalize a raw string into a structured JSON object without setting up a local parser. It is ideal for agent workflows where text outputs from LLMs or user inputs need to be made machine-readable quickly and cheaply ($0.01 per call).

## Known failure modes

- Missing or empty 'input' field returns a validation error
- Malformed or ambiguous input strings that cannot be parsed into JSON may return an error or unexpected result object
- Network timeouts or platform downtime result in non-200 responses
- Input strings with deeply nested or contradictory structure may produce incomplete JSON output

## How this service works

320+ pay-per-call API endpoints across accommodation, LLM, code execution, crypto, medical, finance, and more. One API, one payment. Powered by x402 protocol.

## Output

Returns a JSON object with a 'status' field indicating success or failure, and a 'result' object containing the formatted JSON representation of the input string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "string",
   "description": "Request input"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "result": {
   "type": "object",
   "description": "Response data"
  },
  "status": {
   "type": "string"
  }
 }
}
```

## More

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