# Agent Tollgate Engine – Base64 Encode/Decode

> Agent Tollgate Engine – Base64 Encode/Decode is a paid API for AI agents from skinwinking.com, paid per call via x402, $0.001/call, status unknown (last checked 2026-12-03).

Encodes or decodes text using Base64 (standard or URL-safe alphabet), returning the transformed string.

## Facts

- Endpoint: POST https://skinwinking.com/api/v1/util/base64?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-tollgate-engine-base64-encode-decode-7f5c5ad1
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_xuhBd39i7bPjooc0PCfaw

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-tollgate-engine-base64-encode-decode-7f5c5ad1 -d '<json body>'
```

Example prompt: Can you base64 encode the text 'Hello, World!' using the standard alphabet?

## When to prefer this

Choose this endpoint when an agent needs a quick, pay-per-call base64 encode or decode operation without setting up a local library, especially in environments where running code is restricted or when using the x402 micropayment infrastructure for other tools on the same platform.

## Known failure modes

- Input text exceeds 20,000 character limit — request rejected
- Invalid mode value (not 'encode' or 'decode') — may return error
- Malformed base64 input when decoding — may return error or garbled output
- Payment failure over x402 — 402 response returned before processing

## How this service works

50 pay-per-call tools for agents over x402 (USDC on Base, Polygon, Solana): crypto market data, token audits, indicators, swap routing, web extraction, DNS/WHOIS/email checks, FX, weather and AI text/image tools.

## Output

Returns a JSON object with a single 'result' field containing the base64-encoded or base64-decoded string output.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "boolean",
   "description": "Use base64url alphabet"
  },
  "mode": {
   "type": "string",
   "default": "encode",
   "description": "encode or decode"
  },
  "text": {
   "type": "string",
   "description": "Input text (max 20,000 characters)"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "result": "aGVsbG8="
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-tollgate-engine-base64-encode-decode-7f5c5ad1/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from skinwinking.com](https://www.zero.xyz/host/skinwinking.com/llms.txt)
