# Add fee to API Transactions

**URL:** <https://discuss.koinly.io/t/add-fee-to-api-transactions/2279>\
**Category:** Feature Requests\
**Created:** [March 2, 2021, 1:35pm UTC](https://discuss.koinly.io/t/add-fee-to-api-transactions/2279 "2021-03-02T13:35:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DegenKolo](https://yyz2.discourse-cdn.com/flex052/user_avatar/discuss.koinly.io/degenkolo/32/573_2.png) [@DegenKolo](https://discuss.koinly.io/u/DegenKolo)\
**Post date:** [March 2, 2021, 1:35pm UTC](https://discuss.koinly.io/t/add-fee-to-api-transactions/2279/1 "2021-03-02T13:35:53Z")

</div>

It is not possible to add a fee to API transactions - the number field is just greyed out. Add the functionality to allow this. For example on LP swaps, the ether fee is disjointed and I want to be able to soft delete the ether fee and add it instead to the trade so it is included in my cost basis.

---

<div class="post-metadata">

**Author:** ![hodling](https://yyz2.discourse-cdn.com/flex052/user_avatar/discuss.koinly.io/hodling/32/1466_2.png) [@hodling](https://discuss.koinly.io/u/hodling)\
**Post date:** [March 7, 2021, 10:34pm UTC](https://discuss.koinly.io/t/add-fee-to-api-transactions/2279/2 "2021-03-07T22:34:40Z")

</div>

This is something I need too, there is a mismatch on my XLM trades where I moved the coins from my ledger to binance.

---

<div class="post-metadata">

**Author:** ![teqteq](https://yyz2.discourse-cdn.com/flex052/user_avatar/discuss.koinly.io/teqteq/32/1198_2.png) [@teqteq](https://discuss.koinly.io/u/teqteq)\
**Post date:** [March 9, 2021, 12:32am UTC](https://discuss.koinly.io/t/add-fee-to-api-transactions/2279/3 "2021-03-09T00:32:41Z")

</div>

I’m not sure if this is the same but I see with BSC that it treats the BNB transaction fee as a separate cost, rather than incorporating it as a fee within the transaction. I’d also prefer it appeared as a fee in the same transaction, rather than lots of separate “Cost” transactions.

---

<div class="post-metadata">

**Author:** ![teqteq](https://yyz2.discourse-cdn.com/flex052/user_avatar/discuss.koinly.io/teqteq/32/1198_2.png) [@teqteq](https://discuss.koinly.io/u/teqteq)\
**Post date:** [March 9, 2021, 12:33am UTC](https://discuss.koinly.io/t/add-fee-to-api-transactions/2279/4 "2021-03-09T00:33:23Z")

</div>

Interesting. I have 1 remaining XLM displayed in Koinly that I don’t hold anywhere - likely because of this.

---

<div class="post-metadata">

**Author:** ![xenoman](https://avatars.discourse-cdn.com/v4/letter/x/a88e57/32.png) [@xenoman](https://discuss.koinly.io/u/xenoman)\
**Post date:** [October 27, 2021, 2:51am UTC](https://discuss.koinly.io/t/add-fee-to-api-transactions/2279/5 "2021-10-27T02:51:29Z")

</div>

I would like to do the same. I have a lot of cost transactions that should have been fees on a trade or transfer.
