MEXC CSV export format

parser live
🔒 CSV conversion runs in your browser — files are not uploaded

This is the format reference for MEXC CSV export (spot trades / orders / deposits & withdrawals) — where the file comes from, what each column means, and the export quirks that matter. Our parser reads the layout(s) below and converts it in your browser.

Layout evidence: Four profiles per BittyTax’s mexc.py cross-checked with daybook’s MEXC adapter (both built from real exports) — see research/parser-fixture-validation-2026-10.md.

How to export the file

  1. MEXC → Orders → Spot Orders → Trade History → export CSV (preferred — it carries fee data).
  2. Order History, Deposits, and Withdrawals are separate exports — each parses on its own.
  3. Download per date range; times are naive UTC "yyyy-MM-dd HH:mm:ss" unless the header states an offset.

Column reference

Trade History (preferred — has fees)

ColumnWhat it means
UIDOptional leading account id — its presence changes the Fee cell shape (see quirks).
PairsPair code, "BTCUSDT" or "BTC_USDT".
TimeFill time; the export offset may ride in the header name ("Time(UTC+08:00)").
SideBuy or Sell.
Filled PriceFill price.
Executed AmountBase quantity.
TotalQuote quantity.
FeeFee — packed "0.001BTC" when UID is present, numeric in the quote asset otherwise.
RoleMaker/taker (optional trailing column).

Order History (no fee data)

ColumnWhat it means
Pairs / TimePair and order time.
Type / DirectionOrder kind; Direction is Buy/Sell.
Average Filled PriceAverage execution price.
Order PriceLimit price.
Filled QuantityExecuted base quantity.
Order Quantity / Order AmountOrdered quantity and whole-order value — Order Amount overstates on partial fills.
StatusOrder state — canceled rows are skipped.

Deposits

ColumnWhat it means
StatusOnly "Credited Successfully" rows emit.
TimeCredit timestamp.
Crypto / NetworkAsset and chain.
Deposit AmountCredited quantity.
TxID / ProgressOn-chain txid and progress label.

Withdrawals

ColumnWhat it means
StatusOnly "Withdrawal Successful" rows emit.
TimeEvent timestamp.
Crypto / NetworkAsset and chain.
Request AmountGross sent quantity (fee NOT deducted).
Withdrawal Address / memoDestination (memo optional).
TxIDOn-chain txid.
Trading FeeFee in the withdrawn asset.
Settlement Amount / Withdrawal DescriptionsNet settled amount and free text.

Format quirks

Convert this file (1)

Convert an MEXC CSV to the Koinly formatlive

All MEXC CSV converters · Format reference index · All converters