# Agent Forge SHA-1 Hash

> Agent Forge SHA-1 Hash is a paid API for AI agents from agent-forge.annushka1190.workers.dev, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Computes a SHA-1 hash digest of a given input string or data, payable per-request in USDC via x402 with no API keys required.

## Facts

- Endpoint: POST https://agent-forge.annushka1190.workers.dev/v1/hash/sha1
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-forge-sha-1-hash-f298db3b
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_H1KAu1geLopgG133UEZ1g

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 agent-forge-sha-1-hash-f298db3b -d '<json body>'
```

Example prompt: Can you compute the SHA-1 hash of the string 'hello world' for me?

## When to prefer this

Choose this endpoint when you need a quick, keyless, pay-per-use SHA-1 hash with no account setup — ideal for AI agents that need to compute hashes on demand without managing API credentials. Prefer SHA-256 or HMAC-SHA256 siblings for stronger security requirements; use this for legacy compatibility or lighter checksum scenarios.

## Known failure modes

- Missing 'input' field in request body returns a validation error
- Malformed JSON body results in a 400-level error
- Payment failure via x402 (insufficient USDC) blocks the request
- Empty or null input may return an error or empty hash depending on implementation
- Network timeouts from Cloudflare Workers edge under high load

## How this service works

Hash and unit utilities for AI agents: SHA-256, SHA-1, HMAC-SHA256, stable JSON fingerprint, ETH/Gwei/Wei conversion, human bytes, and duration parsing. Pay-per-request USDC via x402. No API keys, no accounts.

## Output

Returns a JSON object with an 'ok' boolean and the computed SHA-1 hex digest string for the provided input.

## 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": {
    "body": {
     "type": "object"
    },
    "type": {
     "const": "http"
    },
    "method": {
     "enum": [
      "POST"
     ]
    },
    "bodyType": {
     "const": "json"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-forge-sha-1-hash-f298db3b/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent-forge.annushka1190.workers.dev](https://www.zero.xyz/host/agent-forge.annushka1190.workers.dev/llms.txt)
