# MEXC API giving wrong results

**URL:** https://discuss.koinly.io/t/mexc-api-giving-wrong-results/23996
**Category:** Koinly Support
**Created:** [January 7, 2025, 4:01pm UTC](https://discuss.koinly.io/t/mexc-api-giving-wrong-results/23996 "2025-01-07T16:01:22Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![divakar\_ravi](https://yyz2.discourse-cdn.com/flex052/user_avatar/discuss.koinly.io/divakar_ravi/32/9052_2.png) [@divakar\_ravi](https://discuss.koinly.io/u/divakar_ravi)
#### Post date: [January 7, 2025, 4:01pm UTC](https://discuss.koinly.io/t/mexc-api-giving-wrong-results/23996/1 "2025-01-07T16:01:22Z")

</div>

**Describe the problem:**  
I am getting wrong profits from MEXC api

**Which exchange/wallet is this regarding?**  
MEXC

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

**What have you tried to fix this so far?**

I tried to add API, then tried uploading csv file (csv from universal template), I am not able to understand why I am getting wrong results. Is there any particular way to create csv file which has all my transactions, any help will be appreciated.

---

<div class="post-metadata">

### Author: ![Aria\_Koinly](https://yyz2.discourse-cdn.com/flex052/user_avatar/discuss.koinly.io/aria_koinly/32/9150_2.png) [@Aria\_Koinly](https://discuss.koinly.io/u/Aria_Koinly)
#### Post date: [January 14, 2025, 4:46pm UTC](https://discuss.koinly.io/t/mexc-api-giving-wrong-results/23996/2 "2025-01-14T16:46:06Z")

</div>

Hi @divakar_ravi

As explained in [API Sync: Exchange API limitations](https://support.koinly.io/en/articles/9490003-api-sync-exchange-api-limitations), MEXC’s API has some limitations which makes the CSV import method the recommended way to import your data.

[https://koinly.io/integrations/mxc/](https://koinly.io/integrations/mxc/)

Remember not to mix API and CSV as it results in duplicate transactions.

The files you export following the instructions in the guide abovelow do not need any adjustments and can be directly imported.

---

<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 15, 2025, 4:46pm UTC](https://discuss.koinly.io/t/mexc-api-giving-wrong-results/23996/3 "2025-03-15T16:46:37Z")

</div>

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