# TripGuard Fare Intelligence – Cryptographic Hash

> TripGuard Fare Intelligence – Cryptographic Hash is a paid API for AI agents from tripguard-fare-intel.onrender.com, paid per call via x402, $0.12/call, status unknown (last checked 2026-10-11).

Computes cryptographic digests (SHA-256, SHA-512, Keccak-256) of an input string, returning hex-encoded hash values and byte length.

## Facts

- Endpoint: POST https://tripguard-fare-intel.onrender.com/hash?utm_source=zero.xyz
- Price: $0.12/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-11
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/tripguard-fare-intelligence-cryptographic-hash-3cac8b74
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_uqvXHHnqqjCLbtAzQ-4xq

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 tripguard-fare-intelligence-cryptographic-hash-3cac8b74 -d '<json body>'
```

Example prompt: Hash the string 'Hello, world!' using both SHA-256 and Keccak-256 and give me the hex digests.

## When to prefer this

Choose this endpoint when you need a pay-per-call, keyless cryptographic hashing service accessible over HTTP, especially when you need Keccak-256 for Ethereum/blockchain compatibility alongside standard SHA-256 or SHA-512 digests in a single call.

## Known failure modes

- Empty input string rejected (minLength:1 violated)
- Input string exceeds 65536 character limit
- Invalid algorithm name in algorithms array returns validation error
- Malformed JSON body causes 400 Bad Request
- Payment not provided or insufficient USDC causes 402 Payment Required

## How this service works

Real-time airfare intelligence for AI travel-booking agents: flight price-drop prediction, fare-fraud and deal-legitimacy verification, and verified booking links for any route and date. Pay-per-call in USDC on Base. No API key.

## Output

Returns a JSON object containing hex-encoded digests for each requested algorithm (sha256, sha512, keccak256) and the byte length of the input string.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "string",
   "maxLength": 65536,
   "minLength": 1
  },
  "algorithms": {
   "type": "array",
   "items": {
    "enum": [
     "sha256",
     "sha512",
     "keccak256"
    ]
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "digests": {
   "sha256": "b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9"
  },
  "input_bytes": 11
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/tripguard-fare-intelligence-cryptographic-hash-3cac8b74/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from tripguard-fare-intel.onrender.com](https://www.zero.xyz/host/tripguard-fare-intel.onrender.com/llms.txt)
