Skip to main content

Rebate Endpoints

Get Rebate History Records

request

get /api/v3/rebate/taxQuery?timestamp={{timestamp}}&signature={{signature}}

response

{
   "page": 1,
   "totalRecords": 1,
   "totalPageNum": 1,
   "data": [
      {
          "spot": "0.00082273",
          "futures":"0.00022487",      
          "total": "0.00012126",
          "uid": "221827",
          "account": "154****291@qq.com",
          "inviteTime": 1637651320000
      },
      ...
      {
          "spot": "0.00082273",
          "futures":"0.00022487",    
          "total": "0.00012126",
          "uid": "82937",
          "account": "338****291@qq.com",
          "inviteTime": 1637651320000
      }
   ]
}

Http Request

  • GET /api/v3/rebate/taxQuery

Permission: SPOT_ACCOUNT_READ

Weight(IP): 1

Request

NameTypeMandatoryDescription
startTimelongNO
endTimelongNO
pageintNOdefault 1
recvWindowlongNO
timestamplongYES
signaturestringYES

Response

NameTypeDescription
spotstringspot rebate,unit:usdt
futuresstringfutures rebate,unit:usdt
totalstringtotal rebate,unit:usdt
uidstringInvitee uid
accountstringInvitee account
inviteTimelonginvite time

If startTime and endTime are not sent, the recent 1 year's data will be returned.

Get Rebate Records Detail

request

get /api/v3/rebate/detail?timestamp={{timestamp}}&signature={{signature}}

response

{
    "page": 1,
    "totalRecords": 1,
    "totalPageNum": 1,
    "data": [
        {
            "asset": "USDT",
            "type": "spot",      
            "rate": "0.3",
            "amount": "0.0001126",
            "uid": "2293729101827",
            "account": "154****291@qq.com",
            "tradeTime": 1637651320000,
            "updateTime": 1637651320000
        },
        ...
        {
            "asset": "ETH",
            "type": "spot",
            "rate": "0.3",
            "amount": "0.00000056",
            "uid": "22937291018263",
            "account": "154****291@qq.com",
            "tradeTime": 1637651320000,
            "updateTime": 1637928379000
        }
    ]
}

Http Request

  • GET /api/v3/rebate/detail

Permission: SPOT_ACCOUNT_READ

Weight(IP): 1

Request

NameTypeMandatoryDescription
startTimelongNO
endTimelongNO
pageintNOdefault 1
recvWindowlongNO
timestamplongYES
signaturestringYES

Response

NameTypeDescription
assetstringrebate asset
typestringrebate type: spot futures
ratestringrebate rate
amountstringrebate amount
uidstringInvitee uid
accountstringInvitee account
tradeTimelongtrade time
updateTimelongupdate time

If startTime and endTime are not sent, the recent 1 year's data will be returned.

Get Self Rebate Records Detail

request

get /api/v3/rebate/detail/kickback?timestamp={{timestamp}}&signature={{signature}}

response

{
   "page": 1,
   "totalRecords": 27,
   "totalPageNum": 3,
   "data": [
      {
          "asset": "USDT",
          "type": "spot",      
          "rate": "0.3",
          "amount": "0.0001126",
          "uid": "2293729101827",
          "account": "154****291@qq.com",
          "tradeTime": 1637651320000,
          "updateTime": 1637651320000
      },
      ...
      {
          "asset": "ETH",
          "type": "spot",
          "rate": "0.3",
          "amount": "0.00000056",
          "uid": "22937291018263",
          "account": "154****291@qq.com",
          "tradeTime": 1637651320000,
          "updateTime": 1637928379000
      }
   ]
}

Http Request

  • GET /api/v3/rebate/detail/kickback

Permission: SPOT_ACCOUNT_READ

Weight(IP): 1

Request

NameTypeMandatoryDescription
startTimelongNO
endTimelongNO
pageintNOdefault 1
recvWindowlongNO
timestamplongYES
signaturestringYES

