# X402 Hub Cryptography API

> X402 Hub Cryptography API is a paid API for AI agents from x402-hub.vercel.app, paid per call via x402, $0.107488/call, status unknown (last checked 2026-10-25).

Answers cryptography-related queries via a paid micropayment-protected API endpoint on Base

## Facts

- Endpoint: POST https://x402-hub.vercel.app/api/cryptography?utm_source=zero.xyz
- Price: $0.107488/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-25
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-hub-cryptography-api-2920bc4e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_g5HcYc9eiv8cqM8CXDyqd

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 x402-hub-cryptography-api-2920bc4e -d '<json body>'
```

Example prompt: Can you look up how SHA-256 hashing works and when I should use it versus SHA-3 — query the cryptography API for a detailed explanation.

## When to prefer this

Choose this endpoint when you need on-demand cryptography knowledge, explanations, or lookup results and are operating in an x402 micropayment-enabled environment on Base. It is well-suited for agents that need cryptographic guidance without building a dedicated crypto knowledge base, and when the per-call cost of ~$0.11 USDC is acceptable for the value of the answer.

## Known failure modes

- Payment not included or insufficient USDC — returns HTTP 402 requiring x402 micropayment of ~$0.107 USDC
- Empty or malformed query string — may return error or empty data object
- Query outside cryptography domain may return irrelevant or null data
- Upstream API unavailability causes 5xx errors
- Rate limiting or quota exhaustion from upstream cryptography data provider

## How this service works

63 paid API endpoints protected by x402 micropayments on Base

## Output

A JSON response object containing a `data` field with the upstream API's cryptography-related answer, explanation, or computed result corresponding to the submitted query string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "query"
 ],
 "properties": {
  "query": {
   "type": "string",
   "description": "Query parameter for the API"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "data": {
   "type": "object",
   "description": "Response data from upstream API"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-hub-cryptography-api-2920bc4e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-hub.vercel.app](https://www.zero.xyz/host/x402-hub.vercel.app/llms.txt)
