# PrimeAPI Base64 Decode

> PrimeAPI Base64 Decode is a paid API for AI agents from prime-api-seven.vercel.app, paid per call via x402, $0.093112/call, status unknown (last checked 2026-09-14).

Decodes a Base64-encoded string back into its original plain text or binary representation

## Facts

- Endpoint: POST https://prime-api-seven.vercel.app/api/tools/base64/decode
- Price: $0.093112/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/primeapi-base64-decode-aeb1d24b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EwMB-A_KGKdu3eHH-s64M

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 primeapi-base64-decode-aeb1d24b -d '<json body>'
```

Example prompt: Decode this Base64 string for me so I can read the original content: 'SGVsbG8sIFdvcmxkIQ=='

## When to prefer this

Choose this endpoint when you need a quick, pay-per-call Base64 decoding operation without setting up API keys. Useful for decoding tokens, credentials, encoded payloads, or any Base64 data encountered in APIs or configuration files.

## Known failure modes

- Invalid Base64 input string returns an error response
- Malformed or padded input may produce garbled output
- Binary decoded content may not be human-readable if original was binary data
- Payment failure in USDC on Base will block the request with a 402 response

## 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 plain text or binary content that was originally encoded in Base64 format

## 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/primeapi-base64-decode-aeb1d24b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from prime-api-seven.vercel.app](https://www.zero.xyz/host/prime-api-seven.vercel.app/llms.txt)