Response

NameTypeDescription
assetstringrebate asset
typestringrebate type: spot futures
ratestringrebate rate
amountstringrebate amount
uidstringInvitee uid
accountstringInvitee account
tradeTimelongtrade time
updateTimelongupdate time

If startTime and endTime are not sent, the recent 1 year's data will be returned.

Query ReferCode

request

get /api/v3/rebate/referCode?timestamp={{timestamp}}&signature={{signature}}

response

{
"referCode": "in3jd"
}

HTTP Request

  • GET /api/v3/rebate/referCode

Permission: SPOT_ACCOUNT_READ

Weight(IP): 1

Request

NameTypeMandatoryDescription
recvWindowlongNO
timestamplongYES
signaturestringYES

Response

NameTypeDescription
referCodestringreferCode

Get Affiliate Commission Record (affiliate only)

request

get /api/v3/rebate/affiliate/commission?timestamp={{timestamp}}&signature={{signature}}

response

{
"success": true,
"code": 0,
"message": null,
"data": {
"pageSize": 10,
"totalCount": 2,
"totalPage": 1,
"currentPage": 1,
"usdtAmount": null,
"totalCommissionUsdtAmount": null,
"totalTradeUsdtAmount": null,
"finished": null,
"resultList": [
{
"uid": "27121050",
"account": "",
"inviteCode": "mexc-12345",
"inviteTime": 1637145911,
"spot": "0.00000000",
"etf": "0.21131086",
"futures": "0.74546367",
"total": "0.95677453",
"deposit": null,
"firstDepositTime": null
},
{
"uid": "52813530",
"account": "",
"inviteCode": "mexc-12345",
"inviteTime": 1637145478,
"spot": "1.25023599",
"etf": "0.00000000",
"futures": "0.00000000",
"total": "1.25023599",
"deposit": "26000.00000000",
"firstDepositTime": "2021-11-19"
}
]
}
}

HTTP Request

  • GET /api/v3/rebate/affiliate/commission

Permission: SPOT_ACCOUNT_READ

Weight(IP): 1

Request

NameTypeMandatoryDescription
startTimelongNostartTime
endTimelongNoendTime
inviteCodestringNoinvite Code
pageintNopage
pageSizeintNopageSize,default:10
timestamplongYestimestamp
signaturestringYessignature

Response

NameTypeDescription
uidstringuser uid
accountstringaccount
inviteCodestringinviteCode
inviteTimelonginviteTime
spotstringspot commission(usdt)
etfstringETF commission(usdt)
futuresstringfutures commission(usdt)
totalstringtotal commission(usdt)
depositstringdeposit amount(usdt)
firstDepositTimestringfirst Deposit Time

If startTime and endTime are not sent, default return the data of the last six months .

Get Affiliate Withdraw Record (affiliate only)

request

get /api/v3/rebate/affiliate/withdraw?timestamp={{timestamp}}&signature={{signature}}

response

{
"success": true,
"code": 0,
"message": null,
"data": {
"pageSize": 10,
"totalCount": 15,
"totalPage": 2,
"currentPage": 1,
"resultList": [
{
"withdrawTime": 1682321417000,
"asset": "USDT",
"amount": "0.00001000"
},
{
"withdrawTime": 1682321405000,
"asset": "USDC",
"amount": "0.00001000"
}
]
}
}


HTTP Request

  • GET /api/v3/rebate/affiliate/withdraw

Permission: SPOT_ACCOUNT_READ

Weight(IP): 1

Request

NameTypeMandatoryDescription
startTimelongNostartTime
endTimelongNoendTime
pageintNopage
pageSizeintNopageSize,default: 10
timestamplongYestimestamp
signaturestringYessignature

Response

NameTypeDescription
withdrawTimelongwithdrawTime
assetstringwithdraw asset
amountstringwithdraw amount

If startTime and endTime are not sent, the data of the last six months is returned.

