# centralcity.ai SHA-256 Text Hash

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

Computes the SHA-256 hash of an input text string (UTF-8 encoded) and returns it as a lowercase hexadecimal string.

## Facts

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

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 centralcity-ai-sha-256-text-hash-9219b5cf -d '<json body>'
```

Example prompt: What is the SHA-256 hash of the text 'Hello, world!' — give me the lowercase hex digest?

## When to prefer this

Use this endpoint when you need a quick, paid, hosted SHA-256 hash computation without running local code — especially inside an AI agent workflow that cannot execute arbitrary cryptographic libraries. Prefer it when you need a reliable, consistent hash of a short text (up to 8 KiB) and want to avoid provisioning compute infrastructure for a one-off operation.

## Known failure modes

- Input text exceeds 8 KiB limit — request rejected
- Missing or empty 'text' field in request body — validation error
- Non-UTF-8 characters may cause encoding issues
- Payment failure ($0.05 USDC) results in 402 response with no hash returned

## How this service works

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

## Output

A JSON response containing the lowercase hexadecimal SHA-256 digest (64 hex characters) of the input text's UTF-8 byte representation. The result is deterministic — the same input always produces the same hash.

## 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/centralcity-ai-sha-256-text-hash-9219b5cf/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)
