# code402 Rent Deposit Guard

> code402 Rent Deposit Guard is a paid API for AI agents from hcrb.in, paid per call via x402, $0.02/call, status unknown (last checked 2026-10-12).

Runs offline deterministic due-diligence checks on rental applications, returning a risk score and risk band (low/elevated/high) with specific flags fired.

## Facts

- Endpoint: POST https://hcrb.in/v1/tools/rent-deposit-guard/call?utm_source=zero.xyz
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/code402-rent-deposit-guard-bdb13f2e
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_elQvMrYcm0u-pGGjC-Ea0

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 code402-rent-deposit-guard-bdb13f2e -d '<json body>'
```

Example prompt: Can you run a rent deposit guard check on this tenant application and tell me whether the risk is low, elevated, or high, and what flags were triggered?

## When to prefer this

Choose this endpoint when you need fast, offline, deterministic rental due-diligence checks that require no ML model calls or external scraping, produce auditable signed receipts, and are paid per-call via gasless USDC on Base. Ideal for agents that need reproducible risk scores with verifiable flag logic rather than probabilistic ML-based tenant screening.

## Known failure modes

- Missing or malformed input fields returns a validation error
- Payment not received via x402 results in HTTP 402 with payment instructions
- Exceeding 3 free calls per day without payment results in payment required response
- Unsupported identifier types may return a limited scope or empty flags array

## How this service works

Offline deterministic checks (no ML, no scraping) for business identifiers and rental due-diligence, paid per call via x402 (gasless EIP-3009 USDC on Base). Checksum-verifiable (IBAN, LEI, VAT, ABA, ISBN, SEDOL…) vs format-only (EIN, IFSC, SWIFT/BIC…) — every response returns a scope field. Non-custodial, signed receipts. First 3 calls/day free.

## Output

A JSON object containing a numeric risk_score, a risk band enum (low, elevated, or high), an array of flags and flags_fired describing specific issues detected, a recommendation string, a tool identifier, and a scope field indicating whether the checks were checksum-verifiable or format-only.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "deposit_iban"
   ],
   "properties": {
    "deposit_iban": {
     "type": "string",
     "description": "IBAN the deposit would be paid to."
    },
    "property_country": {
     "type": "string",
     "description": "ISO 3166-1 alpha-2 country of the property, e.g. DE."
    },
    "deposit_before_viewing": {
     "type": "boolean",
     "description": "True if a deposit is demanded before any viewing."
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "schema": {
  "type": "object",
  "required": [
   "risk_score",
   "band"
  ],
  "properties": {
   "band": {
    "enum": [
     "low",
     "elevated",
     "high"
    ],
    "type": "string"
   },
   "tool": {
    "type": "string"
   },
   "flags": {
    "type": "array"
   },
   "scope": {
    "type": "string"
   },
   "risk_score": {
    "type": "number"
   },
   "flags_fired": {
    "type": "array"
   },
   "recommendation": {
    "type": "string"
   }
  }
 },
 "example": {
  "band": "low",
  "risk_score": 0
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/code402-rent-deposit-guard-bdb13f2e/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from hcrb.in](https://www.zero.xyz/host/hcrb.in/llms.txt)
