# Agent Payload Tools – Payload Inspect

> Agent Payload Tools – Payload Inspect is a paid API for AI agents from api.agent-payload-tools.workers.dev, paid per call via x402, $0.003/call, status unknown (last checked 2026-09-14).

Heuristically inspects a payload string to detect its encoding, format, or data type (e.g. Base64, JWT, JSON, hex, crypto data).

## Facts

- Endpoint: POST https://api.agent-payload-tools.workers.dev/payload-inspect
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-payload-tools-payload-inspect-904d2129
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_F9fum7pFFtWbh_7PXf3_N

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 agent-payload-tools-payload-inspect-904d2129 -d '<json body>'
```

Example prompt: Can you inspect this string for me and tell me what format or encoding it is — 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIn0.dozjgNryP4J3jVmNHl0w5N_5rRXiH0Jc'?

## When to prefer this

Choose this endpoint when you need a quick, deterministic heuristic classification of an unknown payload string — especially useful in agent pipelines that receive opaque data from external APIs and need to route or decode it correctly before further processing. Prefer this over manual regex or custom parsing when the format is uncertain and could be one of many standard types (JWT, JSON, Base64, hex, etc.).

## Known failure modes

- Empty or missing 'input' field returns an error or empty result
- Ambiguous payload that matches multiple formats may return low-confidence or multiple candidate types
- Very large payloads may be truncated or rejected
- Unrecognized or proprietary formats may return an 'unknown' classification
- Network or worker timeout on unusually complex inputs

## How this service works

Detect JSON, JWT, Base64, hexadecimal, and URL-encoded payload forms without executing code.

## Output

A heuristic analysis result indicating the detected format, encoding, or type of the submitted payload string — such as Base64, JWT, hex, JSON, or other recognizable data structures, along with any structural details the inspector can infer.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "description": "Payload text to inspect heuristically."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-payload-tools-payload-inspect-904d2129/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.agent-payload-tools.workers.dev](https://www.zero.xyz/host/api.agent-payload-tools.workers.dev/llms.txt)
