# SHA-512/224 Digest as Base64url from Hex Bytes

> SHA-512/224 Digest as Base64url from Hex Bytes 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 a SHA-512/224 cryptographic hash of hex-encoded byte input and returns the digest encoded as base64url.

## Facts

- Endpoint: POST https://agentshelf.syntexa.ch/v1/digest-sha512-224-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/sha-512-224-digest-as-base64url-from-hex-bytes-c7a1d21a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_E_Cyq-Rq3XGuH3h19zWv7

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 sha-512-224-digest-as-base64url-from-hex-bytes-c7a1d21a -d '<json body>'
```

Example prompt: Can you compute the SHA-512/224 hash of these hex bytes — 'deadbeef01234567' — and give me the result as a base64url string?

## When to prefer this

Choose this endpoint when you specifically need a SHA-512/224 (truncated SHA-512) digest over raw hex bytes, with the result encoded as base64url. It is preferred when you need a compact, URL-safe hash that is stronger than MD5/SHA-1 but more bandwidth-efficient than full SHA-512. Use the free sandbox variant (/v1/sandbox/digest-sha512-224-base64url-rawhex) first during development; use this paid endpoint in production when sandbox limits are exceeded or reliability is required.

## Known failure modes

- Invalid hex string input (non-hex characters) causing a 400 error
- Input text exceeds 100,000 character limit causing rejection
- Empty key or text fields causing validation failure
- Payment not provided or insufficient USDC causing 402 response
- Service unavailability causing 5xx errors

## How this service works

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

## Output

Returns a SHA-512/224 cryptographic digest of the provided hex-encoded byte input, encoded as a base64url string. The output is a compact, URL-safe hash suitable for use as a fingerprint, checksum, or integrity token.

## 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/sha-512-224-digest-as-base64url-from-hex-bytes-c7a1d21a/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)
