# MD5 Hash Generator (Text or Raw Bytes)

> MD5 Hash Generator (Text or Raw Bytes) is a paid API for AI agents from twin.unykorn.org, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-01).

Computes the MD5 digest of a given text string or raw hex-encoded bytes via a pay-per-call API endpoint.

## Facts

- Endpoint: POST https://twin.unykorn.org/hash-md5?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/md5-hash-generator-text-or-raw-bytes-6ef9ff40
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_willJ5Oo4qNL6joucSzAI

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 md5-hash-generator-text-or-raw-bytes-6ef9ff40 -d '<json body>'
```

Example prompt: Can you compute the MD5 hash of the text 'Hello, World!'?

## When to prefer this

Choose this endpoint when you need a quick, pay-per-use MD5 hash computation without managing your own infrastructure, especially in agentic workflows that already integrate with the x402 micropayment protocol or the UnyKorn Operator Network. Useful when you need on-demand hashing of either plaintext strings or raw binary data expressed as hex, and want a verified payment receipt alongside the result.

## Known failure modes

- Invalid hex string (pattern mismatch) returns a validation error
- Text exceeding 49152 characters is rejected
- Missing both 'text' and 'hex' params results in an error
- Payment failure or insufficient funds blocks the call
- Network timeout from the x402 payment layer

## How this service works

MD5 digest of text or raw bytes — Genesis402 / UnyKorn Operator Network

## Output

Returns a JSON object with ok: true, the type field set to 'hash-md5', the computed MD5 digest, and a payment receipt containing the transaction hash, USD amount, and a unique receipt ID.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "params": {
   "type": "object",
   "properties": {
    "hex": {
     "type": "string",
     "pattern": "^0x[0-9a-fA-F]*$"
    },
    "text": {
     "type": "string",
     "maxLength": 49152
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "type": "hash-md5",
  "receipt": {
   "tx_hash": "0x<64hex>",
   "amount_usd": 0.001,
   "receipt_id": "g402-<16hex>"
  },
  "generated_at": "<iso8601>"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/md5-hash-generator-text-or-raw-bytes-6ef9ff40/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from twin.unykorn.org](https://www.zero.xyz/host/twin.unykorn.org/llms.txt)