Get Affiliate Commission Detail Record (affiliate only)

request

get /api/v3/rebate/affiliate/commission/detail?timestamp={{timestamp}}&signature={{signature}}

response

{
"success": true,
"code": 0,
"message": null,
"data": {
"pageSize": 10,
"totalCount": 5,
"totalPage": 1,
"currentPage": 1,
"totalCommissionUsdtAmount": "0.0011",
"totalTradeUsdtAmount": "281.8096",
"resultList": [
{
"type": 2,
"sourceType": 2,
"state": 2,
"date": 1689264000000,
"uid": "17875073",
"rate": 0.1,
"symbol": "USDT",
"takerAmount": "170.49326",
"makerAmount": "0",
"amountCurrency": "USDT",
"usdtAmount": "170.49326",
"commission": "0.00085246",
"currency": "USDT"
}
]
}
}


HTTP Request

  • GET /api/v3/rebate/affiliate/commission/detail

Permission: SPOT_ACCOUNT_READ

Weight(IP): 1

Request

NameTypeMandatoryDescription
startTimelongNostartTime
endTimelongNoendTime
inviteCodestringNoinviteCode
pageintNopage
pageSizeintNopageSize,default: 10
typeintNocommission type,1:spot,2:futures,3:ETF
timestamplongYestimestamp
signaturestringYessignature

Response

NameTypeDescription
totalCommissionUsdtAmountstringtotal commission in usdt
totalTradeUsdtAmountstringtotal trade volume in usdt
typeintcommission type,1:spot 2:futures 3:ETF
sourceTypeintsourceType,1:referral 2:sub-affiliate
stateintcommission state
datelongtrade date
uidstringuid
ratestringcommission rate
symbolstringsymbol
takerAmountstringtaker amount
makerAmountstringmaker amount
amountCurrencystringamount currency
usdtAmountstringusdt amount
commissionstringcommission amount
currencystringcommission currency

If startTime and endTime are not sent, the data from T-7 to T is returned. If type is not sent, the data of all types is returned,maximum 30 days data can be queried at one time.

Get Affiliate Campaign Data (affiliate only)

request

get /api/v3/rebate/affiliate/campaign?timestamp={{timestamp}}&signature={{signature}}

response

{
"success": true,
"code": 0,
"message": null,
"data": {
"pageSize": 10,
"totalCount": 15,
"totalPage": 2,
"currentPage": 1,
"resultList": [
{
"campaign": "11kd",
"inviteCode": "mexc-11Kd",
"clickTime": 0,
"createTime": 1695125287000,
"signup": 0,
"traded": 0,
"deposited": 0,
"depositAmount": "0",
"tradingAmount": "0",
"commission": "0"
},
{
"campaign": "New10",
"inviteCode": "mexc-newcode",
"clickTime": 7,
"createTime": 1693152531000,
"signup": 0,
"traded": 0,
"deposited": 0,
"depositAmount": "0",
"tradingAmount": "0",
"commission": "0"
}
]
}
}


HTTP Request

  • GET /api/v3/rebate/affiliate/campaign

Permission: SPOT_ACCOUNT_READ

Weight(IP): 1

Request

NameTypeMandatoryDescription
startTimelongNostartTime
endTimelongNoendTime
pageintNopage
pageSizeintNopageSize,default: 10
timestamplongYestimestamp
signaturestringYessignature

Response

NameTypeDescription
campaignstringcampaign name
inviteCodestringcampaign inviteCode
createTimelongcampaign createTime
clickTimeintinviteCode clickTime
signupintsignup number
depositedintdeposited number
depositAmountstringdepositAmount(usdt)
tradingAmountstringtradingAmount(usdt)
tradedinttraded number
commissionstringcommission

If startTime and endTime are not sent, the data from T-7 to T is returned.

Get Affiliate Referral Data(affiliate only)

request

get /api/v3/rebate/affiliate/referral?timestamp={{timestamp}}&signature={{signature}}

