{"slug":"www-brainiac-software-api-v1-crypto-tax-missing-basis-detect-270b5f","title":"Replay balances to find disposal-without-acquisition, negative balance, unmatche","host":"www.brainiac.software","method":"POST","resource":"https://www.brainiac.software/api/v1/crypto-tax/missing-basis-detect","category":"market","description":"Replay balances to find disposal-without-acquisition, negative balance, unmatched transfer-in and unpriced events before gains are computed. Docs: https://www.brainiac.software/api/crypto-tax/missing-basis-detect","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":{"ledger":[{"asset":"SOL","feeFiat":0,"fiatValue":100,"id":"s9","qty":"1","ts":"2026-01-01T00:00:00Z","type":"sell","wallet":"w1"}]},"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":{"ledger":{"description":"ledger supplied by the caller for this operation.","example":[{"asset":"SOL","feeFiat":0,"fiatValue":100,"id":"s9","qty":"1","ts":"2026-01-01T00:00:00Z","type":"sell","wallet":"w1"}],"items":{"type":"object"},"type":"array"},"prices":{"description":"prices supplied by the caller for this operation.","type":"object"}},"required":["ledger"],"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":{"additionalProperties":true,"properties":{"issues":{"description":"issues returned by this operation.","items":{"additionalProperties":true,"properties":{"asset":{"description":"asset returned by this operation.","type":"string"},"firstTxId":{"description":"first Tx Id returned by this operation.","type":"string"},"kind":{"description":"kind returned by this operation.","type":"string"}},"type":"object"},"type":"array"},"limitations":{"description":"Product caveats. Absence of a signal is not a safety approval.","type":"array"},"ok":{"description":"ok returned by this operation.","type":"boolean"},"sources":{"description":"Provenance only — upstream name, url, and retrievedAt when available.","items":{"additionalProperties":true,"properties":{"retrievedAt":{"description":"ISO-8601 timestamp when upstream data was retrieved.","type":"string"},"source":{"description":"Named upstream source for this delayed reference series.","type":"string"},"status":{"description":"Coverage status: complete or partial with real data is charged on HTTP 2xx; failed or empty payloads return non-2xx and are not charged.","type":"string"},"url":{"description":"Requested public URL.","type":"string"}},"type":"object"},"type":"array"}},"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Replay balances to find disposal-without-acquisition, negative balance, unmatched transfer-in and unpriced events before gains are computed. Docs: https://www.brainiac.software/api/crypto-tax/missing-basis-detect","last_updated":"2026-11-24T15:03:04.423Z","schemes":["exact"]}