Skip to content
All sources

MEXC in TaxChain

Beta

TaxChain reads MEXC and is tested against its documented and recorded responses, but has not yet been reconciled against real data. Check the figures against MEXC's own statement before you file.

A centralised exchange with spot and perpetual futures markets. TaxChain reads one MEXC file: the spot trade history, saved as CSV. Deposits, withdrawals, futures, Earn and converts are not read from MEXC, so you add them another way.

Ways in

  • File uploadBeta

    MEXC spot trade history, saved as CSV

    The spot Trade History (one row per fill), with the columns UID, Pairs, Time, Side, Filled Price, Executed Amount, Total, Fee and Role, or the same without UID in older files: the columns two open-source tax tools read from real MEXC exports [1] [2]. The fee cell names its currency, as in 0.01229430USDT.

    Files laid out as Pairs, Side, Filled Price, Filled Qty, Filled Amount, Fee, Role and Trade Time are still read, as are a Fee Currency (or Fee Coin) column and a time zone in the Time header, such as Time(UTC+8).

    MEXC exports this file as Excel [3]. TaxChain accepts only .csv uploads, so open it and save it as CSV first.

    MEXC publishes no column list for the export. The columns TaxChain reads are those that BittyTax and Sanctum read, tested on their sample rows; no MEXC export of a TaxChain user has been checked against the reader yet.

    Spot Order History is another file (Direction, Average Filled Price, Order Amount, no fee). TaxChain does not read it; upload the Trade History instead.

    MEXC also exports deposit history, withdrawal history and futures history [4]. TaxChain has no reader for those files.

  • API connectionNot offered yet

    CCXT `mexc` [5]

    A read-only API key. Spot trades need the spot account read permission and deposits and withdrawals the wallet read permission [6] [7]. A key with no IP whitelist expires after 90 days [8].

    Not offered. MEXC has no sandbox, so the sync can only be checked against a real account, which has not been done.

    The API holds little history. Spot trades are available for the last month only [6]; deposits and withdrawals for 90 days, at most 7 days per request [7] [9]. An API connection could never replace the file for a full tax year.

    The current paging asks for deposits and withdrawals from 2017 to today in one request, which MEXC's documented 7-day and 90-day limits do not allow. It would need fixing before the API could be offered.

    MEXC requires a market for every trade request, so the sync asks each of MEXC's roughly 1,700 spot markets in turn. It reads no futures account.

  • Wallet addressNot available

    None

    An exchange account has no public address of its own to read. Your own wallets that send to or receive from MEXC can be added as chain sources.

What is read

ActivityStatus
Spot tradesFrom the trade history CSV: each fill as a buy or sell with both sides.Read
Trading feesIn the currency the fee cell names. A cell that names none is read in the pair's quote currency, on buys and sells alike, since that is where MEXC deducts the spot fee [10]. A negative fee (a maker rebate) is left out with a warning.Read
Deposits and withdrawalsMEXC exports them as separate files, which TaxChain does not read. Without your deposits, sales of deposited coins have no cost basis.Not read
ConvertsTaxChain reads no MEXC convert history, including small-balance conversions to MX. Whether the spot trade history export lists converts has not been checked against a real file.Not read
Perpetual futures: realised P&L, funding and feesMEXC offers futures history and position history exports; TaxChain reads neither.Not read
MarginNot read
Earn, staking and savings interestThird-party tax tools report that MEXC offers no Earn export [11].Not read
Airdrops, Launchpool and promotional rewardsNot read
P2P and card purchasesNot read
NFTsNot applicable

Limitations

  • Only spot trades are read. Add deposits, withdrawals, Earn income, converts and futures results another way, for example with the TaxChain CSV template.
  • MEXC's self-service export reaches back about 540 days (18 months) [4]. Older history has to be requested from MEXC support.
  • Trade times are read in the time zone the Time header names, such as Time(UTC+8). A header with no time zone is read as UTC, as the open-source importers read it; MEXC does not document the export's zone, so if your export used another one, every trade is shifted.
  • The file carries no trade id. Two identical fills in the same second are kept apart by their order in the file, so upload each period once and do not mix overlapping files.
  • Zero-fee fills (0 or an empty fee cell) are read as having no fee.

