# code402 Assured Quote – Business Identifier Validation

> code402 Assured Quote – Business Identifier Validation is a paid API for AI agents from hcrb.in, paid per call via x402, $0.005/call, status unknown (last checked 2026-10-12).

Performs offline, deterministic checksum and format validation of business/financial identifiers (IBAN, LEI, VAT, ABA, ISBN, SEDOL, EIN, IFSC, SWIFT/BIC, etc.), paid per call via x402 USDC micropayment.

## Facts

- Endpoint: POST https://hcrb.in/v1/tools/assured-quote/call?utm_source=zero.xyz
- Price: $0.005/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/code402-assured-quote-business-identifier-validation-ea4700b0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_5v89cstA9nqhL2yVQQhOK

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-assured-quote-business-identifier-validation-ea4700b0 -d '<json body>'
```

Example prompt: Can you validate this IBAN for me — GB29 NWBK 6016 1331 9268 19 — and tell me if the checksum passes and what country it belongs to?

## When to prefer this

Prefer this endpoint when you need fast, offline, deterministic validation of a specific business or financial identifier (IBAN, LEI, VAT, SWIFT/BIC, ABA, EIN, IFSC, ISBN, SEDOL, etc.) without relying on external registries or ML models. Ideal for compliance pipelines, KYC workflows, invoice validation, and due-diligence automation where you need a signed, auditable receipt and the cost per call ($0.005 USDC) is acceptable. Use over general-purpose validation libraries when you need the `scope` field to distinguish checksum-verifiable from format-only results, or when signed receipts are required for audit trails.

## Known failure modes

- Identifier type not supported — returns error or format-only scope
- Malformed input with unrecognizable structure — returns valid:false with a reason
- Payment not received — x402 micropayment rejected before response is returned
- Network timeout — endpoint unreachable
- Free tier (3/day) exhausted without payment — returns 402 Payment Required

## 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: `valid` (boolean indicating whether the identifier passes validation), `reason` (human-readable explanation such as 'checksum valid' or 'invalid checksum'), `scope` (indicating whether this was a full checksum-verifiable check or format-only), `normalized` (the identifier in canonical form), `country` (country code if applicable), and `tool` (which validator was used).

## 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",
     "required": [
      "input"
     ],
     "properties": {
      "input": {
       "type": "object",
       "required": [
        "notional_minor",
        "rail"
       ],
       "properties": {
        "rail": {
         "type": "string",
         "description": "'crypto' or 'fiat'"
        },
        "pod_required": {
         "type": "boolean",
         "description": "Force the POD-1 delivery mandate"
        },
        "notional_minor": {
         "type": "string",
         "description": "Settlement notional in USDC minor units (1e6 = $1)"
        },
        "counterparty_tier": {
         "type": "string",
         "description": "ACI-1 tier T0..T3 (T0 refused)"
        },
        "annual_volume_minor": {
         "type": "string",
         "description": "Optional committed annual volume for tiered bps"
        }
       }
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "valid",
      "reason"
     ],
     "properties": {
      "tool": {
       "type": "string"
      },
      "scope": {
       "type": "string"
      },
      "valid": {
       "type": "boolean"
      },
      "reason": {
       "type": "string"
      },
      "country": {
       "type": "string"
      },
      "normalized": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "schema": {
  "type": "object",
  "required": [
   "valid",
   "reason"
  ],
  "properties": {
   "tool": {
    "type": "string"
   },
   "scope": {
    "type": "string"
   },
   "valid": {
    "type": "boolean"
   },
   "reason": {
    "type": "string"
   },
   "country": {
    "type": "string"
   },
   "normalized": {
    "type": "string"
   }
  }
 },
 "example": {
  "valid": true,
  "reason": "checksum valid"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/code402-assured-quote-business-identifier-validation-ea4700b0/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)
