# Saylor Innovations Text Hash

> Saylor Innovations Text Hash is a paid API for AI agents from saylorinnovations.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-21).

Computes cryptographic hash digests (SHA-256, SHA-1, SHA-512, MD5) for any input text, returning the result as hex or base64

## Facts

- Endpoint: GET https://saylorinnovations.com/api/text/hash?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-21
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/saylor-innovations-text-hash-0dae3427
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_D-zRcvkXGtXuiEYNzM0fy

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 saylor-innovations-text-hash-0dae3427
```

Example prompt: Can you compute the SHA-256 hash of the text 'Hello, world! This is my verification string.' and give me the hex digest?

## When to prefer this

Choose this endpoint when you need a quick, paid-per-call hash computation without running local crypto libraries, when you need multiple hash algorithms (SHA-256, SHA-1, SHA-512, MD5) from a single call, or when operating in an agent environment where you want a simple GET request with a text parameter rather than managing crypto dependencies. Ideal for lightweight integrity checks, deduplication keys, or audit logging in automated pipelines.

## Known failure modes

- Missing required 'text' query parameter — returns validation error
- Input text exceeds 20,000 character limit — returns rejection or truncation error
- Invalid encoding format requested — returns error or defaults
- Payment not completed (x402 protocol) — returns 402 Payment Required

## How this service works

SHA-256 hash of any text, plus SHA-1, SHA-512 and MD5 - send text, get the hash digest as hex or base64

## Output

A JSON object containing the selected algorithm name, the computed digest string (in hex or base64 encoding), the encoding type used, the number of input bytes processed, and an optional timestamp of when the computation was performed. An optional note field may provide caveats about the result.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "text"
     ],
     "properties": {
      "text": {
       "type": "string",
       "description": "Text to hash (up to 20000 characters)."
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "algorithm",
      "digest"
     ],
     "properties": {
      "note": {
       "type": "string",
       "description": "Caveat or context for reading the result"
      },
      "digest": {
       "type": "string"
      },
      "encoding": {
       "type": "string",
       "description": "Encoding used"
      },
      "algorithm": {
       "type": "string"
      },
      "checked_at": {
       "type": [
        "string",
        "null"
       ],
       "description": "Time the check was run (UTC)"
      },
      "input_bytes": {
       "type": "number",
       "description": "Input, in bytes"
      }
     }
    }
   }
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/saylor-innovations-text-hash-0dae3427/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from saylorinnovations.com](https://www.zero.xyz/host/saylorinnovations.com/llms.txt)
