# API does not allow access to Convert trades

**URL:** <https://discuss.koinly.io/t/api-does-not-allow-access-to-convert-trades/16308>\
**Category:** Koinly Support\
**Created:** [January 12, 2023, 5:39am UTC](https://discuss.koinly.io/t/api-does-not-allow-access-to-convert-trades/16308 "2023-01-12T05:39:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![randuthayne](https://yyz2.discourse-cdn.com/flex052/user_avatar/discuss.koinly.io/randuthayne/32/9464_2.png) [@randuthayne](https://discuss.koinly.io/u/randuthayne)\
**Post date:** [January 12, 2023, 5:39am UTC](https://discuss.koinly.io/t/api-does-not-allow-access-to-convert-trades/16308/1 "2023-01-12T05:39:55Z")

</div>

**Describe the problem:**  
I converted USDT to BUSD, but this was not recognized by the api and it has affected my cost basis.

**Which exchange/wallet is this regarding?**  
[Binance.US](http://Binance.US) and Kucoin

**How did you import data into this wallet?**  
API

**What have you tried to fix this so far?**  
Tried to manually add CVS file which contained the transactions converting usdt to busd

---

<div class="post-metadata">

**Author:** ![Mathias](https://yyz2.discourse-cdn.com/flex052/user_avatar/discuss.koinly.io/mathias/32/9365_2.png) [@Mathias](https://discuss.koinly.io/u/Mathias)\
**Post date:** [January 12, 2023, 12:01pm UTC](https://discuss.koinly.io/t/api-does-not-allow-access-to-convert-trades/16308/2 "2023-01-12T12:01:02Z")

</div>

Hey randuthayne,

Can you please explain further how this has affected your cost basis? And with “not recognized by the API”, do you mean you believe these transactions should have been Swaps?

---

<div class="post-metadata">

**Author:** ![randuthayne](https://yyz2.discourse-cdn.com/flex052/user_avatar/discuss.koinly.io/randuthayne/32/9464_2.png) [@randuthayne](https://discuss.koinly.io/u/randuthayne)\
**Post date:** [January 12, 2023, 4:27pm UTC](https://discuss.koinly.io/t/api-does-not-allow-access-to-convert-trades/16308/3 "2023-01-12T16:27:40Z")

</div>

This was an assumption on my part. The root of the issue is that I have some bitcoin for which the cost basis is unknown. Looking back at my transactions, it appears that I bought the bitcoin with after having swapped my Tether for BUSD (during the tether FUD back in March). Otherwise I can’t explain why there is no cost basis for the bitcoin (which I sold). Every exchange and wallet I have ever used is linked via API to Koinly.

The error message on Binance mentioned that swaps can’t be tracked with API. I assumed that converting USDT to BUSD would be considered a swap, I I’m thinking this is the root of my missing cost basis.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex052/uploads/koinly_app/original/1X/7ac58e5593a7122893d066794a7254dcdb5ddb31.png) [@system](https://discuss.koinly.io/u/system)\
**Post date:** [March 13, 2023, 4:27pm UTC](https://discuss.koinly.io/t/api-does-not-allow-access-to-convert-trades/16308/4 "2023-03-13T16:27:42Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
