# BRAINIAC Tenancy Obligation Extractor

> BRAINIAC Tenancy Obligation Extractor 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).

Extracts and structures tenant/landlord obligations from rental agreement text, CSV, JSON, or file uploads, returning labeled obligations with party, due date, and enforceability metadata.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/rental-operations/tenancy-obligation-extract?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-tenancy-obligation-extractor-1789010a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_BU_pLdwPWqQNTWkJuFz0z

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-tenancy-obligation-extractor-1789010a -d '<json body>'
```

Example prompt: Can you extract all the obligations from this lease agreement text and tell me which ones belong to the tenant, which to the landlord, when they're due, and whether they appear enforceable? Here's the text: 'The tenant shall pay £1,200 rent by the 1st of each month. The landlord shall repair the boiler within 14 days of notification.'

## When to prefer this

Use this endpoint when you need to extract and structure obligations from raw tenancy documents — leases, rental agreements, or related records — without needing a full legal review platform. It is well-suited for AI agents processing landlord-tenant documents, pre-screening contracts, or building compliance checklists from supplied text. Prefer this over general-purpose LLM extraction when you need a consistent structured JSON output with explicit party labeling, due dates, and enforceability flags, and when paying per-call via x402 on Base is acceptable.

## Known failure modes

- Unlabeled or unstructured text lines are ignored and noted in findings
- No legal jurisdiction checklist is applied — only rules explicitly supplied in the request
- Screenshots or payment instructions are not treated as cleared funds
- Obligations reflect supplied wording only, not legal interpretation
- Missing required fields (mediaType, fileBase64 for file uploads) will cause validation errors
- Ambiguous party assignments may result in partyKnown: false

## 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 an `items` array of extracted obligations, each with an ID, due date, obligation text, responsible party, partyKnown flag, enforceability flag, and interpretation type. Also includes status, checkedAt timestamp, legalAdvice disclaimer (always false), a list of limitations, and boolean flags for fundsCleared, rulesApplied, tenantContacted, handoverCompleted, and evictionDetermined. A `findings` array notes any ignored or unrecognized input lines.

## 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": {
  "items": [
   {
    "id": "O-1",
    "due": "2026-11-15",
    "text": "pay the first rent",
    "party": "tenant",
    "partyKnown": true,
    "enforceable": false,
    "interpretation": "stated"
   },
   {
    "id": "O-2",
    "due": "",
    "text": "repair the boiler",
    "party": "landlord",
    "partyKnown": true,
    "enforceable": false,
    "interpretation": "stated"
   }
  ],
  "status": "extracted",
  "findings": [
   {
    "code": "unlabeled_line",
    "kind": "ignored",
    "detail": "Lines without a recognized label were not read and their text was not copied.",
    "subject": ""
   }
  ],
  "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,
  "tenantContacted": false,
  "handoverCompleted": false,
  "evictionDetermined": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-tenancy-obligation-extractor-1789010a/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)
