# HMAC-SHA1 Base64URL Signer

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

Computes an HMAC-SHA1 digest of a given text using a caller-supplied key, returning the result encoded as base64url.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/hmac-sha1-base64url?utm_source=zero.xyz
- Price: $0.004/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hmac-sha1-base64url-signer-6be33cb7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VNPB_EqrX00eVLEE0y649

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-sha1-base64url-signer-6be33cb7 -d '<json body>'
```

Example prompt: Compute an HMAC-SHA1 signature of the text 'order_id=12345&amount=99.99' using the secret key 'mysecretkey123' and give me the result as base64url.

## When to prefer this

Use this endpoint when you need a fully hosted, pay-per-call HMAC-SHA1 base64url computation without running your own crypto library — ideal for sandboxed agents, serverless workflows, or environments where adding a crypto dependency is impractical. Prefer the free sandbox endpoint (/v1/sandbox/hmac-sha1-base64url) for development and testing before switching to this paid endpoint for production use.

## Known failure modes

- Empty or missing key field returns a validation error
- Empty or missing text field returns a validation error
- Key exceeding 512 characters is rejected
- Text exceeding 100,000 characters is rejected
- Payment not provided or insufficient USDC triggers a 402 response — use the free /v1/sandbox/hmac-sha1-base64url endpoint first for testing

## How this service works

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

## Output

A base64url-encoded HMAC-SHA1 digest string computed from the provided text and key. This is a compact, URL-safe representation of the keyed hash suitable for use in HTTP headers, query parameters, or signature comparison.

## 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-sha1-base64url-signer-6be33cb7/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)
