# SHA-256 Hash Generator (ai-micro)

> SHA-256 Hash Generator (ai-micro) is a paid API for AI agents from ai-micro-o0w12oaf0-nic-s-projects-33d61015.vercel.app, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-23).

Hashes an input string using SHA-256 and returns the hex digest with a short prefix, computed deterministically with no network calls.

## Facts

- Endpoint: POST https://ai-micro-o0w12oaf0-nic-s-projects-33d61015.vercel.app/api/skills/sha256?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sha-256-hash-generator-ai-micro-9dd83f7f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_EfI_yjwKm85XeRGhUssyR

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-256-hash-generator-ai-micro-9dd83f7f -d '<json body>'
```

Example prompt: Hash the string 'hello world' with SHA-256 and give me the hex digest with its prefix.

## When to prefer this

Choose this endpoint when you need a fast, deterministic SHA-256 hash of a string with a hex output and a short prefix, especially in agent workflows where no local crypto library is available or where a standardized, paid micro-service call is preferred. It is ideal for single-string hashing tasks, not bulk/batch hashing or other hash algorithms (MD5, SHA-512, etc.).

## Known failure modes

- Missing or empty 'input' field returns a validation error
- Malformed request body (wrong content-type or schema mismatch) causes a 400-level error
- Payment not included or insufficient USDC balance results in a 402 Payment Required response
- Sending non-string or binary data in the body may cause unexpected behavior

## How this service works

Hash a string with SHA-256 and return hex plus a short prefix. Deterministic, no network.

## Output

Returns the SHA-256 hash of the input string as a hexadecimal digest, accompanied by a short identifying prefix. The output is fully deterministic — the same input always produces the same output with no network dependencies.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "path": {
     "type": "string"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "type": "string"
    },
    "bodyType": {
     "type": "string"
    }
   }
  },
  "output": {
   "type": "object",
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/sha-256-hash-generator-ai-micro-9dd83f7f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from ai-micro-o0w12oaf0-nic-s-projects-33d61015.vercel.app](https://www.zero.xyz/host/ai-micro-o0w12oaf0-nic-s-projects-33d61015.vercel.app/llms.txt)
