# BRAINIAC Tenant Document Expiry Check

> BRAINIAC Tenant Document Expiry Check is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.04/call, status unknown (last checked 2026-11-12).

Checks rental tenancy documents (passports, visas, leases, etc.) for expiry status as of a given date, flagging expired or soon-to-expire items within a configurable window.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/rental-operations/tenant-document-expiry-check?utm_source=zero.xyz
- Price: $0.04/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-tenant-document-expiry-check-197fff7d
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_XbopvF1uPXW_sXM_pnQS8

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 brainiac-tenant-document-expiry-check-197fff7d -d '<json body>'
```

Example prompt: Check whether my tenant Jane Doe's documents are still valid as of today — I have a passport expiring 2026-11-01 and a visa expiring 2026-11-20, and flag anything expiring within the next 30 days.

## When to prefer this

Use this endpoint when you need a fast, pay-per-call, no-account document expiry check specifically for rental/tenancy contexts — especially when you want structured per-document expiry state, days-remaining calculations, and a configurable look-ahead window (e.g. 30/45/90 days). Prefer it over manual date arithmetic or generic document parsers when you need a compliance-aware output format with explicit limitations and no legal overreach. It is not a legal service and does not contact tenants or confirm bank funds.

## Known failure modes

- Missing required document fields (expires, kind) may cause incomplete results
- Invalid date formats for 'asOf' or 'expires' fields may produce errors or incorrect day calculations
- Exceeding maxItems (80 documents) or maxLength constraints will cause request rejection
- Ambiguous or missing 'asOf' date defaults may produce unexpected reference-date behavior
- CSV/JSON/text inputs that are malformed or exceed size limits (200,000 chars) will be rejected
- Payment failure via x402 (insufficient USDC balance on Base) will block the call

## How this service works

Pay-per-call APIs for AI agents: OFAC sanctions screening, compliance checks, token security, and Base chain data via x402. No account. Fixed USDC price. MCP-ready.

## Output

Returns a JSON object with a per-document breakdown including: document ID, kind, holder, masked number, expiry date, state (current/expired), days until or since expiry, and whether it falls due within the configured window. Also includes an overall status, checkedAt timestamp, findings array, and a limitations list clarifying what the service did and did not determine (e.g. no legal advice, no eviction determination, no bank confirmation).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "maxLength": 200000
  },
  "asOf": {
   "type": "string",
   "maxLength": 40
  },
  "file": {
   "type": "object",
   "required": [
    "mediaType",
    "fileBase64"
   ],
   "properties": {
    "filename": {
     "type": "string",
     "maxLength": 180,
     "minLength": 1
    },
    "mediaType": {
     "enum": [
      "text/plain",
      "text/csv",
      "application/json"
     ],
     "type": "string"
    },
    "fileBase64": {
     "type": "string",
     "maxLength": 12000000,
     "minLength": 1
    }
   },
   "additionalProperties": false
  },
  "json": {
   "type": "string",
   "maxLength": 200000
  },
  "text": {
   "type": "string",
   "maxLength": 200000
  },
  "items": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "kind": {
      "type": "string",
      "maxLength": 80
     },
     "status": {
      "type": "string",
      "maxLength": 40
     }
    },
    "additionalProperties": false
   },
   "maxItems": 80
  },
  "rules": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "name",
     "value"
    ],
    "properties": {
     "name": {
      "type": "string",
      "maxLength": 40,
      "minLength": 1
     },
     "value": {
      "type": "string",
      "maxLength": 40
     }
    },
    "additionalProperties": false
   },
   "maxItems": 8
  },
  "evidence": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "form": {
      "type": "string",
      "maxLength": 40
     },
     "amount": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "purpose": {
      "type": "string",
      "maxLength": 40
     },
     "currency": {
      "type": "string",
      "maxLength": 12
     },
     "reference": {
      "type": "string",
      "maxLength": 80
     }
    },
    "additionalProperties": false
   },
   "maxItems": 40
  },
  "expected": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "amount": {
      "type": "number",
      "maximum": 1000000000,
      "minimum": 0
     },
     "purpose": {
      "type": "string",
      "maxLength": 40
     },
     "currency": {
      "type": "string",
      "maxLength": 12
     },
     "reference": {
      "type": "string",
      "maxLength": 80
 
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "asOf": "2026-11-04",
  "items": [
   {
    "id": "D-1",
    "due": false,
    "days": -3,
    "kind": "passport",
    "state": "expired",
    "holder": "tenant",
    "number": "••••3456",
    "expires": "2026-11-01",
    "legalAdvice": false,
    "daysSupplied": true
   },
   {
    "id": "D-2",
    "due": true,
    "days": 16,
    "kind": "visa",
    "state": "current",
    "holder": "tenant",
    "number": "••••7654",
    "expires": "2026-11-20",
    "legalAdvice": false,
    "daysSupplied": true
   }
  ],
  "status": "checked",
  "within": 30,
  "findings": [],
  "checkedAt": "2026-11-04T14:00:00.000Z",
  "legalAdvice": false,
  "limitations": [
   "Tenancy documents, payment records, and inventory rows are copied only from labeled fields supplied by the caller.",
   "A screenshot or payment instruction is not treated as cleared funds. No record is confirmed with a bank.",
   "A jurisdiction name does not select a legal checklist. Only requirements written in the request are used.",
   "An extracted obligation is the supplied wording. It is not legal advice and it does not decide an eviction right.",
   "No tenant is contacted and no handover is completed."
  ],
  "fundsCleared": false,
  "rulesApplied": false,
  "withinSupplied": true,
  "tenantContacted": false,
  "handoverCompleted": false,
  "evictionDetermined": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-tenant-document-expiry-check-197fff7d/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.brainiac.software](https://www.zero.xyz/host/www.brainiac.software/llms.txt)
