{"uid":"cap_0rRxxUoCeDipAcaxVUpuh","slug":"brainiac-grant-compliance-expense-eligibility-check-2aef4313","name":"BRAINIAC Grant Compliance Expense Eligibility 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/grant-compliance/expense-eligibility-check?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"rules":{"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,"minItems":1},"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,"minItems":1}}},"responseSchema":{"type":"json","example":{"status":"excluded_by_rule","expenses":[{"id":"E1","amount":4000,"detail":"A supplied rule says this category is eligible. This is not a funder decision.","status":"matches_rule","category":"staff","description":"Coordinator salary"},{"id":"E2","amount":200,"detail":"A supplied rule says this category is ineligible. This is not a funder decision.","status":"excluded_by_rule","category":"hospitality","description":"Alcohol for launch"}],"findings":[{"code":"expense_rules_only","kind":"observed","detail":"An expense is excluded only when a supplied rule says that category is ineligible. Other categories stay not supplied."}],"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."],"officialApproval":false,"complianceDetermined":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_Z21w4pJo-idIr94cte5zB","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 a list of expenses against user-supplied grant rules to determine which expense categories are eligible or ineligible under those rules.","exampleAgentPrompt":"Can you check these grant expenses against our eligibility rules — staff salary ($4,000, category: staff) and alcohol for the launch ($200, category: hospitality) — where the rules say staff is eligible and hospitality is ineligible?","exampleUseCases":[{"title":"Research grant expense audit","prompt":"I have a list of expenses for our NIH grant — lab supplies ($1,200), travel ($800), and entertainment ($300). The grant rules say lab supplies and travel are eligible but entertainment is ineligible. Can you check each expense and tell me which ones would be flagged?"},{"title":"Nonprofit grant reporting prep","prompt":"Before I submit our grant report, can you run our expense list through these eligibility rules: salaries are eligible, meals over $50 per person are ineligible, and equipment is eligible? Here are the five expense line items I need checked."},{"title":"Foundation grant compliance screen","prompt":"Our foundation grant says consulting fees are eligible but hospitality and gifts are ineligible. I have eight expenses across those categories — can you tell me which ones pass and which are excluded by the rules?"}],"resultDescription":"Returns a JSON object with each expense's eligibility status (matches_rule or excluded_by_rule), a detail explanation per expense, a list of compliance findings with codes and observations, the timestamp of the check, and explicit limitations disclaiming that this is not an official approval and compliance has not been formally determined.","failureModes":["Missing required fields (id, description, category, amount) on any expense returns a validation error","No rules provided or empty rules array causes a schema validation failure","Expense category not covered by any supplied rule results in a 'not supplied' status rather than an error","Category strings exceeding 80 characters are rejected","More than 80 expenses or 40 rules in a single request will be rejected by schema limits","Network or payment failure via x402 results in no response being returned"],"whenToPreferThis":"Use this endpoint when you need a fast, rule-based eligibility screen for a batch of expenses against explicit grant category rules you supply yourself — especially in automated compliance pipelines or pre-submission audits. It is not a substitute for official funder review and explicitly disclaims any formal compliance determination, so prefer it for internal pre-checks, flagging, or reporting preparation rather than final approval workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-17T00:37:14.245Z","isFirstParty":false,"canonicalSlug":"brainiac-grant-compliance-expense-eligibility-check-2aef4313"}