{"uid":"cap_XbopvF1uPXW_sXM_pnQS8","slug":"brainiac-tenant-document-expiry-check-197fff7d","name":"BRAINIAC Tenant Document Expiry Check","description":"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.","url":"https://www.brainiac.software/api/v1/rental-operations/tenant-document-expiry-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"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}},"additionalProperties":false},"maxItems":20},"documents":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"kind":{"type":"string","maxLength":80},"holder":{"type":"string","maxLength":160},"issued":{"type":"string","maxLength":40},"number":{"type":"string","maxLength":80},"expires":{"type":"string","maxLength":40}},"additionalProperties":false},"maxItems":40},"inventory":{"type":"array","items":{"type":"object","properties":{"list":{"type":"string","maxLength":40},"name":{"type":"string","maxLength":80},"room":{"type":"string","maxLength":80},"count":{"type":"number","maximum":1000000,"minimum":0},"condition":{"type":"string","maxLength":80}},"additionalProperties":false},"maxItems":80},"obligations":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","maxLength":80},"due":{"type":"string","maxLength":40},"text":{"type":"string","maxLength":500},"party":{"type":"string","maxLength":40}},"additionalProperties":false},"maxItems":40},"jurisdiction":{"type":"string","maxLength":40},"requirements":{"type":"array","items":{"type":"object","required":["name"],"properties":{"kind":{"type":"string","maxLength":40},"name":{"type":"string","maxLength":80,"minLength":1}},"additionalProperties":false},"maxItems":40}}},"responseSchema":{"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}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.04","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.04/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.04","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xTOVt2xCWOFmc7wkAH0Gj","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.04","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"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.","exampleAgentPrompt":"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.","exampleUseCases":[{"title":"Pre-tenancy right-to-rent audit","prompt":"I need to verify that my new tenant's documents are all still valid before they move in on 2025-09-01 — they have a passport (number ending 3456, expires 2025-12-15) and a work visa (expires 2025-10-30). Flag anything expiring within 60 days."},{"title":"Monthly portfolio compliance sweep","prompt":"Run a document expiry check as of today for three tenants in my portfolio: Alice's residence permit expires 2025-08-10, Bob's passport expires 2025-11-01, and Carol's visa expires 2026-01-15 — tell me which are expired or expiring within 45 days."},{"title":"Lease renewal eligibility check","prompt":"Before I renew the lease for unit 4B, can you check if tenant Ravi Kumar's documents are still current? His passport expires 2026-03-20 and his student visa expires 2025-12-01 — use today's date and flag anything within 90 days of expiry."}],"resultDescription":"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).","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-12T18:39:20.564Z","isFirstParty":false,"canonicalSlug":"brainiac-tenant-document-expiry-check-197fff7d"}