# AgentBIT Base64 Encode

> AgentBIT Base64 Encode 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).

Encodes an input string to Base64 format via a pay-per-call API

## Facts

- Endpoint: POST https://agentbit.app/v1/encode/base64
- 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-base64-encode-b0427be4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_koSrE5PmNkpEyHOOZXPN3

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-base64-encode-b0427be4 -d '<json body>'
```

Example prompt: Can you base64 encode the string 'Hello, World!' for me?

## When to prefer this

Choose this endpoint when you need a quick, no-signup, pay-per-call Base64 encoding utility without setting up authentication or API keys — particularly useful in agent workflows where spinning up infrastructure is impractical and micro-payments via x402 are acceptable.

## Known failure modes

- Missing or empty 'input' field — likely returns a 400 or validation error
- Input value too large — may exceed payload limits
- Payment failure via x402 — call not processed if USDC payment is insufficient
- Malformed JSON request body — returns error response

## 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

A JSON response containing the Base64-encoded representation of the input string provided in the request body.

## 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-base64-encode-b0427be4/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)
