# BRAINIAC Grant Compliance Budget Validator

> BRAINIAC Grant Compliance Budget Validator is a paid API for AI agents from www.brainiac.software, paid per call via x402, $0.05/call, status unknown (last checked 2026-11-17).

Validates grant budget line items against spending limits and checks for arithmetic consistency, flagging conflicts and over-limit categories.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/grant-compliance/budget-validate?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-17
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-grant-compliance-budget-validator-39209ef9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_okeMzGRd_5ILcQbl24JXI

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-grant-compliance-budget-validator-39209ef9 -d '<json body>'
```

Example prompt: Check my grant budget for compliance issues: I have a staff line of £4000 for a Coordinator and an equipment line of £1000 for a Laptop, with a stated total of £5000 in GBP. The grant limits staff spending to 40% of total budget — flag any violations.

## When to prefer this

Use this endpoint when you need a lightweight, accountless, pay-per-call check of grant budget line items against category spending caps and arithmetic consistency — especially useful for pre-submission audits of grant proposals where you have structured line items and explicit category limits. Prefer this over manual review or spreadsheet checks when you need a machine-readable findings list with conflict codes. Not a substitute for official grant compliance review.

## Known failure modes

- Missing required line item fields (category, description, amount) returns a validation error
- Line items array is empty or exceeds 80 items returns a schema error
- Total or amount values exceed the maximum allowed (1,000,000,000,000) return a range error
- Currency code not matching 3-letter pattern causes a schema rejection
- Payment not made or insufficient USDC causes a 402 response before processing

## 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 the overall compliance status, the calculated and stated totals, per-category breakdowns with percent-of-total and limit status, a list of structured findings (each with a code, kind, and detail), a checkedAt timestamp, and a set of limitation disclaimers. Status fields like 'over_limit' appear per category; top-level status indicates overall consistency. No official approval is granted.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "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,
   "minItems": 1
  },
  "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
  },
  "currency": {
   "type": "string",
   "pattern": "^[A-Za-z]{3}$"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "lines": [
   {
    "amount": 4000,
    "category": "staff",
    "description": "Coordinator"
   },
   {
    "amount": 1000,
    "category": "equipment",
    "description": "Laptop"
   }
  ],
  "limits": [
   {
    "spent": 4000,
    "status": "over_limit",
    "percent": 80,
    "category": "staff",
    "maxAmount": null,
    "maxPercent": 40
   }
  ],
  "status": "inconsistent",
  "currency": "GBP",
  "findings": [
   {
    "code": "total_matches",
    "kind": "observed",
    "detail": "The line amounts sum to 5000, which matches the supplied total."
   },
   {
    "code": "category_over_limit",
    "kind": "conflict",
    "detail": "staff spent 4000, 80 percent of 5000. The supplied limit was not met. This is not a funding decision."
   }
  ],
  "checkedAt": "2026-11-02T19:00:00.000Z",
  "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.",
   "Labeled lines are read as written. Unlabeled prose is not turned into a grant rule.",
   "A matching evidence id does not judge whether the evidence is sufficient."
  ],
  "statedTotal": 5000,
  "calculatedTotal": 5000,
  "officialApproval": false,
  "complianceDetermined": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-grant-compliance-budget-validator-39209ef9/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)
