# HMAC-MD5 Base64URL Encoder

> HMAC-MD5 Base64URL Encoder is a paid API for AI agents from agentshelf.syntexa.ch, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Computes an HMAC-MD5 message authentication code of input text using a caller-supplied key and returns the result encoded as base64url.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/hmac-md5-base64url?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/hmac-md5-base64url-encoder-b33974ad
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XwH7pJoXk9rqLHvsUxyye

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 hmac-md5-base64url-encoder-b33974ad -d '<json body>'
```

Example prompt: Compute an HMAC-MD5 of the text 'hello world' using the secret key 'mysecretkey' and give me the result as base64url.

## When to prefer this

Choose this endpoint when you need a URL-safe (base64url) encoded HMAC-MD5 MAC — for example, when constructing webhook signatures, API authentication headers, or integrity tags that must be embedded in URLs or filenames without padding issues. Prefer the free sandbox endpoint POST /v1/sandbox/hmac-md5-base64url first if available. Use this paid endpoint when the sandbox is unavailable or when production guarantees are required.

## Known failure modes

- Missing or empty 'key' field returns a validation error
- Missing or empty 'text' field returns a validation error
- Text exceeding 100,000 characters is rejected
- Key exceeding 512 characters is rejected
- Payment failure or insufficient USDC balance results in a 402 Payment Required response
- Malformed JSON body returns a 400 Bad Request

## How this service works

Call when an agent needs an HMAC-md5 of text with a caller-supplied key, encoded as base64url. Exact $0.001 USDC. Prefer unpaid POST /v1/sandbox/hmac-md5-base64url first.

## Output

Returns a base64url-encoded HMAC-MD5 digest string — the message authentication code computed over the input text using the supplied key. No additional metadata; just the compact, URL-safe encoded MAC value.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "key": {
   "type": "string",
   "examples": [
    "secret"
   ],
   "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": [
    "hello"
   ],
   "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/hmac-md5-base64url-encoder-b33974ad/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)
