# SHA Hash Digest Generator

> SHA Hash Digest Generator is a paid API for AI agents from apex-edge-coral.vercel.app, paid per call via x402, $0.002/call, status unknown (last checked 2026-11-04).

Computes a cryptographic hash digest of an input string using a specified algorithm

## Facts

- Endpoint: GET https://apex-edge-coral.vercel.app/api/v1/util/hash?utm_source=zero.xyz
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-04
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sha-hash-digest-generator-69a08778
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XWmbmfiv_W2GziOTSi-MO

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-hash-digest-generator-69a08778
```

Example prompt: Can you hash the string 'hello world' using SHA-256 and give me the digest?

## When to prefer this

Use this endpoint when you need a quick, on-demand cryptographic hash of a string via an HTTP GET call, especially in agentic or x402 micropayment-enabled workflows where spinning up a local crypto library is not practical.

## Known failure modes

- Missing required 'input' query parameter returns an error
- Unsupported or misspelled algorithm name may return an error or unexpected result
- Empty input string may produce a valid hash of an empty value or an error
- Network timeout or Vercel cold-start latency on rare occasions

## How this service works

Compute a SHA-256, SHA-384, or SHA-512 digest of UTF-8 text; returns hexadecimal output (default SHA-256).

## Output

Returns a JSON object with a status field and the computed hash digest of the provided input string using the specified algorithm (e.g. SHA-256, SHA-512, MD5).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "properties": {
    "queryParams": {
     "type": "object",
     "properties": {
      "algo": {
       "type": "string"
      },
      "input": {
       "type": "string"
      }
     }
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "example": {
     "status": "ok"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sha-hash-digest-generator-69a08778/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from apex-edge-coral.vercel.app](https://www.zero.xyz/host/apex-edge-coral.vercel.app/llms.txt)
