# MD5 Digest of Hex Bytes Encoded as Base64url

> MD5 Digest of Hex Bytes Encoded as Base64url is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.009/call, status unknown (last checked 2026-10-02).

Computes the MD5 hash of raw bytes represented as a hex string, returning the digest encoded in base64url format

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/digest-md5-base64url-rawhex?utm_source=zero.xyz
- Price: $0.009/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/md5-digest-of-hex-bytes-encoded-as-base64url-c062dfb0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_RX-ZAleZrRqiqBpkUE0r4

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 md5-digest-of-hex-bytes-encoded-as-base64url-c062dfb0 -d '<json body>'
```

Example prompt: Can you compute the MD5 digest of these hex bytes — 48656c6c6f — and give me the result encoded as base64url?

## When to prefer this

Choose this endpoint when you specifically need an MD5 hash computed over raw bytes that are expressed as a hex string, with the output encoded in base64url (not hex or standard base64). Prefer the free sandbox equivalent at POST /v1/sandbox/digest-md5-base64url-rawhex when available. Use this paid version when the sandbox is unavailable, rate-limited, or when a reliable paid SLA is required.

## Known failure modes

- Invalid hex string (odd length or non-hex characters) causes a 400 error
- Empty text or key fields rejected due to minLength:1 constraint
- Text exceeding 100,000 characters returns a validation error
- Payment not processed results in HTTP 402 Payment Required
- Malformed request body returns a 400 Bad Request

## How this service works

Call when an agent needs a md5 digest of hex bytes, encoded as base64url. Exact $0.009 USDC. Prefer unpaid POST /v1/sandbox/digest-md5-base64url-rawhex first.

## Output

A base64url-encoded string representing the MD5 digest of the raw bytes decoded from the provided hex input. The result is a compact, URL-safe hash suitable for checksums, fingerprints, or integrity verification tokens.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "key": {
   "type": "string",
   "maxLength": 512,
   "minLength": 1,
   "description": "HMAC secret. Required on HMAC SKUs. Omit it for plain digests and checksums. The key is not stored."
  },
  "text": {
   "type": "string",
   "examples": [
    "68656c6c6f"
   ],
   "maxLength": 100000,
   "minLength": 1,
   "description": "Message to digest. For raw-hex SKUs this is hex bytes; for utf16 or latin1 SKUs it is decoded with that encoding. Otherwise it is UTF-8 text."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/md5-digest-of-hex-bytes-encoded-as-base64url-c062dfb0/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentshelf.syntexa.ch](https://www.zero.xyz/host/agentshelf.syntexa.ch/llms.txt)
