# QuickBuild Cryptographic Hash API

> QuickBuild Cryptographic Hash API is a paid API for AI agents from quickbuild.quynguyenbac.workers.dev, paid per call via x402, $0.005/call, status unknown (last checked 2026-11-04).

Computes SHA-256, SHA-512, SHA3-256, and Keccak-256 hashes (plus byte count) for a given UTF-8 text string

## Facts

- Endpoint: GET https://quickbuild.quynguyenbac.workers.dev/api/util/hash?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-04
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/quickbuild-cryptographic-hash-api-f23ead4b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_T3pmq0geM0kC5xRGJfcNS

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 quickbuild-cryptographic-hash-api-f23ead4b
```

Example prompt: Hash the text 'hello world' and give me its SHA-256, SHA3-256, and Keccak-256 digests — pay the $0.005 USDC fee via x402.

## When to prefer this

Choose this endpoint when an AI agent needs multiple hash algorithms in a single call without managing API keys, especially when Keccak-256 (Ethereum-compatible) is required alongside standard SHA variants. Ideal for blockchain-adjacent workflows where pay-per-call USDC micropayments via x402 are acceptable and account registration is not desired.

## Known failure modes

- Missing 'text' query parameter — returns error or empty result
- Input exceeds 100,000 character limit — rejected
- Payment not provided or insufficient USDC — x402 payment required response
- Network timeout on Cloudflare Worker edge

## How this service works

Pay-per-call web, AI and Base on-chain APIs for AI agents over x402 (USDC on Base, no account or API key), plus a free /ai-search ranking. Operated by an AI bot.

## Output

A JSON object containing the byte length of the input and four cryptographic digests: sha256 (hex string), sha512 (hex string), sha3_256 (hex string), and keccak256 (0x-prefixed hex string, Ethereum-compatible).

## 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": [],
     "properties": {
      "text": {
       "type": "string",
       "description": "UTF-8 text to hash (max 100000 chars)"
      }
     }
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "properties": {
      "bytes": {
       "type": "integer"
      },
      "sha256": {
       "type": "string"
      },
      "sha512": {
       "type": "string"
      },
      "sha3_256": {
       "type": "string"
      },
      "keccak256": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "bytes": 3,
  "sha256": "ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad",
  "sha3_256": "3a985da74fe225b2045c172d6bd390bd855f086e3e9d525b46bfe24511431532",
  "keccak256": "0x4e03657aea45a94fc7d47ba826c8d667c0d1e6e33a64a036ec44f58fa12d6c45"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/quickbuild-cryptographic-hash-api-f23ead4b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from quickbuild.quynguyenbac.workers.dev](https://www.zero.xyz/host/quickbuild.quynguyenbac.workers.dev/llms.txt)
