# AgentBIT HMAC Hash Generator

> AgentBIT HMAC Hash Generator is a paid API for AI agents from agentbit.app, paid per call via x402, $0.0015/call, status unknown (last checked 2026-09-13).

Computes an HMAC (Hash-based Message Authentication Code) for a given input string using a secret key and a specified algorithm (e.g. SHA-256).

## Facts

- Endpoint: POST https://agentbit.app/v1/hash/hmac
- Price: $0.0015/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentbit-hmac-hash-generator-73814ce4
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Sty1wKPTEecdeFq7rvw64

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 agentbit-hmac-hash-generator-73814ce4 -d '<json body>'
```

Example prompt: Compute an HMAC-SHA256 for the message 'order_id=12345&amount=99.99' using the secret key 'my-super-secret-key'.

## When to prefer this

Choose this endpoint when you need a pay-per-call, no-signup HMAC computation without managing your own cryptographic library or server — ideal for lightweight agent workflows that occasionally need to sign or verify messages without persistent API key management.

## Known failure modes

- Missing required field (key, input, or algorithm) returns a 400 error
- Unsupported algorithm name returns an error indicating valid options
- Empty key or input string may return an error or produce an unexpected result
- Payment failure via x402 protocol prevents the call from being processed

## How this service works

Live web, business, finance and security tools for AI agents. Pay per call with x402 — no signup, no API keys.

## Output

Returns a JSON object containing the HMAC digest of the input string, computed using the specified algorithm (e.g. SHA-256, SHA-512) and the provided secret key, typically as a hex-encoded or base64-encoded string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "key": {
   "type": "string"
  },
  "input": {
   "type": "string"
  },
  "algorithm": {
   "type": "string"
  }
 }
}
```

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentbit-hmac-hash-generator-73814ce4/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agentbit.app](https://www.zero.xyz/host/agentbit.app/llms.txt)
