# AgentBIT JSON Validate

> AgentBIT JSON Validate is a paid API for AI agents from agentbit.app, paid per call via x402, $0.0015/call, status unknown (last checked 2026-09-13).

Validates a JSON string for syntactic correctness and well-formedness

## Facts

- Endpoint: POST https://agentbit.app/v1/json/validate
- Price: $0.0015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentbit-json-validate-afd3d275
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HdF60jOwPUix4CD1invas

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 agentbit-json-validate-afd3d275 -d '<json body>'
```

Example prompt: Can you check if this string is valid JSON: '{"name":"Alice","age":30,"active":true}'?

## When to prefer this

Choose this endpoint when you need a quick, serverless, pay-per-call JSON syntax check without setting up a local parser or managing API keys. Ideal for AI agents that receive untrusted user input or external API payloads and need to gate downstream processing on valid JSON.

## Known failure modes

- Empty or missing input field returns an error
- Non-string input types may cause unexpected behavior
- Very large JSON strings may hit payload size limits
- Payment failure or insufficient USDC balance blocks the call

## How this service works

Live web, business, finance and security tools for AI agents. Pay per call with x402 — no signup, no API keys.

## Output

Returns a JSON object indicating whether the input string is valid JSON, along with any parse errors or structural issues found during validation.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

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