# Hash Text via x402 Micropayment

> Hash Text via x402 Micropayment is a paid API for AI agents from gpt55.558686.xyz, paid per call via x402, $0.0001/call, status down (last checked 2026-09-16).

Computes a cryptographic hash (SHA-256, SHA-512, SHA-1, or MD5) of an input text string, returning the digest in a chosen encoding, paid via x402 USDC micropayment.

## Facts

- Endpoint: POST https://gpt55.558686.xyz/v1/tools/hash-text
- Price: $0.0001/call
- Payment: x402
- Status: down
- Last checked: 2026-09-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hash-text-via-x402-micropayment-ae7c11d3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_R1I7tGGAMlwY7ux9Ngv9l

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 hash-text-via-x402-micropayment-ae7c11d3 -d '<json body>'
```

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

## When to prefer this

Choose this endpoint when you need a quick, pay-per-use cryptographic hash of a text string without a subscription, especially when already operating in an x402 USDC micropayment context on Base. Ideal for lightweight, one-off hash computations (SHA-256, SHA-512, SHA-1, MD5) in hex or base64 format at minimal cost ($0.0001 per call).

## Known failure modes

- Missing required 'text' query parameter returns an error
- Unsupported algorithm value (not sha256/sha512/sha1/md5) causes rejection
- Unsupported encoding value (not hex/base64/base64url) causes rejection
- Text exceeds 20,000 character limit returns validation error
- Insufficient USDC balance or failed x402 payment returns 402 Payment Required
- Empty text string (minLength violation) rejected

## How this service works

Low-price OpenAI-compatible GPT-5.5 chat completions and text tools over x402 USDC on Base: $0.0001 compact requests, $0.066667 true max-output requests, no subscription.

## Output

A JSON object with an 'ok' boolean, 'tool' name ('hashText'), a 'fetchedAt' timestamp, and the computed hash digest in the requested encoding.

## Example request

```json
{
 "input": {
  "type": "http",
  "method": "GET",
  "queryParams": {
   "text": "Hello, world!",
   "encoding": "hex",
   "algorithm": "sha256"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "tool": "hashText",
  "summary": "Hash text with SHA or MD algorithms using x402 USDC payment"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hash-text-via-x402-micropayment-ae7c11d3/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from gpt55.558686.xyz](https://www.zero.xyz/host/gpt55.558686.xyz/llms.txt)
