# PennyRail SHA-256 Hash

> PennyRail SHA-256 Hash is a paid API for AI agents from pennyrail.vercel.app, paid per call via x402, $0.001/call, status unknown (last checked 2026-09-14).

Computes the SHA-256 cryptographic hash of a given input string and returns the hex digest

## Facts

- Endpoint: POST https://pennyrail.vercel.app/api/f/crypto.sha256
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/pennyrail-sha-256-hash-b4341feb
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_rBKrk5QY7vCRBLq4Sj1p1

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 pennyrail-sha-256-hash-b4341feb -d '<json body>'
```

Example prompt: Can you compute the SHA-256 hash of the string 'hello world' for me?

## When to prefer this

Choose this endpoint when you need a pay-per-call, serverless SHA-256 hashing service accessible via HTTP without managing any infrastructure. It is ideal for agents that need occasional, lightweight cryptographic hashing billed at fractions of a cent per call via x402/USDC micropayments, rather than running a local crypto library.

## Known failure modes

- Missing 'input' field returns a validation error
- Non-string input types may cause a 400 error
- Payment failure (insufficient USDC balance) returns a 402 Payment Required
- Network timeouts on the Vercel edge function may return 504

## How this service works

Machine-readable settlement service

## Output

Returns a JSON object with an 'operation' field (e.g. 'crypto.sha256') confirming what was performed, and a 'result' field containing the SHA-256 hex digest of the input string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "string",
   "description": "string"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "operation",
  "result"
 ],
 "properties": {
  "result": {},
  "operation": {
   "type": "string"
  }
 },
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pennyrail-sha-256-hash-b4341feb/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from pennyrail.vercel.app](https://www.zero.xyz/host/pennyrail.vercel.app/llms.txt)
