{"uid":"cap_nkP6eXGqysrlgJdQ4a2jj","slug":"brainiac-grant-compliance-report-a49993ff","name":"BRAINIAC Grant Compliance Report","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/grant-compliance/report?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"facts":{"type":"array","items":{"type":"object","required":["name","value"],"properties":{"name":{"type":"string","maxLength":80,"minLength":1},"value":{"type":"string","maxLength":500,"minLength":1}},"additionalProperties":false},"maxItems":80},"lines":{"type":"array","items":{"type":"object","required":["category","description","amount"],"properties":{"amount":{"type":"number","maximum":1000000000000,"minimum":0},"category":{"type":"string","maxLength":80,"minLength":1},"description":{"type":"string","maxLength":200,"minLength":1}},"additionalProperties":false},"maxItems":80},"rules":{"type":"array","items":{"type":"object","required":["id","fact","operator","value"],"properties":{"id":{"type":"string","maxLength":80,"minLength":1},"fact":{"type":"string","maxLength":80,"minLength":1},"value":{"type":"string","maxLength":200,"minLength":1},"operator":{"enum":["equals","includes","number_at_least","number_at_most","boolean_is"],"type":"string"}},"additionalProperties":false},"maxItems":40},"total":{"type":"number","maximum":1000000000000,"minimum":0},"limits":{"type":"array","items":{"type":"object","required":["category"],"properties":{"category":{"type":"string","maxLength":80,"minLength":1},"maxAmount":{"type":"number","maximum":1000000000000,"minimum":0},"maxPercent":{"type":"number","maximum":100,"minimum":0}},"additionalProperties":false},"maxItems":40},"updates":{"type":"array","items":{"type":"object","required":["deliverableId","status"],"properties":{"date":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},"note":{"type":"string","maxLength":2000,"minLength":1},"status":{"enum":["not_started","in_progress","submitted","accepted_by_caller"],"type":"string"},"deliverableId":{"type":"string","maxLength":80,"minLength":1}},"additionalProperties":false},"maxItems":40},"currency":{"type":"string","pattern":"^[A-Za-z]{3}$"},"evidence":{"type":"array","items":{"type":"object","required":["id","text"],"properties":{"id":{"type":"string","maxLength":80,"minLength":1},"text":{"type":"string","maxLength":20000,"minLength":1},"requirementId":{"type":"string","maxLength":80,"minLength":1}},"additionalProperties":false},"maxItems":80},"expenses":{"type":"array","items":{"type":"object","required":["id","description","category","amount"],"properties":{"id":{"type":"string","maxLength":80,"minLength":1},"amount":{"type":"number","maximum":1000000000000,"minimum":0},"category":{"type":"string","maxLength":80,"minLength":1},"description":{"type":"string","maxLength":200,"minLength":1}},"additionalProperties":false},"maxItems":80},"sections":{"type":"array","items":{"type":"object","required":["requirementId","text"],"properties":{"text":{"type":"string","maxLength":20000,"minLength":1},"requirementId":{"type":"string","maxLength":80,"minLength":1}},"additionalProperties":false},"maxItems":40},"guidelines":{"type":"string","maxLength":50000,"minLength":1},"reportText":{"type":"string","maxLength":50000,"minLength":1},"obligations":{"type":"array","items":{"type":"object","required":["id","text"],"properties":{"id":{"type":"string","maxLength":80,"minLength":1},"text":{"type":"string","maxLength":2000,"minLength":1}},"additionalProperties":false},"maxItems":40},"deliverables":{"type":"array","items":{"type":"object","required":["id","name"],"properties":{"id":{"type":"string","maxLength":80,"minLength":1},"name":{"type":"string","maxLength":200,"minLength":1},"dueDate":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"}},"additionalProperties":false},"maxItems":40},"expenseRules":{"type":"array","items":{"type":"object","required":["category","decision"],"properties":{"category":{"type":"string","maxLength":80,"minLength":1},"decision":{"enum":["eligible","ineligible"],"type":"string"}},"additionalProperties":false},"maxItems":40},"requirements":{"type":"array","items":{"type":"object","required":["id","text"],"properties":{"id":{"type":"string","maxLength":80,"minLength":1},"text":{"type":"string","maxLength":2000,"minLength":1}},"additionalProperties":false},"maxItems":40},"reportSections":{"type":"array","items":{"type":"object","required":["obligationId","text"],"properties":{"text":{"type":"string","maxLength":20000,"minLength":1},"obligationId":{"type":"string","maxLength":80,"minLength":1}},"additionalProperties":false},"maxItems":40},"applicationText":{"type":"string","maxLength":50000,"minLength":1}}},"responseSchema":{"type":"json","example":{"budget":{"status":"inconsistent","currency":"GBP","overLimit":1,"statedTotal":5000,"calculatedTotal":5000},"summary":"This report repeats supplied rules and documents. It is not an official approval and does not determine compliance.","evidence":{"status":"incomplete","unmatched":1},"expenses":{"status":"excluded_by_rule","excluded":1},"findings":[{"code":"rules_only","kind":"observed","detail":"Each rule was supplied in the request. No eligibility criterion was added."},{"code":"total_matches","kind":"observed","detail":"The line amounts sum to 5000, which matches the supplied total."},"…"],"checkedAt":"2026-11-02T19:00:00.000Z","deadlines":{"count":1,"status":"extracted"},"reporting":{"status":"incomplete","missing":1},"application":{"status":"incomplete","missing":1},"eligibility":{"met":1,"notMet":1,"status":"not_met","notSupplied":0},"limitations":["This is not an official approval, and compliance was not determined.","Rules, eligibility criteria, budgets, and evidence are used only when they are supplied in the request.","…"],"deliverables":{"late":1,"status":"incomplete","notSupplied":1},"requirements":{"count":2,"status":"extracted"},"officialApproval":false,"complianceDetermined":false}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.12","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.12/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.12","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.12","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Iv5MON56DtEOb8vO_v61h","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.12","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes grant application data — budget lines, eligibility rules, evidence, deliverables, and deadlines — and returns a structured compliance report highlighting conflicts, missing items, and observations without making official funding decisions.","exampleAgentPrompt":"Run a grant compliance check on this application: the stated total is £50,000 with budget lines for staff (£30,000) and equipment (£20,000), a rule that staff costs must not exceed 60% of total, a limit of 60% on staff category, and evidence for deliverable D1 submitted on 2026-12-20 against a due date of 2026-12-01 — flag any conflicts or missing items.","exampleUseCases":[{"title":"Pre-submission grant budget audit","prompt":"Before I submit this grant, check whether my budget lines add up to my stated total of $120,000 and whether any category exceeds the allowed limits — staff is $80,000 (max 65%), travel is $15,000 (max 15%), and equipment is $25,000 (no limit stated)."},{"title":"Deliverable deadline compliance check","prompt":"I need to verify which of my grant deliverables are running late. D1 was due 2025-06-01 and the latest update is 'in_progress' dated 2025-06-15; D2 was due 2025-07-01 and is 'submitted' dated 2025-06-28. Flag any late items and summarize overall deadline status."},{"title":"Eligibility rule validation for grant report","prompt":"Check whether our project meets the eligibility criteria for this grant: the rule says 'sector equals education' and our fact is sector = education, another rule says 'annual_revenue number_at_most 500000' and our value is 420000, and a third rule says 'registered boolean_is true' and we are registered — tell me which criteria are met and which are not."}],"resultDescription":"Returns a JSON object containing: an overall budget status (consistent/inconsistent) with stated vs calculated totals and any over-limit amounts; an evidence status showing matched and unmatched items; an expenses status indicating whether lines were excluded by rule; an eligibility breakdown (met, not met, not supplied counts and overall status); a deadlines summary; a reporting and application completeness status; a list of findings each tagged with a code, kind (observed/conflict/unavailable), and detail text; a checkedAt timestamp; a human-readable summary; and a limitations array explicitly stating the report does not constitute an official approval or compliance determination.","failureModes":["Invalid or missing required fields (category, description, amount, name, value) return a 400-level validation error","Rule references a fact name not present in the facts array — finding is generated but fact is treated as not supplied","Budget lines do not sum to stated total — budget status is marked inconsistent with the discrepancy noted","Evidence deliverable IDs do not match any requirement IDs — evidence status shows unmatched count","Date strings not matching the strict ISO date pattern cause schema validation failure","Exceeding maxItems limits (80 lines, 40 rules, 40 limits) causes request rejection","Payment of 0.12 USDC on Base not completed or rejected results in HTTP 402 with no report returned"],"whenToPreferThis":"Use this endpoint when an AI agent needs a structured, machine-readable compliance pre-check on grant data — budget lines, eligibility rules, evidence, and deliverable timelines — before human review or official submission. It is best suited for agentic workflows that must flag conflicts and missing items programmatically without storing any data server-side. It is not an official approval system and should not replace a grant-making body's own review process.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T00:37:06.448Z","isFirstParty":false,"canonicalSlug":"brainiac-grant-compliance-report-a49993ff"}