Host: https://api.minergate.com
Currency Name | Currency Code (cc) |
---|---|
Bytecoin | bcn |
Monero | xmr |
FantomCoin | fcn |
QuazarCoin | qcn |
DigitalNote | xdn |
MonetaVerde | mcn |
Dashcoin | dsh |
Aeon coin | aeon |
Infinium-8 | inf8 |
Bitcoin | btc |
Lytecoin | ltc |
Method: GET
Path: /1.0/pool/profitRating
Example response:
["btc", "qcn", "xmr", "bcn"]
Method: GET
Path: /1.0/pool/top/hashrate
Example response:
{
"xmr": [
{
"hashrate": 536450.558066599,
"nickname": "nickname1"
},
{
"hashrate": 90208.49551531563,
"nickname": "nickname2"
},
{
"hashrate": 55373.55420204257,
"nickname": "nickname3"
}, ...
],
"bcn" : {
...
}, ...}
Method: GET
Path: /1.0/:cc/status
Example request: /1.0/bcn/status
Example response:
{
"hash": "1efd43e0d8ae9826278cfddffc2fe2e082c4683910766d7e0c28cb2e386b02b5",
"height": 930169,
"orphan": false,
"timestamp": 1454422483,
"difficulty": 132222356,
"prevBlockHash": "e4542479ad51aa6aa61ae91eba62f060362cd4fdf4fc43c6763b4fb5ef5d3aa7",
"sizeMedian": 5009,
"blockSize": 14249,
"txCumulativeSize": 13603,
"txCount": 10,
"baseReward": 2163929365089,
"penalty": 0,
"reward": 2163938365089,
"feeSumm": 9000000,
"alreadyGeneratedCoins": 17879485138156950000,
"cumulativeTxCount": 2315170,
"rewardBlocksWindow": 100,
"fullRewardMaxBlockSize": 20000,
"instantHashrate": 1101852.9666666666
}
Method: POST
Path: /1.0/auth/login
Parameters: login(your email), password, totp(2-step authorization token, not-required)
Example parameters:
{
"login": "your_email@gmail.com",
"password": "your_password",
"totp": 123456
}
Example success response:
{
"token": "1c2VySWQiOiJibGFja19sdWdhMkBtYW1c2VySWQiOiJibGFja19sdWdhMkBtYW1c2VySWQiOiJibGFja19sdWdhMkBtYW"
}
This token you should use in authorized requests.
Possible errors:
{
"error": "WrongEmailOrPassword",
"message": "Email and Password pair did not authenticate."
}
{
"error": "TotpRequired",
"message": "Two-factor authorization is enabled for this account. Please provide TOTP code."
}
- get balance
- get transfers
- get withdrawals
- get workers
- get mining stats
- get affiliate links
- get affiliates
- get affiliate profit
- get invoices
- get invoice by token
- get nickname
Method: GET
Path: /1.0/balance
Example response:
{
"aeon": "30.66592521533400000000",
"bcn": "30143.50038210000000000000",
"btc": "0.00800000000000000000",
"dsh": "2.80476725202",
"xdn": "4.53423417000000000000",
"fcn": "4.14526383581300000000",
"inf8": "24.88587286959600000000",
"ltc": "0.10015669000000000000",
"mcn": "16.42067126414000000000",
"xmr": "0.01750385351100000000",
"qcn": "13.59907377987700000000"
}
Method: GET
Path: /1.0/transfers/:cc
Exmaple request: /1.0/transfers/xdn
Example response:
[
{
"cc": "xdn",
"amount": 700,
"fromUserId": "user1@gmail.com",
"toUserId": "user2@gmail.com",
"id": "c5d7b9d3-c2ce-4621-825c-58cbb5ea6eff",
"state": "finished",
"created": 1449161749429
},
{
"cc": "xdn",
"amount": 10,
"fromUserId": "user2@gmail.com",
"toUserId": "user18@gmail.com",
"id": "e81cde3a-9b67-4f5e-98ad-08ce7884e02a",
"state": "finished",
"created": 1448977022415
}
]
Exmaple request: /1.0/transfers/
Example response:
[
{
"cc": "bcn",
"amount": 700,
"fromUserId": "user1@gmail.com",
"toUserId": "user2@gmail.com",
"id": "c5d7b9d3-c2ce-4621-825c-58cbb5ea6eff",
"state": "finished",
"created": 1449161749429
},
{
"cc": "inf8",
"amount": 10,
"fromUserId": "user2@gmail.com",
"toUserId": "user18@gmail.com",
"id": "e81cde3a-9b67-4f5e-98ad-08ce7884e02a",
"state": "finished",
"created": 1448977022415
}
]
Method: GET
Path: /1.0/withdrawals/:cc
Exmaple request: /1.0/withdrawals/xdn
Example response:
[
{
"cc": "xdn",
"address": "address",
"transactionHash": "acaef20101873165b576ec44f0754c4847e5c16831b79810cff71a2eb7c00a38",
"amount": 1.9,
"fee": 0.1,
"paymentId": "paymentId",
"transactionIdHash": "5bb3f705-82e2-4b61-8651-7567571c72f3",
"status": "finished",
"created": 1451151685.785
},
{
"cc": "xdn",
"address": "address",
"transactionHash": "acaef20101873165b576ec44f0754c4847e5c16831b79810cff71a2eb7c00a38",
"amount": 1.9,
"fee": 0.1,
"paymentId": "paymentId",
"transactionIdHash": "5bb3f705-82e2-4b61-8651-7567571c72f3",
"status": "finished",
"created": 1451151685.785
}
]
Exmaple request: /1.0/withdrawals
Example response:
[
{
"cc": "fcn",
"address": "address",
"transactionHash": "acaef20101873165b576ec44f0754c4847e5c16831b79810cff71a2eb7c00a38",
"amount": 1.9,
"fee": 0.1,
"paymentId": "paymentId",
"transactionIdHash": "5bb3f705-82e2-4b61-8651-7567571c72f3",
"status": "pending",
"created": 1451151685.785
},
{
"cc": "bcn",
"address": "address",
"transactionHash": "acaef20101873165b576ec44f0754c4847e5c16831b79810cff71a2eb7c00a38",
"amount": 1.9,
"fee": 0.1,
"paymentId": "paymentId",
"transactionIdHash": "5bb3f705-82e2-4b61-8651-7567571c72f3",
"status": "finished",
"created": 1451151685.785
}
]
Method: GET
Path: /1.0/workers
Example response:
{
"bcn": {
"minersCount": 1,
"hashrate": 322.484387977974,
"hashrateRank": 256
},
"fcn": {
"minersCount": 1,
"hashrate": 322.484387977974,
"hashrateRank": 155
}
}
Method: GET
Path: /1.0/mining/stats
Example response:
{
"bcn": {
"poolBalance": 191049661,
"minersCount": "1",
"hashrate": "65.405322258114126",
"hashrateRank": 1061,
"minerOnline": true,
"shares": {
"good": 827813,
"goodEq": 968780359,
"bad": 3469,
"badEq": 4033431,
"invalid": 0,
"invalidEq": 0
},
"ppsTotalMined": 111023.92139614478,
"pplnsTotalMined": 22249.54433594,
"blocksFound": 5,
"totalMined": 133273.4657320848
}, ...
"paymentModels": {
"bcn": "pps",
"fcn": "pps",
"dsh": "pplns",
"xmr": "pps",
"qcn": "pps",
"xdn": "pps",
"mcn": "pps",
"aeon": "pps",
"inf8": "pps",
"btc": "pps",
"ltc": "pps"
},
"timestamp": 1454496693669
}
Method: GET
Path: /1.0/affiliate/links
Example response:
{
"7d14d06a612312349": "link",
"ad9e3352adde3f7123256556": "link2",
"f36f11e816381123b9b12295": "link3",
"37d05a536010d46a123e44f4": "link4",
"15e64ffe0aa0aa506dcg452a": "link5"
}
Method: GET
Path: /1.0/affiliate/childrens
Example response:
{
"test1@gmail.com": {
"registered": 1426754165398,
"lastTotalMined": {
"bcn": 11345.64257845018,
"xmr": 0.45854918102170605,
"xdn": 14.910532342462847,
"mcn": 0.00118814373449432,
"qcn": 3030.3576666490317,
"fcn": 14.332406276508118,
"aeon": 3066.3647725068786,
"dsh": 403007.04601774085
},
"profits": {
"bcn": 34.91620052067053,
"xmr": 0.0014406817930471406,
"xdn": 0.05284179398738854,
"mcn": 0.00000356443120348296,
"qcn": 9.373443247396294,
"fcn": 0.04380865486606831,
"aeon": 9.385291553402276,
"dsh": 1244.935845946683
},
"lastProfit": 1454496377768,
"token": "d976f19wefr234fasdfd598"
},
"test2@gmail.com": {
"registered": 1426229844791,
"token": "d976f11231d598"
},
}
Method: GET
Path: /1.0/affiliate/profit
Example response:
{
"bcn": 48481.30996792437,
"xmr": 0.22784646878529005,
"xdn": 0.8658647284964952,
"mcn": 23.31826311843995,
"qcn": 11.443061561369651,
"fcn": 0.32156100510772107,
"aeon": 24.456462240551215,
"dsh": 6193.343139060691,
"ltc": 0.0001675684355892698,
"inf8": 3.279558343484024,
"btc": 0.00000503616312175371
}
Method: GET
Path: /1.0/invoices
Example response:
[
{
"amount": 100000,
"cc": "bcn",
"address": "address",
"comment": "Some text from invoice creator",
"expiredDate": 1454273838471,
"token": "44872a9e0dbb66fa5b5782cfef36f5b4bcdfba43",
"created": 1454101038531,
"status": 7,
"email": "test@gmail.com",
"payoutId": "bf0590ba-ec8c-45bb-a652-dd088f1963e0",
"finished": 1454101196469
},
]