response

{
"success": true,
"code": 0,
"message": null,
"data": {
"pageSize": 10,
"totalCount": 15,
"totalPage": 2,
"currentPage": 1,
"resultList": [
{
"uid": "42469975",
"nickName": null,
"email": "",
"registerTime": 1640275818000,
"inviteCode": "mexc-12201950",
"depositAmount": "0.00000000",
"tradingAmount": "0.00000000",
"commission": "0.00000000",
"firstDepositTime": null,
"firstTradeTime": null,
"lastDepositTime": null,
"lastTradeTime": null,
"withdrawAmount": "0.00000000",
"asset": "0 USDT",
"identification": 1
}
]
}
}


HTTP Request

  • GET /api/v3/rebate/affiliate/referral

Permission: SPOT_ACCOUNT_READ

Weight(IP): 1

Request

NameTypeMandatoryDescription
startTimelongNostartTime
endTimelongNoendTime
uidstringNouid
inviteCodestringNoinvite code
pageintNopage
pageSizeintNopageSize,default: 10
timestamplongYestimestamp
signaturestringYessignature

Response

NameTypeDescription
uidintuid
accountstringaccount email
inviteCodestringinvite code
inviteTimelonginvite time
nickNamestringnickName
firstDepositlongfirst deposit date
firstTradelongfirst trade date
lastDepositlonglast deposit date
lastTradelonglast trade date
depositAmountstringdeposit amount(USDT)
tradingAmountstringtrading amount(USDT)
amountstringcommission amount(USDT)
assetstring0 USDT、1-1,000 USDT、1,000 - 10,000 USDT、 10,000 - 50,000 USDT、50,000 - 100,000 USDT、 100,000 - 500,000 USDT、500,000 - 1,000,000 USDT、 1,000,000 - 5,000,000 USDT、>5,000,000 USDT
withdrawalAmountstringwithdrawal amount(USDT)
identificationintidentification,1: Uncertified, 2: primary, 3: Advanced, 4: Institutional

If startTime and endTime are not sent, the data from T-7 to T is returned.

Get Subaffiliates Data (affiliate only)

request

get /api/v3/rebate/affiliate/subaffiliates?timestamp={{timestamp}}&signature={{signature}}

response

{
"success": true,
"code": 0,
"message": null,
"data": {
"pageSize": 10,
"totalCount": 15,
"totalPage": 2,
"currentPage": 1,
"resultList": [
{
"subaffiliateName": "ada176@mailtemp.top ada176",
"subaffiliateMail": "ad*****6@mailtemp.top",
"campaign": "new1",
"inviteCode": "mexc-12181621",
"activationTime": 1639834136000,
"registered": 0,
"deposited": 0,
"depositAmount": "0",
"commission": "0"
},
{
"subaffiliateName": "ada165@mailtemp.top ada165",
"subaffiliateMail": "ad*****5@mailtemp.top",
"campaign": null,
"inviteCode": "1KMyk",
"activationTime": 1639831541000,
"registered": 0,
"deposited": 1,
"depositAmount": "21.15318",
"commission": "0.5161221"
}
]
}
}


HTTP Request

  • GET /api/v3/rebate/affiliate/subaffiliates

Permission: SPOT_ACCOUNT_READ

Weight(IP): 1

Request

NameTypeMandatoryDescription
startTimelongNostartTime
endTimelongNoendTime
inviteCodestringNoinviteCode
pageintNopage
pageSizeintNopageSize,default: 10
timestamplongYestimestamp
signaturestringYessignature

Response

NameTypeDescription
subaffiliateNamestringsubaffiliate name
subaffiliateMailstringsubaffiliate mail
campaignstringcampaign
inviteCodestringinviteCode
activationTimelongactivation time
registeredintregistered number
depositedintdeposited number
depositAmountstringdeposit amount
commissionstringcommission

If startTime and endTime are not sent, the data from T-7 to T is returned.