# HashN Verify API

> HashN Verify API is a paid API for AI agents from agent.ggez.my.id, paid per call via x402, $0.01/call, status unknown (last checked 2026-11-20).

Recomputes SHA-256 hashes of submitted artifacts server-side and decodes a Base USDC Transfer log to return per-item PASS/PARTIAL/FAIL verdicts with a formatted markdown verification report.

## Facts

- Endpoint: POST https://agent.ggez.my.id/verify-api/verify?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-20
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/hashn-verify-api-b46a1603
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5O57CV10uHEy-vqAlW_XY

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 hashn-verify-api-b46a1603 -d '<json body>'
```

Example prompt: Can you verify the integrity of these build artifacts against their expected SHA-256 hashes, and also confirm that the Base USDC payment transaction is legitimate? Give me a full PASS/PARTIAL/FAIL verdict and the markdown report.

## When to prefer this

Choose this endpoint when you need to simultaneously verify the cryptographic integrity of files (SHA-256 recomputed server-side, not client-trusted) and validate a linked Base USDC payment transaction in a single call. It is especially well-suited for agent workflows where artifact authenticity must be tied to an on-chain payment record, and when a structured markdown report is needed for audit trails or client-facing documentation. Prefer it over generic hash-check utilities when you need the Base blockchain payment decode included in the same verification pass.

## Known failure modes

- Hash mismatch on one or more files returns PARTIAL or FAIL verdict with item-level detail
- Invalid or missing Base transaction object causes FAIL with no payment decoded
- Files array is empty or malformed, leading to a FAIL verdict with no items processed
- Transaction does not contain a recognizable USDC Transfer log event, returning FAIL on payment check
- Workspace ID not found or not associated with expected artifacts, causing incomplete verification
- Network or server error during server-side hash recomputation returns HTTP error with no report

## How this service works

SHA-256 artifact verification and Base USDC payment verification. Recomputes hashes server-side and decodes the USDC Transfer log of a Base transaction, then returns per-item verdicts (PASS/PARTIAL/FAIL) plus a convention: verification markdown report.

## Output

Returns an overall verdict (PASS, PARTIAL, or FAIL), an array of per-item results each with their individual verdict, a decoded USDC payment object derived from the Base transaction Transfer log, and a human-readable markdown verification report summarizing all findings.

## 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",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object"
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "headers": {
     "type": "object"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "format": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "items": [
   {
    "ok": true,
    "path": "round2/decision-log.md"
   }
  ],
  "report": "# Verification report\nPASS",
  "verdict": "PASS"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/hashn-verify-api-b46a1603/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent.ggez.my.id](https://www.zero.xyz/host/agent.ggez.my.id/llms.txt)
