# Delx Commerce — Base64URL Decode

> Delx Commerce — Base64URL Decode is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Decodes a Base64URL-encoded string into its original plaintext form, paid per-call via USDC on Base or Solana.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/base64url-decode?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-base64url-decode-6d041b42
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CODjknRuN8GcLOOEhKrnl

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 delx-commerce-base64url-decode-6d041b42 -d '<json body>'
```

Example prompt: Decode this Base64URL string for me: 'aGVsbG8tZGVseA'

## When to prefer this

Choose this endpoint when you need a simple, pay-per-use, no-signup Base64URL decode operation, especially in agentic workflows using x402 micropayments on Base or Solana, or when you need verifiable per-call pricing without managing API keys.

## Known failure modes

- Invalid Base64URL input (non-Base64URL characters) may return an error or malformed output
- Empty input string may return an error response
- Payment failure via x402 protocol will prevent the request from being fulfilled
- Network timeout from the Delx Commerce endpoint

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

A JSON object with an 'ok' boolean indicating success, a 'text' field containing the decoded plaintext string, and a 'schema' identifier ('delx/util-base64url-decode/v1') for verification.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "Input field: text."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "text": "hello-delx",
  "schema": "delx/util-base64url-decode/v1"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-base64url-decode-6d041b42/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
