# 47620 String Hash API

> 47620 String Hash API is a paid API for AI agents from 47620.xyz, paid per call via x402, $0.001/call, status unknown (last checked 2026-11-23).

Computes a deterministic cryptographic hash (SHA-256, SHA-512, MD5, or BLAKE2b-512) of a given string and returns the result as a hex string.

## Facts

- Endpoint: GET https://47620.xyz/agent/util/hash?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-23
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/47620-string-hash-api-c003a098
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_iCqg21UPe-5b3lf7DnWbd

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 47620-string-hash-api-c003a098
```

Example prompt: Can you compute the SHA-256 hash of the string 'hello world' and give me the hex result?

## When to prefer this

Choose this endpoint when you need a fast, CPU-only, deterministic hash of a string with no external dependencies — especially useful for checksums, deduplication keys, data integrity verification, or fingerprinting within agent workflows. It supports four common algorithms (SHA-256, SHA-512, MD5, BLAKE2b-512) and returns hex, making it directly usable without further encoding. Prefer over building local hash logic when working within a payment-enabled agent pipeline that already uses x402 micropayments.

## Known failure modes

- Missing required 'input' parameter returns an error response
- Unsupported algorithm name returns an error
- Empty string input may return a hash of empty string (valid but potentially unintended)
- Network or payment failure (x402) prevents the call from completing

## How this service works

Deterministic hash of a string: sha256 (default), sha512, md5, or blake2b512. Returns hex. CPU-only, instant.

## Output

Returns a JSON object with a boolean 'ok' field indicating success, the 'endpoint' identifier, and the hex-encoded hash digest of the input string using the requested algorithm. The digest is deterministic — identical inputs always produce identical outputs.

## 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",
     "properties": {
      "fields": {
       "type": "string",
       "description": "Optional comma-separated top-level response keys to keep (e.g. \"health,slot,solUsd\"). Omit for the full payload."
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type",
    "example"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "required": [
      "ok",
      "endpoint"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "endpoint": {
       "type": "string"
      }
     },
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/47620-string-hash-api-c003a098/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from 47620.xyz](https://www.zero.xyz/host/47620.xyz/llms.txt)
