{"slug":"www-brainiac-software-api-v1-crypto-tax-exchange-csv-normali-2cb04b","title":"Convert a caller CSV export into the shared ledger schema using a caller column ","host":"www.brainiac.software","method":"POST","resource":"https://www.brainiac.software/api/v1/crypto-tax/exchange-csv-normalize","category":"market","description":"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","price_listed":0.03,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"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"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"csv":{"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","maxLength":10485760,"type":"string"},"fiatCurrency":{"description":"fiat Currency supplied by the caller for this operation.","example":"USD","maxLength":3,"minLength":3,"type":"string"},"mapping":{"description":"mapping supplied by the caller for this operation.","example":{"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"}}},"type":"object"},"wallet":{"description":"wallet supplied by the caller for this operation.","example":"exchange-1","maxLength":128,"minLength":1,"type":"string"}},"required":["csv"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"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","last_updated":"2026-11-24T15:03:01.03Z","schemes":["exact"]}