Crypto Tax · Exchange Csv Normalize
Convert a caller CSV export into the shared ledger schema using a caller column mapping, or return a mapping template from headers. Docs: https://www.brainiac.software/api/crypto-tax/exchange-csv-normalize
POST https://www.brainiac.software/api/v1/crypto-tax/exchange-csv-normalize
0.03 USDC on Base · payTo 0x6428665E83F503904571104311bB78CBb29b975c
Status: verified · payable
Operator badge: embed this endpoint's live status badge — it reads "Verified Payable" only while the probe record backs it.
Settlement: direct to the seller's payTo — 0% HIVE402 take
Payment routes
{
"csv": "Date,Type,Asset,Amount,Total\n2026-01-02 10:00:00,Buy,BTC,0.1,4000.00\n",
"fiatCurrency": "USD",
"mapping": {
"asset": "Asset",
"fiatValue": {
"column": "Total",
"scale": 100
},
"qty": "Amount",
"ts": {
"column": "Date",
"format": "yyyy-MM-dd HH:mm:ss",
"timezone": "UTC"
},
"type": {
"column": "Type",
"values": {
"Buy": "buy",
"Sell": "sell"
}
}
},
"wallet": "exchange-1"
}{
"fiatCurrency": "USD",
"ledger": [
{
"asset": "BTC",
"counterAsset": null,
"counterQty": null,
"feeFiat": 0,
"fiatValue": 400000,
"id": "row-2",
"qty": "0.1",
"ts": "2026-01-02T10:00:00+00:00",
"txHash": null,
"type": "buy",
"wallet": "exchange-1"
}
],
"limitations": [
"RFC 4180 CSV with caller column mapping only. Timestamps are emitted with an offset. No built-in exchange formats are shipped.",
"Pure computation on caller input: no exchange, wallet, market-price or tax-authority API is called at request time."
],
"mappingTemplate": null,
"rejectedRows": [],
"sources": [
{
"retrievedAt": "2026-11-14",
"source": "Caller-supplied ledger, prices and jurisdiction inputs processed locally",
"status": "ok",
"url": "https://www.brainiac.software/api/v1/crypto-tax"
}
]
}Script Master Labs LLC · SDVOSB · Kinston, NC · Terms · Refunds · Privacy · Sellers · Contact
SML network: ScriptMasterLabs — the main site · SML Dual Market — the human store: human checkout, card & crypto · VA Ratings — VA disability ratings, free for veterans
Agent intel 
| Trust score | pending / 100 · breakdown |
|---|---|
| Probe uptime (30d) | — over 0 probes · daily |
| Avg 402 latency | — ms |
| Paid calls (30d, on-chain) | 0 calls · 0 buyers |
How to call
POST https://www.brainiac.software/api/v1/crypto-tax/exchange-csv-normalize · input in body · spec from live-challenge
Input schema
{
"type": "object",
"properties": {
"csv": {
"type": "string",
"maxLength": 10485760,
"description": "Caller-supplied CSV text for this check.",
"example": "Date,Type,Asset,Amount,Total\n2026-01-02 10:00:00,Buy,BTC,0.1,4000.00\n"
},
"mapping": {
"type": "object",
"description": "mapping supplied by the caller for this operation.",
"example": {
"ts": {
"column": "Date",
"format": "yyyy-MM-dd HH:mm:ss",
"timezone": "UTC"
},
"type": {
"column": "Type",
"values": {
"Buy": "buy",
"Sell": "sell"
}
},
"asset": "Asset",
"qty": "Amount",
"fiatValue": {
"column": "Total",
"scale": 100
}
}
},
"wallet": {
"type": "string",
"minLength": 1,
"maxLength": 128,
"description": "wallet supplied by the caller for this operation.",
"example": "exchange-1"
},
"fiatCurrency": {
"type": "string",
"minLength": 3,
"maxLength": 3,
"description": "fiat Currency supplied by the caller for this operation.",
"example": "USD"
}
},
"required": [
"csv"
],
"additionalProperties": false
}Output schema
{
"type": "object"
}curl -i -X POST 'https://www.brainiac.software/api/v1/crypto-tax/exchange-csv-normalize' \
-H 'content-type: application/json' -d '{"csv":"Date,Type,Asset,Amount,Total\n2026-01-02 10:00:00,Buy,BTC,0.1,4000.00\n","mapping":{"ts":{"column":"Date","format":"yyyy-MM-dd HH:mm:ss","timezone":"UTC"},"type":{"column":"Type","values":{"Buy":"buy","Sell":"sell"}},"asset":"Asset","qty":"Amount","fiatValue":{"column":"Total","scale":100}},"wallet":"exchange-1","fiatCurrency":"USD"}'
Agents: POST https://hive402.scriptmasterlabs.com/mcp → route_task / proxy_call · SDK /sdk/hive402.mjs