{"slug":"www-brainiac-software-api-v1-crypto-tax-network-fee-allocate-795845","title":"Assign network/gas fees to acquisition basis, disposal proceeds, expense or fee-","host":"www.brainiac.software","method":"POST","resource":"https://www.brainiac.software/api/v1/crypto-tax/network-fee-allocate","category":"market","description":"Assign network/gas fees to acquisition basis, disposal proceeds, expense or fee-asset disposal per caller policy. Docs: https://www.brainiac.software/api/crypto-tax/network-fee-allocate","price_listed":0.02,"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":{"fees":[{"asset":"ETH","context":"disposal","fiatValue":500,"id":"f1","qty":"0.002","relatedId":"s1"}],"policy":{"acquisition":"add_to_basis","disposal":"deduct_from_proceeds","failed_tx":"ignore","transfer":"expense"}},"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":{"fees":{"description":"fees supplied by the caller for this operation.","example":[{"asset":"ETH","context":"disposal","fiatValue":500,"id":"f1","qty":"0.002","relatedId":"s1"}],"items":{"type":"object"},"type":"array"},"policy":{"description":"policy supplied by the caller for this operation.","example":{"acquisition":"add_to_basis","disposal":"deduct_from_proceeds","failed_tx":"ignore","transfer":"expense"},"type":"object"}},"required":["fees","policy"],"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":{"adjustments":{"description":"adjustments returned by this operation.","items":{"additionalProperties":true,"properties":{"action":{"description":"action returned by this operation.","type":"string"},"amount":{"description":"amount returned by this operation.","type":"integer"},"feeId":{"description":"fee Id returned by this operation.","type":"string"},"target":{"description":"target returned by this operation.","type":"string"}},"type":"object"},"type":"array"},"feeAssetDisposals":{"description":"fee Asset Disposals returned by this operation.","type":"array"},"limitations":{"description":"Product caveats. Absence of a signal is not a safety approval.","type":"array"},"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":"Assign network/gas fees to acquisition basis, disposal proceeds, expense or fee-asset disposal per caller policy. Docs: https://www.brainiac.software/api/crypto-tax/network-fee-allocate","last_updated":"2026-11-24T14:47:05.76Z","schemes":["exact"]}