# 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-15).

Computes a SHA-256 cryptographic hash of a given input string via a paid micropayment API endpoint

## Facts

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

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-e3c49143 -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 quick, pay-per-use SHA-256 hash computation without setting up local crypto libraries, or when operating in an agent environment that supports x402 micropayments and needs cryptographic hashing as a standalone service call.

## Known failure modes

- Missing or empty 'input' field returns a 400 or validation error
- Payment failure or insufficient USDC balance results in a 402 Payment Required response
- Extremely large input strings may be rejected or time out
- Malformed JSON body causes a parse error response

## How this service works

Machine-readable settlement service

## Output

Returns a JSON object containing the SHA-256 hash (hex digest) of the provided input string, usable as a cryptographic fingerprint or checksum.

## Request schema (JSON Schema)

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

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "additionalProperties": true
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/pennyrail-sha-256-hash-e3c49143/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)
