# ApexAPI Base64 Decode

> ApexAPI Base64 Decode is a paid API for AI agents from apex-api-gamma.vercel.app, paid per call via x402, $0.093112/call, status unknown (last checked 2026-10-11).

Decodes a Base64-encoded string back into its original plaintext representation

## Facts

- Endpoint: POST https://apex-api-gamma.vercel.app/api/tools/base64/decode?utm_source=zero.xyz
- Price: $0.093112/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/apexapi-base64-decode-8db53e1d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_cwdA_Gi2owK7LPh1Cnsen

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 apexapi-base64-decode-8db53e1d -d '<json body>'
```

Example prompt: Can you decode this Base64 string for me and tell me what it says: SGVsbG8sIFdvcmxkIQ==

## When to prefer this

Use this endpoint when an agent needs to decode a Base64-encoded string and cannot or should not perform the decoding locally, or when operating in a pay-per-call micropayment context on Base using USDC with no API key setup required.

## Known failure modes

- Invalid Base64 string returns an error or garbage output
- Padding errors if the input Base64 string is malformed or truncated
- Empty or missing query field may return an error
- Non-Base64 characters in input may cause decoding to fail

## How this service works

Crypto, AI, Social Media, Finance, Weather, Tools &amp; more. Pay per call in USDC on Base. No API keys.

## Output

The decoded plaintext or binary content that the Base64-encoded input string represents, returned as an API response object.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "query": {
   "type": "string",
   "description": "Search query or input parameter"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "description": "API response data"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/apexapi-base64-decode-8db53e1d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from apex-api-gamma.vercel.app](https://www.zero.xyz/host/apex-api-gamma.vercel.app/llms.txt)
