# BRAINIAC Account Cashflow Compare

> BRAINIAC Account Cashflow Compare 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-12).

Compares cashflow metrics (inflows, outflows, net) across multiple bank/financial accounts from supplied transaction data, producing per-account summaries and cross-account delta pairs.

## Facts

- Endpoint: POST https://www.brainiac.software/api/v1/payment-intelligence/account-cashflow-compare?utm_source=zero.xyz
- Price: $0.05/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/brainiac-account-cashflow-compare-7b5666f6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_lAoq9zjcuNkbIaP2PHClH

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-account-cashflow-compare-7b5666f6 -d '<json body>'
```

Example prompt: Can you compare the cashflow between my Current account (ACC-1) and my Savings account (ACC-2)? Here are the transactions in CSV format — I want to see inflows, outflows, and net for each, and which account has the better net cashflow as of today.

## When to prefer this

Use this endpoint when you need to compare cashflow across multiple financial accounts from raw transaction data you already have — without connecting to a bank or Open Banking. It is ideal for agents processing uploaded statements, lending pre-checks, or personal finance dashboards where you want per-account inflow/outflow/net breakdowns and cross-account delta comparisons without producing an affordability decision.

## Known failure modes

- Malformed or empty transaction data returns no account summaries
- Accounts with mismatched currencies may not form compatible comparison pairs
- Truncated CSV or JSON input may result in incomplete cashflow calculations
- Missing accountId fields on transactions may prevent correct account attribution
- Exceeding maxItems limits on transactions or merchants may cause input rejection

## 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 structured JSON object with per-account cashflow summaries (inflow, outflow, net, transaction count, currency) and a list of compatible account pairs showing the net delta between them. Also includes a status field, findings list, timestamp, and an explicit limitations array clarifying that no bank connection is used, no income is invented, and no affordability decision is produced.

## Request schema (JSON Schema)

```json
{
 "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
  },
  "accounts": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "name": {
      "type": "string",
      "maxLength": 200
     },
     "type": {
      "type": "string",
      "maxLength": 80
     },
     "currency": {
      "type": "string",
      "maxLength": 12
     }
    },
    "additionalProperties": false
   },
   "maxItems": 100
  },
  "merchants": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "name": {
      "type": "string",
      "maxLength": 200
     },
     "aliases": {
      "type": "array",
      "items": {
       "type": "string",
       "maxLength": 200
      },
      "maxItems": 20
     },
     "category": {
      "type": "string",
      "maxLength": 120
     }
    },
    "additionalProperties": false
   },
   "maxItems": 400
  },
  "corrections": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "to": {
      "type": "string",
      "maxLength": 120
     },
     "from": {
      "type": "string",
      "maxLength": 120
     },
     "merchant": {
      "type": "string",
      "maxLength": 200
     },
     "transactionId": {
      "type": "string",
      "maxLength": 80
     }
    },
    "additionalProperties": false
   },
   "maxItems": 400
  },
  "transactions": {
   "type": "array",
   "items": {
    "type": "object",
    "properties": {
     "id": {
      "type": "string",
      "maxLength": 80
     },
     "mcc": {
      "type": "string",
      "maxLength": 20
     },
     "date": {
      "type": "string",
      "maxLength": 40
     },
     "amount": {
      "type": "n
… (truncated)
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "pairs": [
   {
    "reason": "Compared because both accounts share the same supplied currency.",
    "leftNet": 800,
    "netDelta": 720,
    "rightNet": 80,
    "compatible": true,
    "leftAccountId": "ACC-1",
    "rightAccountId": "ACC-2",
    "netDeltaSupplied": true
   }
  ],
  "status": "compared",
  "accounts": [
   {
    "net": 800,
    "name": "Current",
    "inflow": 1000,
    "outflow": 200,
    "currency": "GBP",
    "accountId": "ACC-1",
    "bankConnected": false,
    "transactionCount": 2,
    "openBankingConnected": false
   },
   {
    "net": 80,
    "name": "Savings",
    "inflow": 100,
    "outflow": 20,
    "currency": "GBP",
    "accountId": "ACC-2",
    "bankConnected": false,
    "transactionCount": 2,
    "openBankingConnected": false
   }
  ],
  "findings": [],
  "checkedAt": "2026-11-04T21:00:00.000Z",
  "limitations": [
   "Transactions, accounts, merchants, and category corrections are copied only from labeled fields supplied by the caller.",
   "No bank account is connected and no Open Banking credentials are required or used.",
   "Income, affordability, and merchant identity are derived only from supplied rows. Missing values are not invented.",
   "Recurring and subscription detection use date spacing and description/merchant similarity from the supplied set only.",
   "An affordability or credit decision is never produced."
  ],
  "accountCount": 2,
  "bankConnected": false,
  "incomeInvented": false,
  "compatiblePairCount": 1,
  "credentialsRequired": false,
  "openBankingConnected": false,
  "affordabilityDecision": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/brainiac-account-cashflow-compare-7b5666f6/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)
