# SHA-256 Text Hash (centralcity.ai)

> SHA-256 Text Hash (centralcity.ai) is a paid API for AI agents from centralcity.ai, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-19).

Computes the SHA-256 hash of a UTF-8 text string and returns it as a lowercase hexadecimal string.

## Facts

- Endpoint: POST https://centralcity.ai/api/public/x402/off_xgxklvq352jhh4k4?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/sha-256-text-hash-centralcity-ai-c1fbaf50
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_WtMOR_NxkGt96731iW2_y

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-text-hash-centralcity-ai-c1fbaf50 -d '<json body>'
```

Example prompt: Can you compute the SHA-256 hash of the text 'Hello, World!' and give me the lowercase hex result?

## When to prefer this

Use this endpoint when you need a quick, pay-per-call SHA-256 hash without setting up a local crypto library or running code — especially in agent pipelines where executing arbitrary code is unavailable or undesirable. Ideal for lightweight data integrity checks, fingerprinting, or commit-reveal schemes where the input text is under 8 KiB.

## Known failure modes

- Input text exceeds 8 KiB limit — request rejected
- Missing or empty 'text' field — validation error
- Non-string value passed as text — schema validation failure
- Network timeout or service unavailability — HTTP 5xx error

## How this service works

The SHA-256 of a text (its UTF-8 bytes), as lowercase hex.

## Output

A lowercase hexadecimal string of exactly 64 characters representing the SHA-256 digest of the input text's UTF-8 bytes (e.g. 'a591a6d40bf420404a011733cfb7b190d62c65bf0bcda32b57b277d9ad9f146e').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "text": {
   "type": "string",
   "description": "The text, at most 8 KiB."
  }
 }
}
```

## More

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