Validate a grant budget API
Sum the supplied lines, compare that sum with a supplied total, and check supplied category amount or percent caps. No cap is assumed.
The Validate a grant budget operation is part of the Grant Compliance API on BRAINIAC.software. Sum the supplied lines, compare that sum with a supplied total, and check supplied category amount or percent caps. No cap is assumed. It is exposed as POST /api/v1/grant-compliance/budget-validate and priced at $0.05 USDC on Base. Payment uses the x402 exact scheme: an unpaid call returns HTTP 402 with payment requirements; after paying the exact USDC amount, retry the same request with a payment-signature header and Idempotency-Key. No account and no API key are required. Data sources for this product: Grant guidelines, application text, budgets, evidence, and rules supplied in the request. Limitations: Grant rules, eligibility criteria, and approval outcomes are not invented. A met rule or a balanced budget is not an official approval or a compliance determination. Requirements, deadlines, and reporting obligations are read only from labeled lines or structured fields. Evidence is matched by the supplied requirement id. The strength of the evidence is not judged. Outputs are compliance prechecks, drafts, or data lookups for human review. They are not official determinations, legal advice, identity confirmation, or certified filings. Related operations in this group include Extract grant requirements, Check supplied eligibility rules, Check application completeness, Check expenses against supplied rules. Open the group documentation for the full request schema, field notes, and response examples before integrating.
/api/v1/grant-compliance/budget-validateExample request
curl -i -X POST "https://www.brainiac.software/api/v1/grant-compliance/budget-validate" \
-H 'content-type: application/json' \
-H 'Idempotency-Key: <fresh-64-character-random-hex-key>' \
--data-binary @- <<'JSON'
{
"currency": "GBP",
"lines": [
{
"category": "staff",
"description": "Coordinator",
"amount": 4000
},
{
"category": "equipment",
"description": "Laptop",
"amount": 1000
}
],
"total": 5000,
"limits": [
{
"category": "staff",
"maxPercent": 40
}
]
}
JSONAn unpaid probe returns HTTP 402 with x402 payment requirements. After paying the exact USDC amount on Base, retry the identical request with a payment-signature header.
FAQ
- Do I need an API key? No. Pay the listed USDC amount with x402.
- What network? Base (eip155:8453), USDC.
- Is this an official determination? No. Results are for human review against the cited sources.
Related operations
- Extract grant requirements — $0.04 USDC
- Check supplied eligibility rules — $0.04 USDC
- Check application completeness — $0.04 USDC
- Check expenses against supplied rules — $0.04 USDC