How it has been checked

  • November 21, 2026Fixed: the CSV reader recognised only a sample file's columns (Filled Qty, Filled Amount, Trade Time) and no real MEXC export. It now reads the Trade History layouts BittyTax and Sanctum read, with and without UID, tested on their sample rows, and an upload of either is routed to MEXC's reader. Also fixed: a fee cell naming no currency was put in the base on a buy; it is now read in the quote, tested on MEXC's own worked fee examples. A fee asset starting with a digit (1INCH) is read whole.
  • November 20, 2026The CSV adapter tested on sample rows: both sides of buys and sells, MX fees, zero and blank fees, rebates, display time zones, and repeated identical fills.
  • November 20, 2026MEXC's documented myTrades, deposit and withdrawal responses, and CCXT's recorded MEXC fills, read through CCXT's parser and TaxChain's normalizers: settled statuses only, the withdrawal fee beside the amount, futures fills refused as spot trades.
  • November 20, 2026The API sync run against MEXC's documented history windows: trades are read per market from the last month; deposits and withdrawals older than 7 days are not reachable with the current paging (a known defect, kept as an expected failure).

What would make it Verified

A real MEXC spot trade history export imported and reconciled through the engine against the account's balances, which would also settle the time zone of an unmarked Time column. None has been supplied yet.

For the API: fix the deposit and withdrawal paging, then sync a real account (MEXC has no sandbox) and compare it with the same account's export.

Readers for MEXC's deposit, withdrawal and futures exports would be needed before the source covers more than spot trades.

How to add it

  • On mexc.com, open Orders, then Spot Orders, then the Trade History tab, and choose Export [3]. Leave the pair and side filters on All.
  • Choose a period. MEXC limits each export to a set range and a number of exports per month, so you may need one file per year [4].
  • Download the Excel file, open it and save it as CSV. Do not use Spot Order History or a spot statement: those are other files.
  • In TaxChain, open Wallets, choose Add source, pick MEXC and upload the CSV.
  • Add your MEXC deposits and withdrawals, and any Earn, convert or futures activity, with the TaxChain CSV template.

References

  1. [1]BittyTax conv parser for MEXC. BittyTax. Trade History layouts with and without UID: Pairs, Time, Side, Filled Price, Executed Amount, Total, Fee, Role. Reads the older layout's bare fee in the quote, and an unmarked Time as UTC.
  2. [2]Sanctum MEXC Trade History parser. Sanctum (open source). Same columns with UID; sample rows write the fee with its currency, a buy's fee in USDT (0.01229430USDT).
  3. [3]MEXC file import guide. CoinLedger. Menu path for the trade history export; Excel format; up to 365 days per file.
  4. [4]MEXC integration guide (Account Data Export). KoinX. Report types including deposit, withdrawal and futures history; the most recent 540 days; 10 exports per month per section.
  5. [5]CCXT 4.5.93, mexc exchange class. CCXT. fetchMyTrades requires a symbol; no ledger or convert history; sandbox: false.
  6. [6]Spot V3: Account Trade List (GET /api/v3/myTrades). MEXC. Symbol mandatory; limit up to 1000; only the last month can be queried; permission SPOT_ACCOUNT_READ.
  7. [7]Spot V3: Deposit History (supporting network). MEXC. Default last 7 days; a range of at most 7 days; 90 days of data at most; permission SPOT_WITHDRAW_READ.
  8. [8]Spot V3: Introduction. MEXC. Keys without an IP whitelist are valid for 90 days; rate limits; no testnet listed.
  9. [9]Spot V3: Withdraw History (supporting network). MEXC. Same 7-day and 90-day limits as deposits.
  10. [10]Calculation of spot trading fees. MEXC. The fee is deducted in the market's quote currency: buying 0.1 BTC for 5,000 USDT costs 10 USDT; on ETH/BTC the fee is in BTC on a buy and a sell.
  11. [11]MEXC API and CSV import issues. Koinly community forum. User and support reports: no official Earn export; API history is short.

Last checked against the platform's documentation and TaxChain's code on November 21, 2026.