Info
Welcome to the CryptoCommerce API reference.
- The base endpoint is: https://mycryptocommerce.com
- All endpoints return either a JSON object or array.
- Data is returned in ascending order. Oldest first, newest last.
- All time and timestamp related fields are in milliseconds.
General API Information
HTTP Return Codes
- HTTP 4XX return codes are used for malformed requests; the issue is on the sender's side.
- HTTP 403 return code is used when the WAF Limit (Web Application Firewall) has been violated.
- HTTP 429 return code is used when breaking a request rate limit.
- HTTP 418 return code is used when an IP has been auto-banned for continuing to send requests after receiving 429 codes.
- HTTP 5XX return codes are used for internal errors; the issue is on Binance's side.
Coin
APIs for information coins
Top coin price
[24-hour changes, price in dollars and Rials of selected coins]
Example request:
const url = new URL(
"https://mycryptocommerce.com/api/v2/coin/topCoinPrice"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"CRYPTOCOMMERCE": "encode base64 api_key",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://mycryptocommerce.com/api/v2/coin/topCoinPrice',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'CRYPTOCOMMERCE' => 'encode base64 api_key',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200):
{
"data": [
{
"symbol": "BTC",
"name": "Bitcoin",
"price_usd": 9708.34,
"price_irr": 1643621962,
"percent_change_24h": "0.158"
},
{
"symbol": "ETH",
"name": "Ethereum",
"price_usd": 243.1,
"price_irr": 41156830,
"percent_change_24h": "0.372"
},
{
"symbol": "XRP",
"name": "Ripple",
"price_usd": 0.2,
"price_irr": 34173.21,
"percent_change_24h": "-0.124"
},
{
"symbol": "BCH",
"name": "Bitcoin Cash",
"price_usd": 253.26,
"price_irr": 42876918,
"percent_change_24h": "0.369"
},
{
"symbol": "LTC",
"name": "Litecoin",
"price_usd": 46.16,
"price_irr": 7814888,
"percent_change_24h": "0.130"
}
]
}
Example response (400):
{
"message": "ای پی شما در لیست آی پی های معتبر قرار ندارد."
}
Example response (401):
{
"message": "اجازه دسترسی شما معتبر نمی باشد."
}
Example response (402):
{
"message": "موجودی حساب شما کافی نیست."
}
Example response (404):
{
"message": "رابط برنامه نویس درخواستی شما موجود نمی باشد."
}
HTTP Request
GET api/v2/coin/topCoinPrice
Deposit
APIs for deposit action
History
[Deposit history]
Example request:
const url = new URL(
"https://mycryptocommerce.com/api/v2/deposit/history"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"CRYPTOCOMMERCE": "encode base64 api_key",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://mycryptocommerce.com/api/v2/deposit/history',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'CRYPTOCOMMERCE' => 'encode base64 api_key',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200):
{
"data": {
"deposit_complete_irr": [],
"deposit_complete_currency": [
{
"id": 23,
"insert_time": null,
"insertDate": null,
"deposit_type": null,
"operation_code": null,
"operation_message": null,
"account_number": null,
"insertTime": "1582053294000",
"amount": "5",
"address": "1579947912",
"addressTag": "",
"txId": "414da263-xxxx-xxxx-xxxx-8fad213519d4",
"asset": "USDT",
"status": 1,
"user_id": 13,
"created_at": "2020-02-19 01:14:54",
"updated_at": "2020-02-19 01:14:54",
"created_at_shamsi": "1398-11-30 01:14:54"
},
{
"id": 21,
"insert_time": null,
"insertDate": null,
"deposit_type": null,
"operation_code": null,
"operation_message": null,
"account_number": null,
"insertTime": "1581840382000",
"amount": "0.00072043",
"address": "bnb136ns6lfw4zsxxxxxxxxxxxhq5m4gtkgf23",
"addressTag": "102838379",
"txId": "Internal transfer 667xxxxx508",
"asset": "BTC",
"status": 1,
"user_id": 13,
"created_at": "2020-02-16 14:41:04",
"updated_at": "2020-02-16 14:41:04",
"created_at_shamsi": "1398-11-27 14:41:04"
},
{
"id": 20,
"insert_time": null,
"insertDate": null,
"deposit_type": null,
"operation_code": null,
"operation_message": null,
"account_number": null,
"insertTime": "1581840663000",
"amount": "3.76500577",
"address": "bnb136ns6lfw4zsxxxxxxxxxxxx7hq5m4gtkgf23",
"addressTag": "102838379",
"txId": "Internal transfer 667xxxxx197",
"asset": "BNB",
"status": 1,
"user_id": 13,
"created_at": "2020-02-16 14:41:03",
"updated_at": "2020-02-16 14:41:03",
"created_at_shamsi": "1398-11-27 14:41:03"
},
{
"id": 19,
"insert_time": null,
"insertDate": null,
"deposit_type": null,
"operation_code": null,
"operation_message": null,
"account_number": null,
"insertTime": "1581841601000",
"amount": "6008.2944077",
"address": "TVhPLMEHVtXtL4ijRfXC3WW3PRwLTTT2MS",
"addressTag": "",
"txId": "Internal transfer 667xxxxx261",
"asset": "BTT",
"status": 1,
"user_id": 13,
"created_at": "2020-02-16 14:40:04",
"updated_at": "2020-02-16 14:40:04",
"created_at_shamsi": "1398-11-27 14:40:04"
},
{
"id": 18,
"insert_time": null,
"insertDate": null,
"deposit_type": null,
"operation_code": null,
"operation_message": null,
"account_number": null,
"insertTime": "1581841702000",
"amount": "200",
"address": "0xb84a0bf6e678269fd257448cfc1798631968abbc",
"addressTag": "",
"txId": "Internal transfer 667xxxx567",
"asset": "AGI",
"status": 1,
"user_id": 13,
"created_at": "2020-02-16 14:40:03",
"updated_at": "2020-02-16 14:40:03",
"created_at_shamsi": "1398-11-27 14:40:03"
},
{
"id": 17,
"insert_time": null,
"insertDate": null,
"deposit_type": null,
"operation_code": null,
"operation_message": null,
"account_number": null,
"insertTime": "1581841813000",
"amount": "420.37776",
"address": "TVhPLMEHVtXtL4ijRfXC3WW3PRwLTTT2MS",
"addressTag": "",
"txId": "Internal transfer 66xxxxx4057",
"asset": "TRX",
"status": 1,
"user_id": 13,
"created_at": "2020-02-16 14:39:02",
"updated_at": "2020-02-16 14:39:02",
"created_at_shamsi": "1398-11-27 14:39:02"
},
{
"id": 16,
"insert_time": null,
"insertDate": null,
"deposit_type": null,
"operation_code": null,
"operation_message": null,
"account_number": null,
"insertTime": "1581841924000",
"amount": "0.19799548",
"address": "bnb136ns6lfw4zs5hg4n85vdthaad7hq5m4gtkgf23",
"addressTag": "102838379",
"txId": "Internal transfer 667xxxx351",
"asset": "LTC",
"status": 1,
"user_id": 13,
"created_at": "2020-02-16 14:38:03",
"updated_at": "2020-02-16 14:38:03",
"created_at_shamsi": "1398-11-27 14:38:03"
}
],
"deposit_in_progress_irr": [
{
"id": 24,
"amount": "30000000",
"date": "780816",
"time": "سه شنبه, 20 خرداد 99",
"optional_information": "9808160122448640",
"account_number": "0203444676007",
"user_id": 13,
"created_at": "2020-06-09 13:53:15",
"updated_at": "2020-06-09 13:53:15",
"created_at_shamsi": "1399-03-20 13:53:15"
}
],
"deposit_in_progress_currency": [
{
"id": 88,
"user_id": 13,
"txId": "753abd2ce674b4c71a31ad9f400929ae6d2fb4a5b837183228f253a6e441381d",
"created_at": "2020-05-31 11:45:03",
"updated_at": "2020-05-31 11:45:03",
"created_at_shamsi": "1399-03-11 11:45:03"
}
]
}
}
Example response (400):
{
"message": "ای پی شما در لیست آی پی های معتبر قرار ندارد."
}
Example response (401):
{
"message": "اجازه دسترسی شما معتبر نمی باشد."
}
Example response (402):
{
"message": "موجودی حساب شما کافی نیست."
}
Example response (404):
{
"message": "رابط برنامه نویس درخواستی شما موجود نمی باشد."
}
HTTP Request
GET api/v2/deposit/history
Rial registration
[Rial deposit registration]
Example request:
const url = new URL(
"https://mycryptocommerce.com/api/v2/deposit/createIrr"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"CRYPTOCOMMERCE": "encode base64 api_key",
};
let body = {
"amount": 30000000,
"deposit_type": "\u0646\u0642\u062f\u06cc",
"date": "1398\/01\/05",
"information": "98081604521448640",
"account_number": "0203444676007"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://mycryptocommerce.com/api/v2/deposit/createIrr',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'CRYPTOCOMMERCE' => 'encode base64 api_key',
],
'json' => [
'amount' => 30000000,
'deposit_type' => 'نقدی',
'date' => '1398/01/05',
'information' => '98081604521448640',
'account_number' => '0203444676007',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200):
{
"data": "درخواست واریز با موفقیت ثبت کردید."
}
Example response (400):
{
"message": "ای پی شما در لیست آی پی های معتبر قرار ندارد."
}
Example response (401):
{
"message": "اجازه دسترسی شما معتبر نمی باشد."
}
Example response (402):
{
"message": "موجودی حساب شما کافی نیست."
}
Example response (404):
{
"message": "رابط برنامه نویس درخواستی شما موجود نمی باشد."
}
HTTP Request
POST api/v2/deposit/createIrr
Body Parameters
Parameter | Type | Status | Description |
---|---|---|---|
amount |
integer | required | . |
deposit_type |
string | required | . |
date |
string | required | . |
information |
string | required | Tracking Code . |
account_number |
string | required | Depositaccountnumber . |
CryptoCurrency registration
[CryptoCurrency deposit registration]
Example request:
const url = new URL(
"https://mycryptocommerce.com/api/v2/deposit/create"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"CRYPTOCOMMERCE": "encode base64 api_key",
};
let body = {
"txId": "753abd2ce674b4c71a31ad9f40092fb4a5b837188f253a6e441381d"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://mycryptocommerce.com/api/v2/deposit/create',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'CRYPTOCOMMERCE' => 'encode base64 api_key',
],
'json' => [
'txId' => '753abd2ce674b4c71a31ad9f40092fb4a5b837188f253a6e441381d',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200):
{
"data": "درخواست واریز با موفقیت ثبت کردید."
}
Example response (400):
{
"message": "درخواست نامعتبر."
}
Example response (400):
{
"message": "ای پی شما در لیست آی پی های معتبر قرار ندارد."
}
Example response (401):
{
"message": "اجازه دسترسی شما معتبر نمی باشد."
}
Example response (402):
{
"message": "موجودی حساب شما کافی نیست."
}
Example response (404):
{
"message": "رابط برنامه نویس درخواستی شما موجود نمی باشد."
}
HTTP Request
POST api/v2/deposit/create
Body Parameters
Parameter | Type | Status | Description |
---|---|---|---|
txId |
string | required | . |
Cancel
[Deposit cancel]
Example request:
const url = new URL(
"https://mycryptocommerce.com/api/v2/deposit/cancel"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"CRYPTOCOMMERCE": "encode base64 api_key",
};
let body = {
"id": 24,
"asset": "IRR"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://mycryptocommerce.com/api/v2/deposit/cancel',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'CRYPTOCOMMERCE' => 'encode base64 api_key',
],
'json' => [
'id' => 24,
'asset' => 'IRR',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200):
{
"data": "عملیات حذف درخواست واریز انجام شد."
}
Example response (400):
{
"message": "متاسفانه عملیات لغو انجام نشد."
}
Example response (400):
{
"message": "ای پی شما در لیست آی پی های معتبر قرار ندارد."
}
Example response (401):
{
"message": "اجازه دسترسی شما معتبر نمی باشد."
}
Example response (402):
{
"message": "موجودی حساب شما کافی نیست."
}
Example response (404):
{
"message": "رابط برنامه نویس درخواستی شما موجود نمی باشد."
}
HTTP Request
POST api/v2/deposit/cancel
Body Parameters
Parameter | Type | Status | Description |
---|---|---|---|
id |
integer | required | . |
asset |
string | required | . |
General
APIs for General Information coins
Exchange symbol info
[All information exchange symbol]
Example request:
const url = new URL(
"https://mycryptocommerce.com/api/v2/general/exchangeSymbolInfo"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"CRYPTOCOMMERCE": "encode base64 api_key",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://mycryptocommerce.com/api/v2/general/exchangeSymbolInfo',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'CRYPTOCOMMERCE' => 'encode base64 api_key',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200):
{
"data": [
{
"symbol": "ETHBTC",
"status": "TRADING",
"baseAsset": "ETH",
"quoteAsset": "BTC",
"baseAssetPrecision": 8,
"orderTypes": [
"LIMIT",
"LIMIT_MAKER",
"MARKET",
"STOP_LOSS_LIMIT",
"TAKE_PROFIT_LIMIT"
],
"icebergAllowed": true,
"ocoAllowed": true,
"filters": [
{
"filterType": "PRICE_FILTER",
"minPrice": "0.00000100",
"maxPrice": "100000.00000000",
"tickSize": "0.00000100"
},
{
"filterType": "PERCENT_PRICE",
"multiplierUp": "5",
"multiplierDown": "0.2",
"avgPriceMins": 5
},
{
"filterType": "LOT_SIZE",
"minQty": "0.00100000",
"maxQty": "100000.00000000",
"stepSize": "0.00100000"
},
{
"filterType": "MIN_NOTIONAL",
"minNotional": "0.00010000",
"applyToMarket": true,
"avgPriceMins": 5
},
{
"filterType": "ICEBERG_PARTS",
"limit": 10
},
{
"filterType": "MARKET_LOT_SIZE",
"minQty": "0.00000000",
"maxQty": "11101.72898056",
"stepSize": "0.00000000"
},
{
"filterType": "MAX_NUM_ALGO_ORDERS",
"maxNumAlgoOrders": 5
},
{
"filterType": "MAX_NUM_ORDERS",
"maxNumOrders": 200
}
]
},
{
"symbol": "LTCBTC",
"status": "TRADING",
"baseAsset": "LTC",
"quoteAsset": "BTC",
"baseAssetPrecision": 8,
"orderTypes": [
"LIMIT",
"LIMIT_MAKER",
"MARKET",
"STOP_LOSS_LIMIT",
"TAKE_PROFIT_LIMIT"
],
"icebergAllowed": true,
"ocoAllowed": true,
"filters": [
{
"filterType": "PRICE_FILTER",
"minPrice": "0.00000100",
"maxPrice": "100000.00000000",
"tickSize": "0.00000100"
},
{
"filterType": "PERCENT_PRICE",
"multiplierUp": "5",
"multiplierDown": "0.2",
"avgPriceMins": 5
},
{
"filterType": "LOT_SIZE",
"minQty": "0.01000000",
"maxQty": "100000.00000000",
"stepSize": "0.01000000"
},
{
"filterType": "MIN_NOTIONAL",
"minNotional": "0.00010000",
"applyToMarket": true,
"avgPriceMins": 5
},
{
"filterType": "ICEBERG_PARTS",
"limit": 10
},
{
"filterType": "MARKET_LOT_SIZE",
"minQty": "0.00000000",
"maxQty": "28981.90240278",
"stepSize": "0.00000000"
},
{
"filterType": "MAX_NUM_ALGO_ORDERS",
"maxNumAlgoOrders": 5
},
{
"filterType": "MAX_NUM_ORDERS",
"maxNumOrders": 200
}
]
}
]
}
Example response (400):
{
"message": "ای پی شما در لیست آی پی های معتبر قرار ندارد."
}
Example response (401):
{
"message": "اجازه دسترسی شما معتبر نمی باشد."
}
Example response (402):
{
"message": "موجودی حساب شما کافی نیست."
}
Example response (404):
{
"message": "رابط برنامه نویس درخواستی شما موجود نمی باشد."
}
HTTP Request
GET api/v2/general/exchangeSymbolInfo
Market exchange symbol info
[All market information exchange symbol]
Example request:
const url = new URL(
"https://mycryptocommerce.com/api/v2/general/marketExchangeSymbolInfo"
);
let params = {
"symbol": "BTCUSDT",
"baseAsset": "BTC",
"quoteAsset": "USDT",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"CRYPTOCOMMERCE": "encode base64 api_key",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://mycryptocommerce.com/api/v2/general/marketExchangeSymbolInfo',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'CRYPTOCOMMERCE' => 'encode base64 api_key',
],
'query' => [
'symbol'=> 'BTCUSDT',
'baseAsset'=> 'BTC',
'quoteAsset'=> 'USDT',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200):
{
"data": {
"symbol": "BTCUSDT",
"status": "TRADING",
"baseAsset": "BTC",
"quoteAsset": "USDT",
"orderTypes": [
"LIMIT",
"LIMIT_MAKER",
"MARKET",
"STOP_LOSS_LIMIT",
"TAKE_PROFIT_LIMIT"
],
"icebergAllowed": true,
"ocoAllowed": true,
"PRICE_FILTER": {
"filterType": "PRICE_FILTER",
"minPrice": "0.01000000",
"maxPrice": "1000000.00000000",
"tickSize": "0.01000000"
},
"PERCENT_PRICE": {
"filterType": "PERCENT_PRICE",
"multiplierUp": "5",
"multiplierDown": "0.2",
"avgPriceMins": 5
},
"LOT_SIZE": {
"filterType": "LOT_SIZE",
"minQty": "0.00000100",
"maxQty": "9000.00000000",
"stepSize": "0.00000100"
},
"MIN_NOTIONAL": {
"filterType": "MIN_NOTIONAL",
"minNotional": "10.00000000",
"applyToMarket": true,
"avgPriceMins": 5
},
"ICEBERG_PARTS": {
"filterType": "ICEBERG_PARTS",
"limit": 10
},
"MARKET_LOT_SIZE": {
"filterType": "MARKET_LOT_SIZE",
"minQty": "0.00000000",
"maxQty": "402.52203919",
"stepSize": "0.00000000"
}
}
}
Example response (400):
{
"message": "ای پی شما در لیست آی پی های معتبر قرار ندارد."
}
Example response (401):
{
"message": "اجازه دسترسی شما معتبر نمی باشد."
}
Example response (402):
{
"message": "موجودی حساب شما کافی نیست."
}
Example response (404):
{
"message": "رابط برنامه نویس درخواستی شما موجود نمی باشد."
}
HTTP Request
GET api/v2/general/marketExchangeSymbolInfo
Query Parameters
Parameter | Status | Description |
---|---|---|
symbol |
required | string. |
baseAsset |
required | string. |
quoteAsset |
required | string. |
Depth symbol info
[All depth information symbol]
Example request:
const url = new URL(
"https://mycryptocommerce.com/api/v2/general/depthSymbol"
);
let params = {
"baseAsset": "BTC",
"quoteAsset": "USDT",
"limit": "10",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"CRYPTOCOMMERCE": "encode base64 api_key",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://mycryptocommerce.com/api/v2/general/depthSymbol',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'CRYPTOCOMMERCE' => 'encode base64 api_key',
],
'query' => [
'baseAsset'=> 'BTC',
'quoteAsset'=> 'USDT',
'limit'=> '10',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200):
{
"data": {
"bids": [
[
"9723.66000000",
"3.12180400"
],
[
"9723.64000000",
"0.52349900"
],
[
"9723.62000000",
"0.00342500"
],
[
"9723.57000000",
"1.98373100"
],
[
"9723.55000000",
"0.96130900"
],
[
"9723.18000000",
"0.01954100"
],
[
"9723.01000000",
"0.03000000"
],
[
"9723.00000000",
"0.01300000"
],
[
"9722.90000000",
"0.48334100"
],
[
"9721.78000000",
"1.25005000"
]
],
"asks": [
[
"9723.67000000",
"0.99900000"
],
[
"9723.75000000",
"0.01500000"
],
[
"9723.76000000",
"2.20400000"
],
[
"9724.15000000",
"0.02414800"
],
[
"9725.00000000",
"0.71747300"
],
[
"9725.16000000",
"0.15000000"
],
[
"9725.18000000",
"0.14356600"
],
[
"9725.25000000",
"0.02068900"
],
[
"9725.28000000",
"0.50000000"
],
[
"9725.38000000",
"0.21700000"
]
]
}
}
Example response (400):
{
"message": "ای پی شما در لیست آی پی های معتبر قرار ندارد."
}
Example response (401):
{
"message": "اجازه دسترسی شما معتبر نمی باشد."
}
Example response (402):
{
"message": "موجودی حساب شما کافی نیست."
}
Example response (404):
{
"message": "رابط برنامه نویس درخواستی شما موجود نمی باشد."
}
HTTP Request
GET api/v2/general/depthSymbol
Query Parameters
Parameter | Status | Description |
---|---|---|
baseAsset |
required | string. |
quoteAsset |
required | string. |
limit |
required | int min=10 max=500. |
TwentyFourHR
[TwentyFour information symbol]
Example request:
const url = new URL(
"https://mycryptocommerce.com/api/v2/general/twentyFourHr"
);
let params = {
"symbol": "ETHBTC",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"CRYPTOCOMMERCE": "encode base64 api_key",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://mycryptocommerce.com/api/v2/general/twentyFourHr',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'CRYPTOCOMMERCE' => 'encode base64 api_key',
],
'query' => [
'symbol'=> 'ETHBTC',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200):
{
"data": {
"symbol": "ETHBTC",
"priceChange": "0.00006400",
"priceChangePercent": "0.256",
"weightedAvgPrice": "0.02509407",
"prevClosePrice": "0.02496100",
"lastPrice": "0.02502500",
"lastQty": "1.61200000",
"bidPrice": "0.02502400",
"bidQty": "12.01400000",
"askPrice": "0.02502800",
"askQty": "0.03900000",
"openPrice": "0.02496100",
"highPrice": "0.02550000",
"lowPrice": "0.02485400",
"volume": "154039.54400000",
"quoteVolume": "3865.47899396",
"openTime": 1591628311845,
"closeTime": 1591714711845,
"firstId": 178509528,
"lastId": 178605469,
"count": 95942
}
}
Example response (400):
{
"message": "ای پی شما در لیست آی پی های معتبر قرار ندارد."
}
Example response (401):
{
"message": "اجازه دسترسی شما معتبر نمی باشد."
}
Example response (402):
{
"message": "موجودی حساب شما کافی نیست."
}
Example response (404):
{
"message": "رابط برنامه نویس درخواستی شما موجود نمی باشد."
}
HTTP Request
GET api/v2/general/twentyFourHr
Query Parameters
Parameter | Status | Description |
---|---|---|
symbol |
required | string. |
Kline symbol info
[All Kline information symbol]
Example request:
const url = new URL(
"https://mycryptocommerce.com/api/v2/general/klineCryptoCurrency"
);
let params = {
"symbol": "ADAUSDT",
"interval": "30m",
"baseAsset": "ADA",
"quoteAsset": "USDT",
"limit": "10",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"CRYPTOCOMMERCE": "encode base64 api_key",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://mycryptocommerce.com/api/v2/general/klineCryptoCurrency',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'CRYPTOCOMMERCE' => 'encode base64 api_key',
],
'query' => [
'symbol'=> 'ADAUSDT',
'interval'=> '30m',
'baseAsset'=> 'ADA',
'quoteAsset'=> 'USDT',
'limit'=> '10',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200):
{
"data": [
{
"Open_time": 1591698600000,
"Open": "0.08470000",
"High": "0.08500000",
"Low": "0.08443000",
"Close": "0.08476000",
"Volume": "4474967.10000000",
"Quote_asset_volume": 1591700399999,
"Number_of_trades": "379357.12255200",
"Taker_buy_base_asset_volume": 1641,
"Taker_buy_quote_asset_volume": "2175531.70000000",
"Ignore": "184495.29526500"
},
{
"Open_time": 1591700400000,
"Open": "0.08479000",
"High": "0.08533000",
"Low": "0.08472000",
"Close": "0.08509000",
"Volume": "5477014.50000000",
"Quote_asset_volume": 1591702199999,
"Number_of_trades": "466035.26777000",
"Taker_buy_base_asset_volume": 1669,
"Taker_buy_quote_asset_volume": "3185378.80000000",
"Ignore": "271038.94359200"
},
{
"Open_time": 1591702200000,
"Open": "0.08506000",
"High": "0.08539000",
"Low": "0.08497000",
"Close": "0.08533000",
"Volume": "3167431.20000000",
"Quote_asset_volume": 1591703999999,
"Number_of_trades": "269844.83860600",
"Taker_buy_base_asset_volume": 1250,
"Taker_buy_quote_asset_volume": "1907574.60000000",
"Ignore": "162488.96513700"
},
{
"Open_time": 1591704000000,
"Open": "0.08531000",
"High": "0.08544000",
"Low": "0.08493000",
"Close": "0.08497000",
"Volume": "3237988.70000000",
"Quote_asset_volume": 1591705799999,
"Number_of_trades": "276076.13146700",
"Taker_buy_base_asset_volume": 1196,
"Taker_buy_quote_asset_volume": "1667948.60000000",
"Ignore": "142259.49143200"
},
{
"Open_time": 1591705800000,
"Open": "0.08495000",
"High": "0.08512000",
"Low": "0.08486000",
"Close": "0.08503000",
"Volume": "2676049.50000000",
"Quote_asset_volume": 1591707599999,
"Number_of_trades": "227361.95525200",
"Taker_buy_base_asset_volume": 674,
"Taker_buy_quote_asset_volume": "1206382.50000000",
"Ignore": "102503.00505900"
},
{
"Open_time": 1591707600000,
"Open": "0.08505000",
"High": "0.08519000",
"Low": "0.08453000",
"Close": "0.08475000",
"Volume": "5686566.60000000",
"Quote_asset_volume": 1591709399999,
"Number_of_trades": "482765.70297100",
"Taker_buy_base_asset_volume": 2312,
"Taker_buy_quote_asset_volume": "2235649.00000000",
"Ignore": "189890.17467300"
},
{
"Open_time": 1591709400000,
"Open": "0.08476000",
"High": "0.08487000",
"Low": "0.08424000",
"Close": "0.08477000",
"Volume": "6795184.90000000",
"Quote_asset_volume": 1591711199999,
"Number_of_trades": "574588.38342200",
"Taker_buy_base_asset_volume": 2407,
"Taker_buy_quote_asset_volume": "2906464.20000000",
"Ignore": "245850.62904900"
},
{
"Open_time": 1591711200000,
"Open": "0.08477000",
"High": "0.08504000",
"Low": "0.08440000",
"Close": "0.08470000",
"Volume": "8672744.50000000",
"Quote_asset_volume": 1591712999999,
"Number_of_trades": "735372.06446600",
"Taker_buy_base_asset_volume": 2681,
"Taker_buy_quote_asset_volume": "4344227.70000000",
"Ignore": "368397.82721300"
},
{
"Open_time": 1591713000000,
"Open": "0.08469000",
"High": "0.08496000",
"Low": "0.08449000",
"Close": "0.08480000",
"Volume": "4144430.20000000",
"Quote_asset_volume": 1591714799999,
"Number_of_trades": "351124.38964900",
"Taker_buy_base_asset_volume": 950,
"Taker_buy_quote_asset_volume": "2152038.40000000",
"Ignore": "182327.80498800"
},
{
"Open_time": 1591714800000,
"Open": "0.08478000",
"High": "0.08495000",
"Low": "0.08473000",
"Close": "0.08490000",
"Volume": "729803.00000000",
"Quote_asset_volume": 1591716599999,
"Number_of_trades": "61907.50584000",
"Taker_buy_base_asset_volume": 268,
"Taker_buy_quote_asset_volume": "340785.60000000",
"Ignore": "28909.52361100"
}
]
}
Example response (400):
{
"message": "ای پی شما در لیست آی پی های معتبر قرار ندارد."
}
Example response (401):
{
"message": "اجازه دسترسی شما معتبر نمی باشد."
}
Example response (402):
{
"message": "موجودی حساب شما کافی نیست."
}
Example response (404):
{
"message": "رابط برنامه نویس درخواستی شما موجود نمی باشد."
}
HTTP Request
GET api/v2/general/klineCryptoCurrency
Query Parameters
Parameter | Status | Description |
---|---|---|
symbol |
required | string. |
interval |
required | string interval=[1m,3m,5m,15m,30m,1h,2h,4h,6h,8h,12h,1d,3d,1w,1M]. |
baseAsset |
required | string. |
quoteAsset |
required | string. |
limit |
required | int min=10 max=500. |
Historical trades
[All historical trades information symbol]
Example request:
const url = new URL(
"https://mycryptocommerce.com/api/v2/general/historicalTrades"
);
let params = {
"symbol": "ETHBTC",
"limit": "10",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"CRYPTOCOMMERCE": "encode base64 api_key",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://mycryptocommerce.com/api/v2/general/historicalTrades',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'CRYPTOCOMMERCE' => 'encode base64 api_key',
],
'query' => [
'symbol'=> 'ETHBTC',
'limit'=> '10',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200):
{
"data": [
{
"id": 178605905,
"price": "0.02504100",
"qty": "1.00000000",
"quoteQty": "0.02504100",
"time": 1591715286264,
"isBuyerMaker": true,
"isBestMatch": true
},
{
"id": 178605906,
"price": "0.02504000",
"qty": "0.36100000",
"quoteQty": "0.00903944",
"time": 1591715286367,
"isBuyerMaker": true,
"isBestMatch": true
},
{
"id": 178605907,
"price": "0.02504000",
"qty": "0.29700000",
"quoteQty": "0.00743688",
"time": 1591715286451,
"isBuyerMaker": true,
"isBestMatch": true
},
{
"id": 178605908,
"price": "0.02504000",
"qty": "5.98900000",
"quoteQty": "0.14996456",
"time": 1591715286451,
"isBuyerMaker": true,
"isBestMatch": true
},
{
"id": 178605909,
"price": "0.02503900",
"qty": "0.24100000",
"quoteQty": "0.00603439",
"time": 1591715288327,
"isBuyerMaker": true,
"isBestMatch": true
},
{
"id": 178605910,
"price": "0.02504300",
"qty": "0.20900000",
"quoteQty": "0.00523398",
"time": 1591715289040,
"isBuyerMaker": false,
"isBestMatch": true
},
{
"id": 178605911,
"price": "0.02503900",
"qty": "0.27300000",
"quoteQty": "0.00683564",
"time": 1591715289070,
"isBuyerMaker": true,
"isBestMatch": true
},
{
"id": 178605912,
"price": "0.02503700",
"qty": "3.42100000",
"quoteQty": "0.08565157",
"time": 1591715290158,
"isBuyerMaker": true,
"isBestMatch": true
},
{
"id": 178605913,
"price": "0.02503700",
"qty": "2.90100000",
"quoteQty": "0.07263233",
"time": 1591715295021,
"isBuyerMaker": true,
"isBestMatch": true
},
{
"id": 178605914,
"price": "0.02503700",
"qty": "0.40900000",
"quoteQty": "0.01024013",
"time": 1591715295411,
"isBuyerMaker": true,
"isBestMatch": true
}
]
}
Example response (400):
{
"message": "ای پی شما در لیست آی پی های معتبر قرار ندارد."
}
Example response (401):
{
"message": "اجازه دسترسی شما معتبر نمی باشد."
}
Example response (402):
{
"message": "موجودی حساب شما کافی نیست."
}
Example response (404):
{
"message": "رابط برنامه نویس درخواستی شما موجود نمی باشد."
}
HTTP Request
GET api/v2/general/historicalTrades
Query Parameters
Parameter | Status | Description |
---|---|---|
symbol |
required | string. |
limit |
required | int min=10 max=500. |
AggTrades
[All aggtrades information symbol]
Example request:
const url = new URL(
"https://mycryptocommerce.com/api/v2/general/aggTrades"
);
let params = {
"symbol": "ETHBTC",
"limit": "10",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"CRYPTOCOMMERCE": "encode base64 api_key",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://mycryptocommerce.com/api/v2/general/aggTrades',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'CRYPTOCOMMERCE' => 'encode base64 api_key',
],
'query' => [
'symbol'=> 'ETHBTC',
'limit'=> '10',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200):
{
"data": [
{
"Aggregate_tradeId": 160334659,
"Price": "0.02503500",
"Quantity": "0.16000000",
"First_tradeId": 178606115,
"Last_tradeId": 178606115,
"Timestamp": 1591715554072,
"Was_the_buyer_the_maker?": false,
"Was_the_trade_the_best_price_match?": true
},
{
"Aggregate_tradeId": 160334660,
"Price": "0.02503500",
"Quantity": "0.16000000",
"First_tradeId": 178606116,
"Last_tradeId": 178606116,
"Timestamp": 1591715554074,
"Was_the_buyer_the_maker?": false,
"Was_the_trade_the_best_price_match?": true
},
{
"Aggregate_tradeId": 160334661,
"Price": "0.02503500",
"Quantity": "0.16000000",
"First_tradeId": 178606117,
"Last_tradeId": 178606117,
"Timestamp": 1591715554075,
"Was_the_buyer_the_maker?": false,
"Was_the_trade_the_best_price_match?": true
},
{
"Aggregate_tradeId": 160334662,
"Price": "0.02503500",
"Quantity": "0.16000000",
"First_tradeId": 178606118,
"Last_tradeId": 178606118,
"Timestamp": 1591715554075,
"Was_the_buyer_the_maker?": false,
"Was_the_trade_the_best_price_match?": true
},
{
"Aggregate_tradeId": 160334663,
"Price": "0.02503300",
"Quantity": "6.12600000",
"First_tradeId": 178606119,
"Last_tradeId": 178606119,
"Timestamp": 1591715554076,
"Was_the_buyer_the_maker?": true,
"Was_the_trade_the_best_price_match?": true
},
{
"Aggregate_tradeId": 160334664,
"Price": "0.02503300",
"Quantity": "1.30500000",
"First_tradeId": 178606120,
"Last_tradeId": 178606120,
"Timestamp": 1591715554157,
"Was_the_buyer_the_maker?": true,
"Was_the_trade_the_best_price_match?": true
},
{
"Aggregate_tradeId": 160334665,
"Price": "0.02503300",
"Quantity": "3.00000000",
"First_tradeId": 178606121,
"Last_tradeId": 178606121,
"Timestamp": 1591715554168,
"Was_the_buyer_the_maker?": true,
"Was_the_trade_the_best_price_match?": true
},
{
"Aggregate_tradeId": 160334666,
"Price": "0.02503200",
"Quantity": "14.26200000",
"First_tradeId": 178606122,
"Last_tradeId": 178606123,
"Timestamp": 1591715554267,
"Was_the_buyer_the_maker?": true,
"Was_the_trade_the_best_price_match?": true
},
{
"Aggregate_tradeId": 160334667,
"Price": "0.02503200",
"Quantity": "2.70800000",
"First_tradeId": 178606124,
"Last_tradeId": 178606124,
"Timestamp": 1591715554368,
"Was_the_buyer_the_maker?": true,
"Was_the_trade_the_best_price_match?": true
},
{
"Aggregate_tradeId": 160334668,
"Price": "0.02503200",
"Quantity": "1.00000000",
"First_tradeId": 178606125,
"Last_tradeId": 178606125,
"Timestamp": 1591715554925,
"Was_the_buyer_the_maker?": true,
"Was_the_trade_the_best_price_match?": true
}
]
}
Example response (400):
{
"message": "ای پی شما در لیست آی پی های معتبر قرار ندارد."
}
Example response (401):
{
"message": "اجازه دسترسی شما معتبر نمی باشد."
}
Example response (402):
{
"message": "موجودی حساب شما کافی نیست."
}
Example response (404):
{
"message": "رابط برنامه نویس درخواستی شما موجود نمی باشد."
}
HTTP Request
GET api/v2/general/aggTrades
Query Parameters
Parameter | Status | Description |
---|---|---|
symbol |
required | string. |
limit |
required | int min=10 max=500. |
Products
[All product information]
Example request:
const url = new URL(
"https://mycryptocommerce.com/api/v2/general/allProduct"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"CRYPTOCOMMERCE": "encode base64 api_key",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://mycryptocommerce.com/api/v2/general/allProduct',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'CRYPTOCOMMERCE' => 'encode base64 api_key',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200):
{
"data": [
{
"symbol": "MATICUSDT",
"baseAsset": "MATIC",
"baseAssetName": "Matic Network",
"quoteAsset": "USDT",
"quoteAssetName": "Tether",
"volume_24h": -446487.29480961,
"last_price": 3456,
"high_24h": 3468,
"low_24h": 3372,
"price_usd": 0.02027,
"price_irr": 3432,
"price_btc": 2.09e-6
},
{
"symbol": "STPTUSDT",
"baseAsset": "STPT",
"baseAssetName": "STP Network",
"quoteAsset": "USDT",
"quoteAssetName": "Tether",
"volume_24h": -195855.6204925,
"last_price": 2360,
"high_24h": 2368,
"low_24h": 2281,
"price_usd": 0.01365,
"price_irr": 2311,
"price_btc": 1.41e-6
},
{
"symbol": "IOTXUSDT",
"baseAsset": "IOTX",
"baseAssetName": "IoTeX",
"quoteAsset": "USDT",
"quoteAssetName": "Tether",
"volume_24h": -1721238.57981628,
"last_price": 961,
"high_24h": 961,
"low_24h": 876,
"price_usd": 0.00528,
"price_irr": 895,
"price_btc": 5.4e-7
},
{
"symbol": "CDTUSDT",
"baseAsset": "CDT",
"baseAssetName": "Blox",
"quoteAsset": "USDT",
"quoteAssetName": "Tether",
"volume_24h": -79503.88092452,
"last_price": 816,
"high_24h": 835,
"low_24h": 783,
"price_usd": 0.0047,
"price_irr": 795,
"price_btc": 4.8e-7
},
{
"symbol": "DOCKUSDT",
"baseAsset": "DOCK",
"baseAssetName": "Dock",
"quoteAsset": "USDT",
"quoteAssetName": "Tether",
"volume_24h": 75472,
"last_price": 1265,
"high_24h": 1293,
"low_24h": 1230,
"price_usd": 0.0076,
"price_irr": 1286,
"price_btc": 7.8e-7
}
]
}
Example response (400):
{
"message": "ای پی شما در لیست آی پی های معتبر قرار ندارد."
}
Example response (401):
{
"message": "اجازه دسترسی شما معتبر نمی باشد."
}
Example response (402):
{
"message": "موجودی حساب شما کافی نیست."
}
Example response (404):
{
"message": "رابط برنامه نویس درخواستی شما موجود نمی باشد."
}
HTTP Request
GET api/v2/general/allProduct
Markets
[All market information]
Example request:
const url = new URL(
"https://mycryptocommerce.com/api/v2/general/marketInformation"
);
let params = {
"baseAsset": "AGI",
"quoteAsset": "IRR",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"CRYPTOCOMMERCE": "encode base64 api_key",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://mycryptocommerce.com/api/v2/general/marketInformation',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'CRYPTOCOMMERCE' => 'encode base64 api_key',
],
'query' => [
'baseAsset'=> 'AGI',
'quoteAsset'=> 'IRR',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200):
{
"data": {
"asset_name": "AGIIRR",
"change_24h_priceChange": 0,
"change_24h_priceChangePercent": 0.535,
"weightedAvgPrice": 3109.4084952,
"prevClosePrice": 3060.0528048,
"last_price": 3092.9566,
"lastQty": 2897,
"bidPrice": 3092.9566,
"bidQty": 81517,
"askPrice": 3109.4085,
"askQty": 94596,
"openPrice": 3076.5047,
"change_24h_highPrice": 3191.66798,
"change_24h_lowPrice": 2994.24522,
"volume": 21643335,
"change_24h_quoteVolume": 40.92758,
"openTime": 1591629488707,
"closeTime": 1591715888707,
"firstId": 4889245,
"lastId": 4892541,
"count": 3297,
"last_price_usd": 0.01827,
"last_price_irr": 3092.9566,
"baseAsset": "AGI",
"quoteAsset": "IRR"
}
}
Example response (400):
{
"message": "ای پی شما در لیست آی پی های معتبر قرار ندارد."
}
Example response (401):
{
"message": "اجازه دسترسی شما معتبر نمی باشد."
}
Example response (402):
{
"message": "موجودی حساب شما کافی نیست."
}
Example response (404):
{
"message": "رابط برنامه نویس درخواستی شما موجود نمی باشد."
}
HTTP Request
GET api/v2/general/marketInformation
Query Parameters
Parameter | Status | Description |
---|---|---|
baseAsset |
required | string. |
quoteAsset |
required | string. |
All Market
[All all book ticker information]
Example request:
const url = new URL(
"https://mycryptocommerce.com/api/v2/general/allBookTickerWithIrr"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"CRYPTOCOMMERCE": "encode base64 api_key",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://mycryptocommerce.com/api/v2/general/allBookTickerWithIrr',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'CRYPTOCOMMERCE' => 'encode base64 api_key',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200):
{
"data": {
"market_irr": [
{
"symbol": "MATICIRR",
"priceChange": "-0.00000390",
"priceChangePercent": "-0.332",
"weightedAvgPrice": 3430.66061,
"prevClosePrice": 3447.12018,
"lastPrice": 3435.3843,
"lastQty": 328604528,
"bidPrice": 3430.10316,
"bidQty": 125389033153,
"askPrice": 3435.3843,
"askQty": 64984479381,
"openPrice": 3446.82678,
"highPrice": 3472.64571,
"lowPrice": 3391.08137,
"volume": "4030710.00000000",
"quoteVolume": "4713.08330380",
"openTime": 1591629734244,
"closeTime": 1591716134244,
"firstId": 2674218,
"lastId": 2675110,
"count": 893,
"baseAssetName": "MATIC Network",
"baseAsset": "MATIC",
"quoteAsset": "IRR",
"marketName": "MATICBNB",
"last_price_usd": 0.02029,
"last_price_irr": 3435.3843
},
{
"symbol": "STPTIRR",
"priceChange": "-0.00001000",
"priceChangePercent": "-1.471",
"weightedAvgPrice": 2070.94202,
"prevClosePrice": 2015.6367,
"lastPrice": 1965.75923,
"lastQty": 1249870794,
"bidPrice": 0,
"bidQty": 0,
"askPrice": 0,
"askQty": 0,
"openPrice": 1995.09892,
"highPrice": 2229.81644,
"lowPrice": 1945.22145,
"volume": "1236251.00000000",
"quoteVolume": "872.60907700",
"openTime": 1590667307565,
"closeTime": 1590753707565,
"firstId": 40078,
"lastId": 40314,
"count": 237,
"baseAssetName": "Standard Tokenization Protocol",
"baseAsset": "STPT",
"quoteAsset": "IRR",
"marketName": "STPTBNB",
"last_price_usd": 0.01161,
"last_price_irr": 1965.75923
}
],
"market_btc": [
{
"symbol": "ETHBTC",
"priceChange": "0.00007200",
"priceChangePercent": "0.288",
"weightedAvgPrice": "0.02509518",
"prevClosePrice": "0.02498000",
"lastPrice": "0.02505000",
"lastQty": "13.19500000",
"bidPrice": "0.02504600",
"bidQty": "101.43700000",
"askPrice": "0.02505000",
"askQty": "10.80500000",
"openPrice": "0.02497800",
"highPrice": "0.02550000",
"lowPrice": "0.02485400",
"volume": "153894.55300000",
"quoteVolume": "3862.01126730",
"openTime": 1591629733337,
"closeTime": 1591716133337,
"firstId": 178512130,
"lastId": 178606743,
"count": 94614,
"baseAssetName": "Ethereum",
"baseAsset": "ETH",
"quoteAsset": "BTC",
"marketName": "ETHBTC",
"last_price_usd": 243.48299,
"last_price_irr": 41221670.8842
},
{
"symbol": "LTCBTC",
"priceChange": "-0.00000200",
"priceChangePercent": "-0.042",
"weightedAvgPrice": "0.00475636",
"prevClosePrice": "0.00475700",
"lastPrice": "0.00475500",
"lastQty": "1.05000000",
"bidPrice": "0.00475300",
"bidQty": "58.31000000",
"askPrice": "0.00475500",
"askQty": "109.29000000",
"openPrice": "0.00475700",
"highPrice": "0.00480000",
"lowPrice": "0.00473300",
"volume": "74449.16000000",
"quoteVolume": "354.10682885",
"openTime": 1591629731307,
"closeTime": 1591716131307,
"firstId": 42205745,
"lastId": 42219339,
"count": 13595,
"baseAssetName": "Litecoin",
"baseAsset": "LTC",
"quoteAsset": "BTC",
"marketName": "LTCBTC",
"last_price_usd": 46.21803,
"last_price_irr": 7824712.37742
}
],
"market_usd": [
{
"symbol": "BTCUSDT",
"priceChange": "41.11000000",
"priceChangePercent": "0.425",
"weightedAvgPrice": "9708.73889033",
"prevClosePrice": "9678.47000000",
"lastPrice": "9719.89000000",
"lastQty": "0.00113100",
"bidPrice": "9719.88000000",
"bidQty": "0.06975200",
"askPrice": "9719.89000000",
"askQty": "4.76216900",
"openPrice": "9678.78000000",
"highPrice": "9877.00000000",
"lowPrice": "9570.00000000",
"volume": "43195.10407100",
"quoteVolume": "419369986.76614534",
"openTime": 1591629735901,
"closeTime": 1591716135901,
"firstId": 337302974,
"lastId": 337830971,
"count": 527998,
"baseAssetName": "Bitcoin",
"baseAsset": "BTC",
"quoteAsset": "USDT",
"marketName": "BTCUSDT",
"last_price_usd": "9719.89000000",
"last_price_irr": 1645577377
},
{
"symbol": "ETHUSDT",
"priceChange": "1.67000000",
"priceChangePercent": "0.691",
"weightedAvgPrice": "243.74357227",
"prevClosePrice": "241.76000000",
"lastPrice": "243.43000000",
"lastQty": "7.45908000",
"bidPrice": "243.43000000",
"bidQty": "73.87136000",
"askPrice": "243.44000000",
"askQty": "0.04045000",
"openPrice": "241.76000000",
"highPrice": "249.82000000",
"lowPrice": "238.00000000",
"volume": "433519.22206000",
"quoteVolume": "105667523.83110670",
"openTime": 1591629735581,
"closeTime": 1591716135581,
"firstId": 153700336,
"lastId": 153883458,
"count": 183123,
"baseAssetName": "Ethereum",
"baseAsset": "ETH",
"quoteAsset": "USDT",
"marketName": "ETHUSDT",
"last_price_usd": "243.43000000",
"last_price_irr": 41212699
}
]
}
}
Example response (400):
{
"message": "ای پی شما در لیست آی پی های معتبر قرار ندارد."
}
Example response (401):
{
"message": "اجازه دسترسی شما معتبر نمی باشد."
}
Example response (402):
{
"message": "موجودی حساب شما کافی نیست."
}
Example response (404):
{
"message": "رابط برنامه نویس درخواستی شما موجود نمی باشد."
}
HTTP Request
GET api/v2/general/allBookTickerWithIrr
All Coin
[All coin information]
Example request:
const url = new URL(
"https://mycryptocommerce.com/api/v2/general/allInformationCoin"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"CRYPTOCOMMERCE": "encode base64 api_key",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://mycryptocommerce.com/api/v2/general/allInformationCoin',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'CRYPTOCOMMERCE' => 'encode base64 api_key',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200):
[
{
"id": 1,
"coin": "BTC",
"base64": "data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAABGdBTUEAALGPC\/xhBQAAAAFzUkdCAK7OHOkAAAMAUExURUxpcfmlQvioR\/ipSf+rIv8AAPaTHf\/\/AP6lSPaUG\/aXJPikPvaVHveeMfehOfebLfaVIfuaH\/ioR\/yjNfimRf+ZKvqlMPybIf6sR\/2bHfubIvysRvuuRgAAAPucIvyrPfunPv2dI\/unP\/2WFveaKvydI\/eZKP6wR\/eiOvqrSvqgMv2xTfuuTPqrRPehNvycI\/uiM\/uYHPefNfuiM\/uiMfyvSvyvS\/uaG\/ueIfyvRv2wSv\/MM\/2xSf2dIPqcIfuoQfueJfunQfucKPqdJvupQP6ySv2sQvijPPmbJfybHvuoPviaKPqdKP6zTPmxTf2ZHf+0TPeeNPqnPvqlPPiTG\/ueLPqdLPqeLfudLPqfL\/qiNvmiOPulOvqkOfmlOPqVGvqYG\/mWG\/ydIv+qVfywSP+vSf\/MZvydIv+0SvqcKv2uS\/qbKfyuS\/qsS\/ysS\/qWGvmWGvyoPv\/\/\/\/ieMfmnRPiiOveWIPmfNPihN\/eYJPikPvmlQficLfeVHvibK\/moR\/iaKfmmQ\/ifM\/\/+\/fiXI\/idMPiWIfigNvmmQvieMv\/\/\/vmnRfidL\/eXIveYJfiZJ\/icLvihOPeZJviiOfmgNfijPP\/+\/PmkP\/moRvmjO\/ijPfiaKPmlQPiZJvibLP\/++\/iVHfiUHPmpSf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Ld9T+shPpUQlSFZnsoCrlR9wWRngsUcwVB5a9BEJf\/OEkz\/76QMWQvOsoKhROSvvNfjYCzeGNXAcnf3gxFBAvlAXmDqE6Ws4U0BqadXCB0uflpSQn11k62E6iYW2dliMOLHsBvdefL4lW\/E+ueR1ry3YO6qND5VXdlZW1pRA\/BQ1s2KuXD4kV0SXPo3fi3LIpnDH92arSaw5r1mgAjSOn0rxMjlYxpWwu2liWfnR8StL\/KPR2u+J6VekebGFiaDYWx1uZppnVKYohadKU45+E441lakk0ZzRJLs9J2fh7G5qvwbGMGCNNm2gjWlX7juZyldElU\/HG4jnmseWP5vBQaPN2IMPKynMMHEqjos2u4KoeXf4Y3tqQj0kl0XonzPsh3G+27GVozaVjO5vPn29u7Th7NImn8SmZxO7vaHu\/b7nhGy45dWqGhjvyNuLdvfOfumSF3JxnSVbwRIbl941ht3fkZUKJj4GL1dIGC+hGux09vgKZ1GqQSg1Wq4GPT8mEwa8kQjT2Z58MDlYLSh6qEzP207ApLkMQn5\/HEqLxgx9Zofc85CMdIkNqqG48Z7X\/gUpXbrFKBfB56J6ooQ9\/AgRv8eHd1yVaLBmJ1X1NTK3FIOhgSzD\/QzFiS5COi9SQoZMm\/p6oPhmnEyBoSwTv2IA+dZc5eWAx6OzD2C9zOjSQovAPDgTFuaLTCQwGHXg73PnIQJLhyw4E+cXdAH5BB24LJwUODCBi63dBo9t7fbc1ApCk4JEn+K56L7\/EEfHzqr8rWPDIw1YyauzWbSO58PPatnVs1DCHLvZpkhMeHt4FNn94wviRzp4otMmTnqwv8vby9s7j4Y2GiuqfnDQZpzrK0Xfy1PlF9UWbvL0GvHhj401F9X\/Pnzp5tKPv4OF77pI33yr6u+ivbZvs9k3b\/kKXb725ZC5xo+f3cPwbFbzkjflfPOft\/dyX89+ICI7CdQsXMP8PmjGXwqNThcAAAAAASUVORK5CYII=",
"coin_id": "1",
"coin_rank": "1",
"created_at": "2019-12-28 12:45:47",
"updated_at": "2019-12-28 12:45:47"
},
{
"id":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CgIJLwL8\/tbWDV0tFS70kZZdgku2nb95C8sFpfBSACIS4a5h2ZlyC6GDi9ouy7F8b\/iOAIKInLlxrowEirnyb9ZeDN8Z4Pf3S4RPYyiZbmL6rIdy\/e3\/B+jjj9x88fQyPcfSV4Ki3flfAE+fiOe5u8t8SOR0xMti0N5\/Z4AHH\/\/CM+R\/o9xrNP81cnnpkVzAviMAw198loROXbMHI7OKq179ZA5QsPLBq0SnswjweCIXPPko\/jHhiealshLg3fhHs4lJt14r9uA8JABOPnL61UT8xGr+KfkP0gLvb0u9vYTcrrlCDNgJANWfd4ZkzhQuuxjc8k2F7sOFmZjjvU9R7oA7bxGdFff3i1x\/+Vk4vO52g8DNNNJUuXyyfK3DGl\/xsAUHjfeI2bD\/phvx1j1rHq\/3zltWPqNY4LN0XV0oecNYMnq6+fnHyXXUGF6orcV04C6f0yzwVtxUY0rFHliOo6oqPDVMEzizwcxPUxJPcsqgWI3PWplce+9k8kPV4kt5g57Vc9Xlssn2pLDEsQjTqimUvGswwPg7eMGMKdXrmqq0sliwuajDvFpjymyddN8mVI\/5sBabDLfC0kbRlpNTUmmwdkRz7XqST73cFDetuDwzMPJQR41Umeqd7VJNcB3XoKZHscBsqUEhpa09n9AnKp5AIblNkupbAWDmj1LZZTG2OaNJhc0DsB5MUNus0jA21lSZBxi8FaPUd5oWGIdrKQFqsSy71cbjWg49N2UiAC83ZgitoeFn4Dbs1rHB8M5oBE27Hgu8mV7UhvuFuRomUFjLBfF6J6d908TYVq3oDr6zUvu2DfcM\/4iv78rG0Q0fvKHVgPxakq3vbt5+l33+v8J3uxQrLlREAAAAAElFTkSuQmCC",
"coin_id": "1027",
"coin_rank": "2",
"created_at": "2019-12-28 12:45:47",
"updated_at": "2019-12-28 12:45:47"
},
{
"id": 3,
"coin": "BNB",
"base64": "data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAABGdBTUEAALGPC\/xhBQAAAAFzUkdCAK7OHOkAAAF3UEx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AANE+vDckQZ8RPDlIxsqyRoJTIDB42Ca4+kIOkqGWgAQG05bnBFefEF8ONL7MOlGAKHDRJey4+sR+k+Ww09UPiFc0uMzuW4T1OUc\/D9++sAfdHOYs\/SJ7cAaI4vHPlWuzPGTwXntmnv0oQnnpcx8cYYT5md\/3b3Dc+IWzjqMs\/+3+elLghAcPH\/HLkmp2+vuYqAyPb5f55dGBnwb3ZNf\/tyS32+hXs\/VVo7po9Ns5aOB0yLEBU+Kutv2\/6ek4mXB9a0gkg+dgP7D0fwxtrnUJBGg887\/XOp54m+D6v6s\/xObFSRoOIy3b\/5Qwy5JnplK5LSnhrjNuGoxTfXtetCoAw50TTW7fP8+eEkYg5Op1s8rtXzVv3mGOAo08f\/GX27p53hzFA9B\/Ad2J6GGMMNJipJGirGx+jbJyxGRaKvGg0Mnknc405LtvOtdqMaazt6BYHRdRUIoBBckpaWU1qqR9qrEuDa6LfOj3Kqp0UMKKsra8EqOs7358G1LWF+BVvIXlTcjCgl7a8IsrfnlHbzDwWxz8Jgu\/zcNvNPFbXfxmG7\/dxx848Ece\/KELf+zDHzzxR1\/84Tve8f8fg6+dHrIM6tAAAAAASUVORK5CYII=",
"coin_id": "1839",
"coin_rank": "8",
"created_at": "2019-12-28 12:45:47",
"updated_at": "2019-12-28 12:45:47"
},
{
"id": 4,
"coin": "NEO",
"base64": "data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAABGdBTUEAALGPC\/xhBQAAAAFzUkdCAK7OHOkAAAMAUExURUxpcQDlmQCukgDlmQD\/fwD\/vwCffwD\/AADkmQCvkgDkmAC\/fwD\/\/wD\/qgCukgDkmQCqqgCukgCvkQCukQDkmQBwcAAAAACvkgDkmADlmQDpnADqnACukQDkmADlmQCiiADtoQDomwCukQDtnQDlmACvkQDqngDomwDqnADjmADqmwDrnADrnQDsowDpnACylADlmgDpnADomgDmmwDomwDrngDqnADsnQDqmwCukwDpnAC0lgDqnACylACzlQC0lgC1lgDqnQDrnQDpmwCzlADomwCylQC1lgDomwCtmABxcQDsngCzlgDpmQCqlgDwoADpmwDomwDMmQDUlQDonADnmgDqnADpnADomwCvkQDonADmmQCvkQCylACxlAC2kQDqnADpnADlmQCvkwD\/\/wDomwDhlgCylACzlADrnQCylACylADomwDonADpmwDrnQCylADqoQCzkwDqmwDpnADlmQDqnQDvnwDrnADsnQCylACzlQDpnADqnAC0lACylADpnAC2kQDrnADpnADpmwDqmwDpnADpnADniwDlmADrngDqnQDkmQDlmQDpnADpmwDlmADsngDrngCylQCylQCvkACukgCukQCzlwDomwC1lgCylQC1lgDpnADrmgDpmwDpnAC\/PwD\/fwDrnQDomwDimADonQCukgC0lwDpnADpnACxlADomwCylQCvkgDsngCwkQDrnAC1lgC2lwC2lgCRkQDomwC0lQCylQDpnQC1lgD\/qgCylADqngCylACzlQDqnACzkwC0lAC0lQCylAC2lgCukQDlmQDpmwDvnwDqmwDkmAC0lgCzlACvkgC2lwCtkQDpmwC1mADqnADlmQCvkgDsngC0lgDtngC2mADkmAD1pAC7nADyogD0owDunwDxoQC6mwDwoADvoADomwC1lwDpnAC5mgDrnQDnmgC3mQDmmgDqnACwkwC4mQD3pQCylAD1owDzowDqnQDzogDmmgDvnwC0lwD8qQC\/nwC2lwCzlQCzlgD5pgD2pQDCosU8C3wAAADUdFJOUwDd4toCBAgB\/f38BAED1fsD+\/z+\/gIB\/v7+ZJj8+\/sKGPP9HPz6Mviu\/Cp8RQ7j\/Nza+RT+O7oGXeDR\/T72glwhSoW81PrgTPAMBP2TMxMRyOMFBnEhx7GL19vZ0bTrFc+\/Ci0C2BGjbGnRf\/vE3nY8JnBXbR6VMI9UwpHKnh\/F5gepnOmi7VML4\/tM+uKl6sWJNfOxQ\/7uL4paP+S2QiR0BATnXEhE5erWtft+v43EKidCr3cO7LXnpJwJ3FftpnJRZ4zMOOLewZBuwjPH1HEcSPuhMbp+3gAAA4pJREFUWMPtl1dUE0EUhleNZrMmJkDUUBQQEOwoIHZAelO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zt6a6jdRKDHQUAzJvD9Rs\/VGPo+awFsHb0DJqz7IM8TeheCAB73nzqHfDMVomjO1kPyLW0zYN7nj\/v8gsDyO39K99\/2LIgwG+DHKxV\/QqzWwAAAABJRU5ErkJggg==",
"coin_id": "1376",
"coin_rank": "19",
"created_at": "2019-12-28 12:45:47",
"updated_at": "2019-12-28 12:45:47"
},
{
"id": 5,
"coin": "LTC",
"base64": "data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAABGdBTUEAALGPC\/xhBQAAAAFzUkdCAK7OHOkAAAMAUExURUxpcT8\/fwAAADNcnAAT\/zNcnDRcnVVVqjNdnDRdnAB\/fzRcnTNcmzVfoDRenjNdnH9\/\/zNdnjReoDRfpjVgojhVpDRdnDVdnjVboTZgojZgoy5cizVfoTRen39\/fzNdnT9\/vzNMkzReoDdjpzRZlTRfoDVdnDZfoTNcnTRdnjRcnDhkqTRdnTNdnDNcnTRenjVfoTNcnDNdnTRdnDRcnDNcnDReoDNmmTNYmzNcnDRcnDVdnTNenjNcnDRenjNdmzBdnDVeoTRfojNbmzVfoTNbmjReoDZbmjVeoDVenzRdnTNdnTRenzRdnTZhozNcnTZbkTRenzVdnzRenjRdnjRdnjVenzRfojVfnzRdnDVamjVfoDNeoDNcnDNbnDFdoTNdnTVcnTRcnDVenzVgoTVeoDRdnDNamTNdmTReny5cljRXmjNcnDNdnTNenDRfoDRdnDRdnDVeoDRcmz9qqipVnzVenzhjozRdnf\/\/\/zdfnjdipfz9\/idTl3iTvjVdnf7+\/jhkqTlhnzZfnv39\/jdgnzJcnDVenf7+\/zdipjVfoTdjpzVenvz8\/efr8ytWmSVRljZenjZhpDRenjhkqP3+\/v7\/\/yZSljVfoC9ZmihTlzBamy5YmjZgoilUmDJbnCxXmTNcnThjqDNcnC1YmipVmNTc6jFbnPr7\/CdSly9ZmzZgo1Z4rjRdntLb6ejt9GmIt3eSve7x9+br8\/v8\/fv7\/TxjofT2+uPp8UFno\/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7fapo7Sf6jnv6tM\/DmkxF1LO+RXOWeNFEC1vCWNrrgTEqwuVbdQ3jpSs\/CZ4ynA6huoQQu2EZbl1PeEK+7uP6IFr3E\/CCIfaxrgiODabEeLx4Q0Hd34PWB5Y8erqHkuThRdc999krNcqiS4NE170gnAgk+2aPLapUlH1FhpRAsk8Qnsun8cIzTCw8w5DwpOOmxXYiPAXpuzQ58TVB+qr9pO\/LiclBnUtfn\/hekbx40sJFPvG9aOGkxckruii+\/eT\/ksiUIQsWDEmJXBJA\/v8PkKi\/E9mKmZgAAAAASUVORK5CYII=",
"coin_id": "2",
"coin_rank": "6",
"created_at": "2019-12-28 12:45:48",
"updated_at": "2019-12-28 12:45:48"
},
{
"id": 6,
"coin": "QTUM",
"base64": "data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAABGdBTUEAALGPC\/xhBQAAAAFzUkdCAK7OHOkAAAMAUExURUxpcZr\/\/w0A\/\/\/\/6z6\/vzvE\/wB\/\/1aq\/wD\/\/zaOqjum2UCo31624EJ7f39\/\/wAAADOIx\/r6\/0it3AD\/\/\/327j6r3z6n2j6n2T+o2lez33K94YjH5v\/\/83O\/5Fiz37HS50ut3H3D6Vay3uLo8Wq84obF5U6x4U6z4kyv3mK34Eyx4k2v3jak2WC34YvG41y03kqy406w3lOx3lCv3ZzN5Uar21Cx30qy5FGx34HD4\/r3912131Ox3liy3VGx31+231iz3me530yv3j2m2FOy3k6w3k6w33C84HLA40qu3YjE41+24KzV5svq\/3i\/4k+36Euy41m031Cv3FG25m284mi85Fiz3lCx31y130ux4XC+40qu3VK3502y40Wy5lCx3nrC43bB5U6v3VWx3VG040ut3ebp8me641a455fN55rT7E+z4mK34Fy24U2z42G231Kx3lu55nrE56TT7Ey05Viz30yu3U2x4Ge64VGw3k+z4lK04nzB406w30qt3VKy4Gi54F+24GC23lG36E+36Gm74mG34GO85prS6mS742C24Fez4E6u3FSw3Vi452K44U6v3VSy3k+v3Euu3VK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z\/6JhtJOsUqI8m7RQjn7MUjS2OXhnplUJl0WatPniCf0FrZ+ta\/9ZzZWMTYiypavCo1RoVFgTJ3a8ywCT9Vn9r5PD8fBe+ttVGhe1pbB06WXAnf57jL12O0Sd8W54NvahZBXD8lY1xaZPiic6K60dm6fzSGg4ll6EanWgbd997ZSxfXCOiaoJciy01ABs7KlK2Fuq+ne790pamjGtjGCrv3TWBAKZlscHk2P3czHs4FD1WQcSipbdO8zV\/dswPvggfxg68+8wUdQAcIUGNiEqCbp1A\/WF58nersz4nUVfBSK3xOQNrUIOB6FaSl7wYaMN2HsNt\/TuGe+9ogKAklnonXCygI7A\/CExzUk3k9MgmtSpGSsK09UnZTgMHVDxa6IlLDPyL7dyk9fsAFZYVnkDyPa\/og5Xowa3HhgctJnPTu\/JN1lbdbNSzqA\/\/2QpYfKLvFFzFl3RuQsKt1qlpvs3zWuIjwazB6ddw9BoBNg4aFqxKdAv5PzRQmroOpUMzcQiMZZCzLc3IPbYbFUMxrBUW8tLh70ZTdEJWPUD2wXWVQKLoraFotv\/GpR4LXA3vUoICTD3sBE46O4r0WVIt8E3EmBT+Azg8uKdKtPjnTzWjJGRAdOBlm6K1P+03\/xVM\/72+z32MtTYMDFUzGSGNbU6GmvthDAxaR\/VOPdVlYOCEJ\/\/AexLA0j4JtckKjN3QedlnPRMLb9YAWzwsQCAgBAy4Bfqx50pOqTKwwsOdifnkEwkxMecX6I1mFgaTmIAPr\/7rI4u6\/Pg3P6CbGTn9sgDbluJiEk8MMdrtwGSYCqxYUiWRwAExcWA24kROfXwcm7TePn5vroLZ8mdkSH0i\/nCnAgKUARt4b+2FUTtdzAzSfTxrp2Pt9oV8\/fkOpWaa8uylQQUHH7aeKB\/WjmfrsQQGYA8EClgEGA4d88LsuvKx8LMy4uz6siELMJHW9QUGAwuayewsvAy0AgA+38KWnKnGYgAAAABJRU5ErkJggg==",
"coin_id": "1684",
"coin_rank": "41",
"created_at": "2019-12-28 12:45:48",
"updated_at": "2019-12-28 12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E1xL+43BAbAsMVLNnsKJhZimk7UnMXhPPlahJ+txKo7nT19SolfcbHVVDEDIL2ppq5qmseEMq8w7qOxHwN8e54kFJuuYeayy6E2q7XEVLQLYHMhTih5HnocOSTUx8ZWPgaQ1CImspakiRd9hVkhzkhp1X3MUkpjrus\/KUTilGHCE4uqRgSpIOhtMZVOCdIutOOZX8SlHFAa7vrlfFYU2UvBjVsVnE+ExM3CNJLWu1XhTNqjye7bp1v9PFBgF00eZxQ7UVwGXAolT+dOHdGfwEtLPMGF5c2L1+LvAJzHwhavaJrTm5QF4Tc5H4U8NDfNpdmQQeqpEwu1NCltSrHOq3Bpu01P9JQDtz4jReqAeRYJ3lpaW7NGT3NO8AZWnsK1kb6+uAJkjxGNZd3dnVndep\/RWRspesjAlRnOBlUs72olH77y8opMDa9WM27lnUPR+aNzu+y4kFOxxyrNvvWTvDcYQsvCO8pk+uhbosUSnTd2woTCXUQAQvrkYw87WhyOZbs6n6ILnjpVfr8WN8ykxamru9CfwC2D\/NJzV7beVJuX0Lg38movoR8w7l4eP5LYyoBxz4GjL\/5wU23e5N\/srZ\/rpX6nu17ERAab6v\/+a8ZNaIDNfO7wF+sllzhaXYSCd6VO835lIkAj9wbO3UFe73AUvlaoaQXfud1n5KwSS1DAfxqdLhzzvSGY3m+86z0PwlNc7TFmzl3A8R59ePCPX9+CAAfnhz265x5HHGhgyJV\/XjPSnCcNYt64M8pFg4X2c1nOhpLXHnz1YW+XKIMbAkPLq1d7vCh2Gipw8RSFoh5cFO2qssr7JY6B\/3V4v\/7\/C9FC6KGneYQbAAAAAElFTkSuQmCC",
"coin_id": "2010",
"coin_rank": "14",
"created_at": "2019-12-28 12:45:49",
"updated_at": "2019-12-28 12:45:49"
},
{
"id": 8,
"coin": "XRP",
"base64": "data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAFm0lEQVR4nO2bT2xUVRTGfzMtSkRTEozEGtGAGzWRhVGUxBVx6Yq4KBsgGtg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WIr4qxpR9cfHMPo2j2n1cex\/zEqp2YPgrCxOLD8LcxdRktoXYXOhfedtrPbSASf0qxnluaNUaCh19FzPcpHq1LY20TcDkf\/wNRMuy8yTSOYfVKdKlQ\/zwaE7CxbNL6xE8latRPJkMKM1ce\/k4K0Po9gWo3ue6lZljLkPjl143ugRmC6VpgeOdAx90\/qCsUFjxtpH\/z8m7QFK+5EScgAAAABJRU5ErkJggg==",
"coin_id": "1765",
"coin_rank": "7",
"created_at": "2019-12-28 12:45:49",
"updated_at": "2019-12-28 12:45:49"
},
{
"id": 10,
"coin": "TUSD",
"base64": "data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAMAAACdt4HsAAAABGdBTUEAALGPC\/xhBQAAAAFzUkdCAK7OHOkAAAMAUExURUxpcQAoaAAAfwA\/fwAoZwAA\/wBVVQAAAAAoZwAnZwAnaAAnaAAoZwAoZwAnZwAzZgAoaQAoaAA\/PwAAVQAnZwAoaAApaQAoaAAlaAAoZQAnZwAnaAAnaAApawAoaAAoawAoaAApagAnaQApagAmZwAnZwAoagAoawApaQBVqgApagAoZgAmZgAoawAoZwAoagApaAArcAAoZwAoawAoaQAnagAoagAnaAAnaAAnZwAoZwAnZwAnZwAoaAAoaAAoaQAoaQAoagAnaQAoaP\/\/\/wMqagAbXwAaXkVikVdynAAeYQMrajdWiP7+\/gAZXgArcGR8owQragAqbAAoaQIqaQEpaQcubPj5+gArb\/v8\/QAjZAEpaP39\/v7+\/\/X2+Rk9dwAYXQAcXwAqbnaMrggvbQAnaAAqbQAfYgAmZ\/v7\/Pv7\/QApagApaQApbAApawAXXKGwyPz9\/QUsa\/n6+\/r6\/N3j6wArcTZWiAApaUZjkgElZldwm4+hvVlznfr6\/GJ7o01plv3+\/qGuxgIpaAAUWqu4zUFejs\/X4mZ+pFt1nq+70DBRhQAKU\/L1+Aowbl5ynN\/j63GHqmqCp8nR3sjQ3evu8wYiYwAnZy9QhAcpadXc5y1LgDhXiAEoaPT1+RxAe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ufBnMgsVXvvgM4OzbxXWvcXSlcr2Cd7x7CgzzQijhBw2+zCIfbzht5EsJLDTzCgxPidO0Zi2UKLEsLLmWWCzP4w+DpfrxWeSLhTUQK6xd00RKnDx3ieMpsszr5gZ\/leauM3sVWVSZZ9auLi9PC6Dy8tVas0+ZRxWauWZFEJlz\/RSaoZe6IRfboZf7oTccobc8oTddXNsnCdr2PSK5a9v3PzSeobe+ZDcczfc47+Z7XDObb7r9T3S1\/4kB2v\/\/ABYo1ej1YXkwAAAAAElFTkSuQmCC",
"coin_id": "2563",
"coin_rank": "42",
"created_at": "2019-12-28 12:45:50",
"updated_at": "2019-12-28 12:45:50"
}
]
Example response (400):
{
"message": "ای پی شما در لیست آی پی های معتبر قرار ندارد."
}
Example response (401):
{
"message": "اجازه دسترسی شما معتبر نمی باشد."
}
Example response (402):
{
"message": "موجودی حساب شما کافی نیست."
}
Example response (404):
{
"message": "رابط برنامه نویس درخواستی شما موجود نمی باشد."
}
HTTP Request
GET api/v2/general/allInformationCoin
Fee
[All withdraw fee]
Example request:
const url = new URL(
"https://mycryptocommerce.com/api/v2/general/withdrawFee"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"CRYPTOCOMMERCE": "encode base64 api_key",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://mycryptocommerce.com/api/v2/general/withdrawFee',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'CRYPTOCOMMERCE' => 'encode base64 api_key',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200):
{
"data": [
{
"coin": "CTR",
"nameNetwork": [
{
"name": "ERC20",
"network": "ETH",
"addressRegex": "^(0x)[0-9A-Fa-f]{40}$",
"memoRegex": "",
"minProductWithdraw": "70.00000000",
"transactionFee": "35.00000000",
"withdrawEnable": true
}
]
},
{
"coin": "MATIC",
"nameNetwork": [
{
"name": "BEP2",
"network": "BNB",
"addressRegex": "^(bnb1)[0-9a-z]{38}$",
"memoRegex": "^[0-9A-Za-z\\-_]{1,120}$",
"minProductWithdraw": "1.70000000",
"transactionFee": "0.85000000",
"withdrawEnable": true
},
{
"name": "ERC20",
"network": "ETH",
"addressRegex": "^(0x)[0-9A-Fa-f]{40}$",
"memoRegex": "",
"minProductWithdraw": "120.00000000",
"transactionFee": "60.00000000",
"withdrawEnable": true
}
]
},
{
"coin": "STPT",
"nameNetwork": [
{
"name": "ERC20",
"network": "ETH",
"addressRegex": "^(0x)[0-9A-Fa-f]{40}$",
"memoRegex": "",
"minProductWithdraw": "176.00000000",
"transactionFee": "88.00000000",
"withdrawEnable": true
}
]
},
{
"coin": "IOTX",
"nameNetwork": [
{
"name": "ERC20",
"network": "ETH",
"addressRegex": "^(0x)[0-9A-Fa-f]{40}$",
"memoRegex": "",
"minProductWithdraw": "10.00000000",
"transactionFee": "0.00000000",
"withdrawEnable": false
},
{
"name": "IOTX",
"network": "IOTX",
"addressRegex": "io1[qpzry9x8gf2tvdw0s3jn54khce6mua7l]{38}",
"memoRegex": "",
"minProductWithdraw": "1.00000000",
"transactionFee": "0.10000000",
"withdrawEnable": true
}
]
},
{
"coin": "ZAR",
"nameNetwork": [
{
"name": "FIAT",
"network": "FIAT_MONEY",
"addressRegex": "",
"memoRegex": "",
"minProductWithdraw": "0.00000000",
"transactionFee": "0.00000000",
"withdrawEnable": false
}
]
},
{
"coin": "CDT",
"nameNetwork": [
{
"name": "ERC20",
"network": "ETH",
"addressRegex": "^(0x)[0-9A-Fa-f]{40}$",
"memoRegex": "",
"minProductWithdraw": "522.00000000",
"transactionFee": "261.00000000",
"withdrawEnable": true
}
]
},
{
"coin": "DOCK",
"nameNetwork": [
{
"name": "ERC20",
"network": "ETH",
"addressRegex": "^(0x)[0-9A-Fa-f]{40}$",
"memoRegex": "",
"minProductWithdraw": "330.00000000",
"transactionFee": "165.00000000",
"withdrawEnable": true
}
]
},
{
"coin": "STX",
"nameNetwork": [
{
"name": "STX",
"network": "STX",
"addressRegex": "^([0123456789ABCDEFGHJKMNPQRSTVWXYZ]+)$",
"memoRegex": "^.{0,34}$",
"minProductWithdraw": "20.00000000",
"transactionFee": "10.00000000",
"withdrawEnable": true
}
]
},
{
"coin": "DENT",
"nameNetwork": [
{
"name": "ERC20",
"network": "ETH",
"addressRegex": "^(0x)[0-9A-Fa-f]{40}$",
"memoRegex": "",
"minProductWithdraw": "10416.00000000",
"transactionFee": "5208.00000000",
"withdrawEnable": true
}
]
}
]
}
Example response (400):
{
"message": "ای پی شما در لیست آی پی های معتبر قرار ندارد."
}
Example response (401):
{
"message": "اجازه دسترسی شما معتبر نمی باشد."
}
Example response (402):
{
"message": "موجودی حساب شما کافی نیست."
}
Example response (404):
{
"message": "رابط برنامه نویس درخواستی شما موجود نمی باشد."
}
HTTP Request
GET api/v2/general/withdrawFee
Crypto price
[All crypto price for channel and website]
Example request:
const url = new URL(
"https://mycryptocommerce.com/api/v2/general/cryptoPrice"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"CRYPTOCOMMERCE": "encode base64 api_key",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://mycryptocommerce.com/api/v2/general/cryptoPrice',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'CRYPTOCOMMERCE' => 'encode base64 api_key',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200):
{
"MATIC": {
"buy_price": 3328,
"sell_price": 3527,
"buy_active": true,
"sell_active": true,
"active": true
},
"STPT": {
"buy_price": 2231,
"sell_price": 2364,
"buy_active": true,
"sell_active": true,
"active": true
},
"IOTX": {
"buy_price": 869,
"sell_price": 921,
"buy_active": true,
"sell_active": true,
"active": true
},
"CDT": {
"buy_price": 771,
"sell_price": 817,
"buy_active": true,
"sell_active": true,
"active": true
},
"DOCK": {
"buy_price": 1245,
"sell_price": 1320,
"buy_active": true,
"sell_active": true,
"active": true
},
"STX": {
"buy_price": 23919,
"sell_price": 25350,
"buy_active": true,
"sell_active": true,
"active": true
},
"DENT": {
"buy_price": 39,
"sell_price": 41,
"buy_active": true,
"sell_active": true,
"active": true
},
"AION": {
"buy_price": 20944,
"sell_price": 22197,
"buy_active": true,
"sell_active": true,
"active": true
},
"NPXS": {
"buy_price": 25,
"sell_price": 27,
"buy_active": true,
"sell_active": true,
"active": true
},
"BCPT": {
"buy_price": 4016,
"sell_price": 4256,
"buy_active": true,
"sell_active": true,
"active": true
},
"VIBE": {
"buy_price": 2263,
"sell_price": 2398,
"buy_active": true,
"sell_active": true,
"active": true
},
"SUB": {
"buy_price": 521,
"sell_price": 552,
"buy_active": true,
"sell_active": true,
"active": true
},
"ZRX": {
"buy_price": 55061,
"sell_price": 58353,
"buy_active": true,
"sell_active": true,
"active": true
},
"BCD": {
"buy_price": 98827,
"sell_price": 104737,
"buy_active": true,
"sell_active": true,
"active": true
},
"POA": {
"buy_price": 2119,
"sell_price": 2246,
"buy_active": true,
"sell_active": true,
"active": true
},
"AE": {
"buy_price": 25299,
"sell_price": 26812,
"buy_active": true,
"sell_active": true,
"active": true
},
"IOST": {
"buy_price": 889,
"sell_price": 942,
"buy_active": true,
"sell_active": true,
"active": true
},
"BCH": {
"buy_price": 41564246,
"sell_price": 44049858,
"buy_active": true,
"sell_active": true,
"active": true
},
"POE": {
"buy_price": 319,
"sell_price": 338,
"buy_active": true,
"sell_active": true,
"active": true
},
"OMG": {
"buy_price": 272101,
"sell_price": 288373,
"buy_active": true,
"sell_active": true,
"active": true
},
"JST": {
"buy_price": 1241,
"sell_price": 1315,
"buy_active": true,
"sell_active": true,
"active": true
},
"BAND": {
"buy_price": 257349,
"sell_price": 272738,
"buy_active": true,
"sell_active": true,
"active": true
},
"HOT": {
"buy_price": 104,
"sell_price": 110,
"buy_active": true,
"sell_active": true,
"active": true
},
"BTC": {
"buy_price": 1593346366,
"sell_price": 1688631178,
"buy_active": true,
"sell_active": true,
"active": true
},
"NKN": {
"buy_price": 4404,
"sell_price": 4668,
"buy_active": true,
"sell_active": true,
"active": true
},
"CVC": {
"buy_price": 4795,
"sell_price": 5081,
"buy_active": true,
"sell_active": true,
"active": true
},
"BTG": {
"buy_price": 1509669,
"sell_price": 1599950,
"buy_active": true,
"sell_active": true,
"active": true
},
"ARK": {
"buy_price": 38828,
"sell_price": 41150,
"buy_active": true,
"sell_active": true,
"active": true
},
"BTM": {
"buy_price": 11637,
"sell_price": 12333,
"buy_active": true,
"sell_active": true,
"active": true
},
"RCN": {
"buy_price": 12471,
"sell_price": 13217,
"buy_active": true,
"sell_active": true,
"active": true
},
"ARN": {
"buy_price": 24831,
"sell_price": 26316,
"buy_active": true,
"sell_active": true,
"active": true
},
"KEY": {
"buy_price": 177,
"sell_price": 188,
"buy_active": true,
"sell_active": true,
"active": true
},
"BTS": {
"buy_price": 3699,
"sell_price": 3921,
"buy_active": true,
"sell_active": true,
"active": true
},
"BTT": {
"buy_price": 53,
"sell_price": 56,
"buy_active": true,
"sell_active": true,
"active": true
},
"ONE": {
"buy_price": 636,
"sell_price": 674,
"buy_active": true,
"sell_active": true,
"active": true
},
"ONG": {
"buy_price": 1649,
"sell_price": 1747,
"buy_active": true,
"sell_active": true,
"active": true
},
"ANKR": {
"buy_price": 399,
"sell_price": 423,
"buy_active": true,
"sell_active": true,
"active": true
},
"GNT": {
"buy_price": 9702,
"sell_price": 10283,
"buy_active": true,
"sell_active": true,
"active": true
},
"VITE": {
"buy_price": 2539,
"sell_price": 2690,
"buy_active": true,
"sell_active": true,
"active": true
},
"ALGO": {
"buy_price": 38985,
"sell_price": 41316,
"buy_active": true,
"sell_active": true,
"active": true
},
"SC": {
"buy_price": 439,
"sell_price": 465,
"buy_active": true,
"sell_active": true,
"active": true
},
"ONT": {
"buy_price": 97088,
"sell_price": 102894,
"buy_active": true,
"sell_active": true,
"active": true
},
"PPT": {
"buy_price": 75269,
"sell_price": 79770,
"buy_active": true,
"sell_active": true,
"active": true
},
"RDN": {
"buy_price": 36172,
"sell_price": 38335,
"buy_active": true,
"sell_active": true,
"active": true
},
"PIVX": {
"buy_price": 76522,
"sell_price": 81098,
"buy_active": true,
"sell_active": true,
"active": true
},
"ARDR": {
"buy_price": 8347,
"sell_price": 8846,
"buy_active": true,
"sell_active": true,
"active": true
},
"AST": {
"buy_price": 8596,
"sell_price": 9110,
"buy_active": true,
"sell_active": true,
"active": true
},
"CLOAK": {
"buy_price": 26879,
"sell_price": 28487,
"buy_active": true,
"sell_active": true,
"active": true
},
"MANA": {
"buy_price": 6747,
"sell_price": 7151,
"buy_active": true,
"sell_active": true,
"active": true
},
"NEBL": {
"buy_price": 95213,
"sell_price": 100907,
"buy_active": true,
"sell_active": true,
"active": true
},
"VTHO": {
"buy_price": 77,
"sell_price": 82,
"buy_active": true,
"sell_active": true,
"active": true
},
"QSP": {
"buy_price": 2386,
"sell_price": 2528,
"buy_active": true,
"sell_active": true,
"active": true
},
"SALT": {
"buy_price": 12275,
"sell_price": 13009,
"buy_active": true,
"sell_active": true,
"active": true
},
"ZEC": {
"buy_price": 8499058,
"sell_price": 9007316,
"buy_active": true,
"sell_active": true,
"active": true
},
"REN": {
"buy_price": 14118,
"sell_price": 14963,
"buy_active": true,
"sell_active": true,
"active": true
},
"APPC": {
"buy_price": 7045,
"sell_price": 7466,
"buy_active": true,
"sell_active": true,
"active": true
},
"JEX": {
"buy_price": 2342,
"sell_price": 2482,
"buy_active": true,
"sell_active": true,
"active": true
},
"REP": {
"buy_price": 2388260,
"sell_price": 2531082,
"buy_active": true,
"sell_active": true,
"active": true
},
"ADA": {
"buy_price": 13904,
"sell_price": 14736,
"buy_active": true,
"sell_active": true,
"active": true
},
"ELF": {
"buy_price": 17102,
"sell_price": 18125,
"buy_active": true,
"sell_active": true,
"active": true
},
"REQ": {
"buy_price": 2516,
"sell_price": 2667,
"buy_active": true,
"sell_active": true,
"active": true
},
"STORJ": {
"buy_price": 23049,
"sell_price": 24427,
"buy_active": true,
"sell_active": true,
"active": true
},
"ICX": {
"buy_price": 54712,
"sell_price": 57984,
"buy_active": true,
"sell_active": true,
"active": true
},
"LOOM": {
"buy_price": 3317,
"sell_price": 3515,
"buy_active": true,
"sell_active": true,
"active": true
},
"ZEN": {
"buy_price": 1112991,
"sell_price": 1179550,
"buy_active": true,
"sell_active": true,
"active": true
},
"PAX": {
"buy_price": 164949,
"sell_price": 173006,
"buy_active": true,
"sell_active": true,
"active": true
},
"DUSK": {
"buy_price": 5278,
"sell_price": 5593,
"buy_active": true,
"sell_active": true,
"active": true
},
"DOGE": {
"buy_price": 420,
"sell_price": 445,
"buy_active": true,
"sell_active": true,
"active": true
},
"HBAR": {
"buy_price": 7185,
"sell_price": 7615,
"buy_active": true,
"sell_active": true,
"active": true
},
"RVN": {
"buy_price": 3416,
"sell_price": 3620,
"buy_active": true,
"sell_active": true,
"active": true
},
"CHR": {
"buy_price": 4023,
"sell_price": 4263,
"buy_active": true,
"sell_active": true,
"active": true
},
"NANO": {
"buy_price": 185225,
"sell_price": 196302,
"buy_active": true,
"sell_active": true,
"active": true
},
"WAVES": {
"buy_price": 191782,
"sell_price": 203251,
"buy_active": true,
"sell_active": true,
"active": true
},
"CHZ": {
"buy_price": 2069,
"sell_price": 2193,
"buy_active": true,
"sell_active": true,
"active": true
},
"ADX": {
"buy_price": 16638,
"sell_price": 17633,
"buy_active": true,
"sell_active": true,
"active": true
},
"XRP": {
"buy_price": 33127,
"sell_price": 35108,
"buy_active": true,
"sell_active": true,
"active": true
},
"CTSI": {
"buy_price": 5404,
"sell_price": 5728,
"buy_active": true,
"sell_active": true,
"active": true
},
"WPR": {
"buy_price": 1302,
"sell_price": 1380,
"buy_active": true,
"sell_active": true,
"active": true
},
"KAVA": {
"buy_price": 188504,
"sell_price": 199777,
"buy_active": true,
"sell_active": true,
"active": true
},
"SYS": {
"buy_price": 4966,
"sell_price": 5263,
"buy_active": true,
"sell_active": true,
"active": true
},
"COCOS": {
"buy_price": 63,
"sell_price": 67,
"buy_active": true,
"sell_active": true,
"active": true
},
"TUSD": {
"buy_price": 164949,
"sell_price": 173006,
"buy_active": true,
"sell_active": true,
"active": true
},
"GAS": {
"buy_price": 270462,
"sell_price": 286636,
"buy_active": true,
"sell_active": true,
"active": true
},
"WABI": {
"buy_price": 22914,
"sell_price": 24285,
"buy_active": true,
"sell_active": true,
"active": true
},
"STRAT": {
"buy_price": 58704,
"sell_price": 62214,
"buy_active": true,
"sell_active": true,
"active": true
},
"IDRT": {
"buy_price": 12,
"sell_price": 12,
"buy_active": true,
"sell_active": true,
"active": true
},
"ENG": {
"buy_price": 52649,
"sell_price": 55797,
"buy_active": true,
"sell_active": true,
"active": true
},
"THETA": {
"buy_price": 41655,
"sell_price": 44146,
"buy_active": true,
"sell_active": true,
"active": true
},
"ENJ": {
"buy_price": 33483,
"sell_price": 35486,
"buy_active": true,
"sell_active": true,
"active": true
},
"WAN": {
"buy_price": 35785,
"sell_price": 37925,
"buy_active": true,
"sell_active": true,
"active": true
},
"OAX": {
"buy_price": 7837,
"sell_price": 8305,
"buy_active": true,
"sell_active": true,
"active": true
},
"GRS": {
"buy_price": 34745,
"sell_price": 36823,
"buy_active": true,
"sell_active": true,
"active": true
},
"PERL": {
"buy_price": 3251,
"sell_price": 3446,
"buy_active": true,
"sell_active": true,
"active": true
},
"LEND": {
"buy_price": 12825,
"sell_price": 13592,
"buy_active": true,
"sell_active": true,
"active": true
},
"DLT": {
"buy_price": 7187,
"sell_price": 7617,
"buy_active": true,
"sell_active": true,
"active": true
},
"TROY": {
"buy_price": 587,
"sell_price": 622,
"buy_active": true,
"sell_active": true,
"active": true
},
"WRX": {
"buy_price": 21829,
"sell_price": 23134,
"buy_active": true,
"sell_active": true,
"active": true
},
"XTZ": {
"buy_price": 475357,
"sell_price": 503784,
"buy_active": true,
"sell_active": true,
"active": true
},
"AGI": {
"buy_price": 2990,
"sell_price": 3169,
"buy_active": true,
"sell_active": true,
"active": true
},
"EOS": {
"buy_price": 452409,
"sell_price": 479464,
"buy_active": true,
"sell_active": true,
"active": true
},
"GO": {
"buy_price": 1739,
"sell_price": 1843,
"buy_active": true,
"sell_active": true,
"active": true
},
"NCASH": {
"buy_price": 57,
"sell_price": 61,
"buy_active": true,
"sell_active": true,
"active": true
},
"OST": {
"buy_price": 1568,
"sell_price": 1662,
"buy_active": true,
"sell_active": true,
"active": true
},
"HC": {
"buy_price": 218009,
"sell_price": 231046,
"buy_active": true,
"sell_active": true,
"active": true
},
"ZIL": {
"buy_price": 3506,
"sell_price": 3716,
"buy_active": true,
"sell_active": true,
"active": true
},
"SKY": {
"buy_price": 90593,
"sell_price": 96010,
"buy_active": true,
"sell_active": true,
"active": true
},
"NAS": {
"buy_price": 63219,
"sell_price": 66999,
"buy_active": true,
"sell_active": true,
"active": true
},
"XEM": {
"buy_price": 7526,
"sell_price": 7976,
"buy_active": true,
"sell_active": true,
"active": true
},
"NAV": {
"buy_price": 22119,
"sell_price": 23441,
"buy_active": true,
"sell_active": true,
"active": true
},
"GTO": {
"buy_price": 2117,
"sell_price": 2244,
"buy_active": true,
"sell_active": true,
"active": true
},
"CTXC": {
"buy_price": 19201,
"sell_price": 20350,
"buy_active": true,
"sell_active": true,
"active": true
},
"WTC": {
"buy_price": 66682,
"sell_price": 70670,
"buy_active": true,
"sell_active": true,
"active": true
},
"XVG": {
"buy_price": 929,
"sell_price": 985,
"buy_active": true,
"sell_active": true,
"active": true
},
"TNB": {
"buy_price": 342,
"sell_price": 362,
"buy_active": true,
"sell_active": true,
"active": true
},
"DNT": {
"buy_price": 1184,
"sell_price": 1255,
"buy_active": true,
"sell_active": true,
"active": true
},
"STEEM": {
"buy_price": 37345,
"sell_price": 39579,
"buy_active": true,
"sell_active": true,
"active": true
},
"TNT": {
"buy_price": 6417,
"sell_price": 6801,
"buy_active": true,
"sell_active": true,
"active": true
},
"KMD": {
"buy_price": 127152,
"sell_price": 134756,
"buy_active": true,
"sell_active": true,
"active": true
},
"IQ": {
"buy_price": 13813,
"sell_price": 14639,
"buy_active": true,
"sell_active": true,
"active": true
},
"CMT": {
"buy_price": 1900,
"sell_price": 2013,
"buy_active": true,
"sell_active": true,
"active": true
},
"MITH": {
"buy_price": 906,
"sell_price": 960,
"buy_active": true,
"sell_active": true,
"active": true
},
"ERD": {
"buy_price": 451,
"sell_price": 478,
"buy_active": true,
"sell_active": true,
"active": true
},
"CND": {
"buy_price": 1195,
"sell_price": 1266,
"buy_active": true,
"sell_active": true,
"active": true
},
"FTM": {
"buy_price": 1016,
"sell_price": 1076,
"buy_active": true,
"sell_active": true,
"active": true
},
"POWR": {
"buy_price": 16676,
"sell_price": 17674,
"buy_active": true,
"sell_active": true,
"active": true
},
"KNC": {
"buy_price": 142950,
"sell_price": 151499,
"buy_active": true,
"sell_active": true,
"active": true
},
"GVT": {
"buy_price": 201617,
"sell_price": 213674,
"buy_active": true,
"sell_active": true,
"active": true
},
"WINGS": {
"buy_price": 9832,
"sell_price": 10420,
"buy_active": true,
"sell_active": true,
"active": true
},
"CHAT": {
"buy_price": 274,
"sell_price": 290,
"buy_active": true,
"sell_active": true,
"active": true
},
"FTT": {
"buy_price": 488470,
"sell_price": 517682,
"buy_active": true,
"sell_active": true,
"active": true
},
"RLC": {
"buy_price": 87444,
"sell_price": 92673,
"buy_active": true,
"sell_active": true,
"active": true
},
"BGBP": {
"buy_price": 206534,
"sell_price": 218886,
"buy_active": true,
"sell_active": true,
"active": true
},
"ATOM": {
"buy_price": 517975,
"sell_price": 548951,
"buy_active": true,
"sell_active": true,
"active": true
},
"BLZ": {
"buy_price": 4384,
"sell_price": 4646,
"buy_active": true,
"sell_active": true,
"active": true
},
"HIVE": {
"buy_price": 41297,
"sell_price": 43766,
"buy_active": true,
"sell_active": true,
"active": true
},
"SNM": {
"buy_price": 1450,
"sell_price": 1537,
"buy_active": true,
"sell_active": true,
"active": true
},
"MBL": {
"buy_price": 297,
"sell_price": 315,
"buy_active": true,
"sell_active": true,
"active": true
},
"SNT": {
"buy_price": 4518,
"sell_price": 4788,
"buy_active": true,
"sell_active": true,
"active": true
},
"FUN": {
"buy_price": 566,
"sell_price": 600,
"buy_active": true,
"sell_active": true,
"active": true
},
"SNGLS": {
"buy_price": 2168,
"sell_price": 2297,
"buy_active": true,
"sell_active": true,
"active": true
},
"COS": {
"buy_price": 1515,
"sell_price": 1606,
"buy_active": true,
"sell_active": true,
"active": true
},
"QKC": {
"buy_price": 895,
"sell_price": 948,
"buy_active": true,
"sell_active": true,
"active": true
},
"SOL": {
"buy_price": 105488,
"sell_price": 111797,
"buy_active": true,
"sell_active": true,
"active": true
},
"FET": {
"buy_price": 4576,
"sell_price": 4849,
"buy_active": true,
"sell_active": true,
"active": true
},
"ETC": {
"buy_price": 1114631,
"sell_price": 1181287,
"buy_active": true,
"sell_active": true,
"active": true
},
"BNB": {
"buy_price": 2842308,
"sell_price": 3012283,
"buy_active": true,
"sell_active": true,
"active": true
},
"CELR": {
"buy_price": 538,
"sell_price": 571,
"buy_active": true,
"sell_active": true,
"active": true
},
"OGN": {
"buy_price": 41299,
"sell_price": 43768,
"buy_active": true,
"sell_active": true,
"active": true
},
"ETH": {
"buy_price": 39926723,
"sell_price": 42314408,
"buy_active": true,
"sell_active": true,
"active": true
},
"MCO": {
"buy_price": 870395,
"sell_price": 922446,
"buy_active": true,
"sell_active": true,
"active": true
},
"NEO": {
"buy_price": 1929294,
"sell_price": 2044669,
"buy_active": true,
"sell_active": true,
"active": true
},
"TOMO": {
"buy_price": 75707,
"sell_price": 80235,
"buy_active": true,
"sell_active": true,
"active": true
},
"LRC": {
"buy_price": 14395,
"sell_price": 15256,
"buy_active": true,
"sell_active": true,
"active": true
},
"MTH": {
"buy_price": 1239,
"sell_price": 1313,
"buy_active": true,
"sell_active": true,
"active": true
},
"XZC": {
"buy_price": 763850,
"sell_price": 809529,
"buy_active": true,
"sell_active": true,
"active": true
},
"MTL": {
"buy_price": 55236,
"sell_price": 58539,
"buy_active": true,
"sell_active": true,
"active": true
},
"VET": {
"buy_price": 1265,
"sell_price": 1341,
"buy_active": true,
"sell_active": true,
"active": true
},
"BNT": {
"buy_price": 119330,
"sell_price": 126466,
"buy_active": true,
"sell_active": true,
"active": true
},
"USDT": {
"buy_price": 164949,
"sell_price": 173006,
"buy_active": true,
"sell_active": true,
"active": true
},
"QLC": {
"buy_price": 2291,
"sell_price": 2428,
"buy_active": true,
"sell_active": true,
"active": true
},
"USDS": {
"buy_price": 164949,
"sell_price": 173006,
"buy_active": true,
"sell_active": true,
"active": true
},
"MDA": {
"buy_price": 75719,
"sell_price": 80247,
"buy_active": true,
"sell_active": true,
"active": true
},
"DASH": {
"buy_price": 12672366,
"sell_price": 13430195,
"buy_active": true,
"sell_active": true,
"active": true
},
"EDO": {
"buy_price": 85789,
"sell_price": 90920,
"buy_active": true,
"sell_active": true,
"active": true
},
"AMB": {
"buy_price": 2279,
"sell_price": 2415,
"buy_active": true,
"sell_active": true,
"active": true
},
"FUEL": {
"buy_price": 558,
"sell_price": 591,
"buy_active": true,
"sell_active": true,
"active": true
},
"DREP": {
"buy_price": 714,
"sell_price": 756,
"buy_active": true,
"sell_active": true,
"active": true
},
"TRY": {
"buy_price": 129,
"sell_price": 136,
"buy_active": true,
"sell_active": true,
"active": true
},
"TRX": {
"buy_price": 2900,
"sell_price": 3073,
"buy_active": true,
"sell_active": true,
"active": true
},
"MDT": {
"buy_price": 1436,
"sell_price": 1522,
"buy_active": true,
"sell_active": true,
"active": true
},
"LSK": {
"buy_price": 213091,
"sell_price": 225834,
"buy_active": true,
"sell_active": true,
"active": true
},
"NULS": {
"buy_price": 56877,
"sell_price": 60278,
"buy_active": true,
"sell_active": true,
"active": true
},
"BEAM": {
"buy_price": 76837,
"sell_price": 81432,
"buy_active": true,
"sell_active": true,
"active": true
},
"DCR": {
"buy_price": 2850504,
"sell_price": 3020969,
"buy_active": true,
"sell_active": true,
"active": true
},
"DATA": {
"buy_price": 10199,
"sell_price": 10809,
"buy_active": true,
"sell_active": true,
"active": true
},
"LTC": {
"buy_price": 7579488,
"sell_price": 8032754,
"buy_active": true,
"sell_active": true,
"active": true
},
"USDC": {
"buy_price": 164949,
"sell_price": 173006,
"buy_active": true,
"sell_active": true,
"active": true
},
"WIN": {
"buy_price": 15,
"sell_price": 15,
"buy_active": true,
"sell_active": true,
"active": true
},
"TCT": {
"buy_price": 1532,
"sell_price": 1623,
"buy_active": true,
"sell_active": true,
"active": true
},
"LTO": {
"buy_price": 9023,
"sell_price": 9562,
"buy_active": true,
"sell_active": true,
"active": true
},
"EVX": {
"buy_price": 37669,
"sell_price": 39921,
"buy_active": true,
"sell_active": true,
"active": true
},
"NXS": {
"buy_price": 34740,
"sell_price": 36817,
"buy_active": true,
"sell_active": true,
"active": true
},
"XLM": {
"buy_price": 12955,
"sell_price": 13730,
"buy_active": true,
"sell_active": true,
"active": true
},
"LINK": {
"buy_price": 726149,
"sell_price": 769574,
"buy_active": true,
"sell_active": true,
"active": true
},
"MFT": {
"buy_price": 140,
"sell_price": 149,
"buy_active": true,
"sell_active": true,
"active": true
},
"QTUM": {
"buy_price": 298328,
"sell_price": 316168,
"buy_active": true,
"sell_active": true,
"active": true
},
"LUN": {
"buy_price": 168834,
"sell_price": 178930,
"buy_active": true,
"sell_active": true,
"active": true
},
"POLY": {
"buy_price": 8241,
"sell_price": 8734,
"buy_active": true,
"sell_active": true,
"active": true
},
"VIB": {
"buy_price": 2857,
"sell_price": 3028,
"buy_active": true,
"sell_active": true,
"active": true
},
"VIA": {
"buy_price": 34602,
"sell_price": 36672,
"buy_active": true,
"sell_active": true,
"active": true
},
"BAT": {
"buy_price": 42242,
"sell_price": 44768,
"buy_active": true,
"sell_active": true,
"active": true
},
"BRD": {
"buy_price": 19349,
"sell_price": 20506,
"buy_active": true,
"sell_active": true,
"active": true
},
"BUSD": {
"buy_price": 164949,
"sell_price": 173006,
"buy_active": true,
"sell_active": true,
"active": true
},
"XMR": {
"buy_price": 11185646,
"sell_price": 11854566,
"buy_active": true,
"sell_active": true,
"active": true
},
"COTI": {
"buy_price": 3708,
"sell_price": 3930,
"buy_active": true,
"sell_active": true,
"active": true
},
"active": true
}
Example response (400):
{
"message": "ای پی شما در لیست آی پی های معتبر قرار ندارد."
}
Example response (401):
{
"message": "اجازه دسترسی شما معتبر نمی باشد."
}
Example response (402):
{
"message": "موجودی حساب شما کافی نیست."
}
Example response (404):
{
"message": "رابط برنامه نویس درخواستی شما موجود نمی باشد."
}
HTTP Request
GET api/v2/general/cryptoPrice
Order
APIs for Order action
History
[Order history]
Example request:
const url = new URL(
"https://mycryptocommerce.com/api/v2/order/history"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"CRYPTOCOMMERCE": "encode base64 api_key",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://mycryptocommerce.com/api/v2/order/history',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'CRYPTOCOMMERCE' => 'encode base64 api_key',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200):
{
"data": {
"Compelete_Binance": [
{
"id": 70,
"symbol": "BNBUSDT",
"orderId": "392166809",
"tradeId": "54189652",
"orderListId": "3160422",
"price": "13.00000000",
"qty": "1.00000000",
"quoteQty": "13.00000000",
"commission": "0",
"commissionAsset": "BNB",
"time": "1585264036047",
"isBuyer": "1",
"isMaker": "0",
"isBestMatch": "1",
"user_id": "13",
"status": 1,
"status_binance": null,
"created_at": "2020-03-27 07:08:08",
"updated_at": "2020-03-27 07:11:08",
"baseAsset": "BNB",
"quoteAsset": "USDT",
"price_in_rials": "1962587",
"price_in_dollars": "12.7449",
"created_at_shamsi": "1399-01-08 07:08:08"
}
],
"Compelete_Internal": [
{
"id": 8,
"symbol": "BNBIRR",
"orderId": "1",
"tradeId": "7",
"orderListId": "-1",
"price": "2800000",
"qty": "0.5",
"quoteQty": "1400000",
"commission": "4200",
"commissionAsset": "IRR",
"time": "1583954647000",
"isBuyer": "",
"isMaker": "",
"isBestMatch": "",
"baseAsset": "BNB",
"quoteAsset": "IRR",
"price_in_rials": "1262996.44851",
"price_in_dollars": "7.89422",
"user_id": 13,
"created_at": "2020-03-12 01:24:07",
"updated_at": "2020-03-12 01:24:07",
"created_at_shamsi": "1398-12-22 01:24:07"
},
{
"id": 6,
"symbol": "BNBIRR",
"orderId": "13",
"tradeId": "5",
"orderListId": "-1",
"price": "3000000",
"qty": "0.2",
"quoteQty": "600000",
"commission": "1800",
"commissionAsset": "IRR",
"time": "1583954047000",
"isBuyer": "",
"isMaker": "",
"isBestMatch": "",
"baseAsset": "BNB",
"quoteAsset": "IRR",
"price_in_rials": "503444.153574",
"price_in_dollars": "3.146722",
"user_id": 13,
"created_at": "2020-03-12 01:14:07",
"updated_at": "2020-03-12 01:14:07",
"created_at_shamsi": "1398-12-22 01:14:07"
}
],
"InProgress_Binance": [],
"InProgress_Internal": [
{
"id": 47,
"symbol": "USDTIRR",
"orderId": "47",
"orderListId": "Gz9wg1spR3q93tkHwgzFRFnDKgzlm3Fn",
"clientOrderId": "GLCnW57aoks6AkVP6LmJt2qiOGaavjKb",
"transactTime": "1591709581000",
"price": "140000",
"origQty": "5",
"quoteOrderQty": "0.0",
"executedQty": "0.0",
"cummulativeQuoteQty": "0.0",
"order_status": "NEW",
"side": "BUY",
"type": "LIMIT_MAKER",
"timeInForce": "GTC",
"fills": "[]",
"stopPrice": "0.0",
"icebergQty": "0.0",
"newOrderRespType": "FULL",
"recvWindow": "60000",
"timestamp": "1591709566000",
"baseAsset": "USDT",
"quoteAsset": "IRR",
"price_in_rials": "697497",
"price_in_dollars": "5",
"user_id": 13,
"created_at": "2020-06-09 18:03:01",
"updated_at": "2020-06-09 18:03:01",
"created_at_shamsi": "1399-03-20 18:03:01"
}
],
"Cancel_Order": []
}
}
Example response (400):
{
"message": "ای پی شما در لیست آی پی های معتبر قرار ندارد."
}
Example response (401):
{
"message": "اجازه دسترسی شما معتبر نمی باشد."
}
Example response (402):
{
"message": "موجودی حساب شما کافی نیست."
}
Example response (404):
{
"message": "رابط برنامه نویس درخواستی شما موجود نمی باشد."
}
HTTP Request
GET api/v2/order/history
Create
[Order create]
Example request:
const url = new URL(
"https://mycryptocommerce.com/api/v2/order/create"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"CRYPTOCOMMERCE": "encode base64 api_key",
};
let body = {
"symbol": "USDTIRR",
"side": "BUY",
"order_type": "OCO",
"quantity": 5,
"price": 140000,
"stop_price": 141000,
"stop_limit_price": 142000,
"baseAsset": "USDT",
"quoteAsset": "IRR",
"price_in_dollars": 1,
"price_in_rials": 139499.46773
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://mycryptocommerce.com/api/v2/order/create',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'CRYPTOCOMMERCE' => 'encode base64 api_key',
],
'json' => [
'symbol' => 'USDTIRR',
'side' => 'BUY',
'order_type' => 'OCO',
'quantity' => 5.0,
'price' => 140000.0,
'stop_price' => 141000.0,
'stop_limit_price' => 142000.0,
'baseAsset' => 'USDT',
'quoteAsset' => 'IRR',
'price_in_dollars' => 1.0,
'price_in_rials' => 139499.46773,
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200):
{}
Example response (400):
{
"message": "درصورت بروز خطا متن خطا برای شمادراین فیلد نمایش داده میشود."
}
Example response (500):
{
"message": "درصورت بروز خطا متن خطا برای شمادراین فیلد نمایش داده میشود."
}
Example response (400):
{
"message": "ای پی شما در لیست آی پی های معتبر قرار ندارد."
}
Example response (401):
{
"message": "اجازه دسترسی شما معتبر نمی باشد."
}
Example response (402):
{
"message": "موجودی حساب شما کافی نیست."
}
Example response (404):
{
"message": "رابط برنامه نویس درخواستی شما موجود نمی باشد."
}
HTTP Request
POST api/v2/order/create
Body Parameters
Parameter | Type | Status | Description |
---|---|---|---|
symbol |
string | required | . |
side |
string | required | . |
order_type |
string | required | . |
quantity |
float | required | . |
price |
float | required | in Limit,StopLimit,OCO orderو You can also send it to the market order. |
stop_price |
float | required | in Stop_Limit,OCO order. |
stop_limit_price |
float | required | in OCO order. |
baseAsset |
string | required | . |
quoteAsset |
string | required | . |
price_in_dollars |
float | optional | required. |
price_in_rials |
float | required | . |
Cancel
[Order cancel]
Example request:
const url = new URL(
"https://mycryptocommerce.com/api/v2/order/cancelOrder"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"CRYPTOCOMMERCE": "encode base64 api_key",
};
let body = {
"symbol": "USDTIRR",
"orderId": 47,
"market": "IRR"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://mycryptocommerce.com/api/v2/order/cancelOrder',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'CRYPTOCOMMERCE' => 'encode base64 api_key',
],
'json' => [
'symbol' => 'USDTIRR',
'orderId' => 47,
'market' => 'IRR',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200):
{
"data": true
}
Example response (400):
{
"message": "درصورت بروز خطا متن خطا برای شمادراین فیلد نمایش داده میشود."
}
HTTP Request
POST api/v2/order/cancelOrder
Body Parameters
Parameter | Type | Status | Description |
---|---|---|---|
symbol |
string | required | . |
orderId |
integer | required | . |
market |
string | required | if market IRR. |
Trade
APIs for information trades
History
[All trade history]
Example request:
const url = new URL(
"https://mycryptocommerce.com/api/v2/trade/tradeHistory"
);
let params = {
"symbol": "ADAUSDT",
"baseAsset": "ADA",
"quoteAsset": "USDT",
"limit": "10",
};
Object.keys(params)
.forEach(key => url.searchParams.append(key, params[key]));
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"CRYPTOCOMMERCE": "encode base64 api_key",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://mycryptocommerce.com/api/v2/trade/tradeHistory',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'CRYPTOCOMMERCE' => 'encode base64 api_key',
],
'query' => [
'symbol'=> 'ADAUSDT',
'baseAsset'=> 'ADA',
'quoteAsset'=> 'USDT',
'limit'=> '10',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200):
{
"data": [
{
"id": 27654253,
"price": "0.08467000",
"qty": "4424.80000000",
"quoteQty": "374.64781600",
"time": 1591717208211,
"isBuyerMaker": true,
"isBestMatch": true,
"created_at": "2020-06-09 20:10:08",
"created_at_shamsi": "1399-03-20 20:10:08"
},
{
"id": 27654254,
"price": "0.08467000",
"qty": "1797.80000000",
"quoteQty": "152.21972600",
"time": 1591717208211,
"isBuyerMaker": true,
"isBestMatch": true,
"created_at": "2020-06-09 20:10:08",
"created_at_shamsi": "1399-03-20 20:10:08"
},
{
"id": 27654255,
"price": "0.08465000",
"qty": "375.00000000",
"quoteQty": "31.74375000",
"time": 1591717209780,
"isBuyerMaker": true,
"isBestMatch": true,
"created_at": "2020-06-09 20:10:09",
"created_at_shamsi": "1399-03-20 20:10:09"
},
{
"id": 27654256,
"price": "0.08467000",
"qty": "1143.10000000",
"quoteQty": "96.78627700",
"time": 1591717209877,
"isBuyerMaker": false,
"isBestMatch": true,
"created_at": "2020-06-09 20:10:09",
"created_at_shamsi": "1399-03-20 20:10:09"
},
{
"id": 27654257,
"price": "0.08467000",
"qty": "5239.20000000",
"quoteQty": "443.60306400",
"time": 1591717210002,
"isBuyerMaker": false,
"isBestMatch": true,
"created_at": "2020-06-09 20:10:10",
"created_at_shamsi": "1399-03-20 20:10:10"
},
{
"id": 27654258,
"price": "0.08468000",
"qty": "298.30000000",
"quoteQty": "25.26004400",
"time": 1591717214469,
"isBuyerMaker": false,
"isBestMatch": true,
"created_at": "2020-06-09 20:10:14",
"created_at_shamsi": "1399-03-20 20:10:14"
},
{
"id": 27654259,
"price": "0.08469000",
"qty": "701.80000000",
"quoteQty": "59.43544200",
"time": 1591717214469,
"isBuyerMaker": false,
"isBestMatch": true,
"created_at": "2020-06-09 20:10:14",
"created_at_shamsi": "1399-03-20 20:10:14"
},
{
"id": 27654260,
"price": "0.08468000",
"qty": "378.20000000",
"quoteQty": "32.02597600",
"time": 1591717215328,
"isBuyerMaker": false,
"isBestMatch": true,
"created_at": "2020-06-09 20:10:15",
"created_at_shamsi": "1399-03-20 20:10:15"
},
{
"id": 27654261,
"price": "0.08468000",
"qty": "2219.10000000",
"quoteQty": "187.91338800",
"time": 1591717216197,
"isBuyerMaker": false,
"isBestMatch": true,
"created_at": "2020-06-09 20:10:16",
"created_at_shamsi": "1399-03-20 20:10:16"
},
{
"id": 27654262,
"price": "0.08470000",
"qty": "2053.10000000",
"quoteQty": "173.89757000",
"time": 1591717218248,
"isBuyerMaker": false,
"isBestMatch": true,
"created_at": "2020-06-09 20:10:18",
"created_at_shamsi": "1399-03-20 20:10:18"
}
]
}
Example response (400):
{
"message": "ای پی شما در لیست آی پی های معتبر قرار ندارد."
}
Example response (401):
{
"message": "اجازه دسترسی شما معتبر نمی باشد."
}
Example response (402):
{
"message": "موجودی حساب شما کافی نیست."
}
Example response (404):
{
"message": "رابط برنامه نویس درخواستی شما موجود نمی باشد."
}
HTTP Request
GET api/v2/trade/tradeHistory
Query Parameters
Parameter | Status | Description |
---|---|---|
symbol |
required | string . |
baseAsset |
required | string . |
quoteAsset |
required | string . |
limit |
required | int min=10 max=500. |
User
APIs for information users
Information
[All information user]
Example request:
const url = new URL(
"https://mycryptocommerce.com/api/v2/user/getUser"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"CRYPTOCOMMERCE": "encode base64 api_key",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://mycryptocommerce.com/api/v2/user/getUser',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'CRYPTOCOMMERCE' => 'encode base64 api_key',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200):
{
"data": {
"id": 145866589,
"name": "اهون",
"lastname": "خداکرمی ",
"fathername": "محمد",
"meli_number": "37xxxxxxx1",
"date_of_birth": "13xx\/xx\/xx",
"email": "axxxxxxxxxxxx@gmail.com",
"email_verified_at": "2020-01-22T11:23:44.000000Z",
"phone": "02xxxxxx0224",
"mobile": "091xxxxxx85",
"user_type": "silver",
"account_number": "xxxxxxxxxxx",
"postcode": "1681764811",
"address": "فرجام غربی شرکت ارتباطات فیبرشهری",
"last_login": "2020-06-07",
"makerCommission": 0.011,
"sellerCommission": 0.011,
"takerCommission": 0.011,
"userLevel": 3,
"informationCompelete": 1,
"subUser": 0,
"parentUser": 0,
"lastLoginIp": "127.0.0.1",
"levelWithdraw": null,
"enable2fa": 1,
"token_2fa_expiry": null,
"accept_law": 1,
"withdarw_day_irr": "4000000000",
"withdraw_month_irr": "40000000000",
"withdarw_day_btc": "5",
"withdraw_month_btc": "25",
"deposit": null,
"backup_confirmation": 1,
"manager_approval": 1
}
}
Example response (400):
{
"message": "ای پی شما در لیست آی پی های معتبر قرار ندارد."
}
Example response (401):
{
"message": "اجازه دسترسی شما معتبر نمی باشد."
}
Example response (402):
{
"message": "موجودی حساب شما کافی نیست."
}
Example response (404):
{
"message": "رابط برنامه نویس درخواستی شما موجود نمی باشد."
}
HTTP Request
GET api/v2/user/getUser
Inventory
[All inventory user]
Example request:
const url = new URL(
"https://mycryptocommerce.com/api/v2/user/inventory"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"CRYPTOCOMMERCE": "encode base64 api_key",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://mycryptocommerce.com/api/v2/user/inventory',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'CRYPTOCOMMERCE' => 'encode base64 api_key',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200):
{
"data": {
"price_by_USD": 177.15047,
"price_by_BTC": 0.01829954,
"price_by_IRR": 30005941,
"inventory_value": [
{
"asset": "LTC",
"value": 0.09799548
},
{
"asset": "TRX",
"value": 320.37776
},
{
"asset": "AGI",
"value": 200
},
{
"asset": "BTT",
"value": 7.0e-7
},
{
"asset": "BNB",
"value": 3.26440577
}
]
}
}
Example response (400):
{
"message": "ای پی شما در لیست آی پی های معتبر قرار ندارد."
}
Example response (401):
{
"message": "اجازه دسترسی شما معتبر نمی باشد."
}
Example response (402):
{
"message": "موجودی حساب شما کافی نیست."
}
Example response (404):
{
"message": "رابط برنامه نویس درخواستی شما موجود نمی باشد."
}
HTTP Request
GET api/v2/user/inventory
Account number
Example request:
const url = new URL(
"https://mycryptocommerce.com/api/v2/user/accountnamber"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"CRYPTOCOMMERCE": "encode base64 api_key",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://mycryptocommerce.com/api/v2/user/accountnamber',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'CRYPTOCOMMERCE' => 'encode base64 api_key',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200):
{
"data": "1XXXXXXXX4"
}
Example response (400):
{
"message": "ای پی شما در لیست آی پی های معتبر قرار ندارد."
}
Example response (401):
{
"message": "اجازه دسترسی شما معتبر نمی باشد."
}
Example response (402):
{
"message": "موجودی حساب شما کافی نیست."
}
Example response (404):
{
"message": "رابط برنامه نویس درخواستی شما موجود نمی باشد."
}
HTTP Request
GET api/v2/user/accountnamber
Information account
[All information account user]
Example request:
const url = new URL(
"https://mycryptocommerce.com/api/v2/user/informationAccountUser"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"CRYPTOCOMMERCE": "encode base64 api_key",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://mycryptocommerce.com/api/v2/user/informationAccountUser',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'CRYPTOCOMMERCE' => 'encode base64 api_key',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200):
{
"data": {
"general_account_information": [
{
"id": 10,
"card_number": "5022291078683438",
"iban": "IR140570020380013745289101",
"account_number": "203.8000.13745289.1",
"name": "اهون",
"lastname": "خداکرمی صاحب",
"bankName": "بانک پاسارگاد",
"user_id": 13,
"created_at": "2020-02-15 18:55:44",
"updated_at": "2020-02-15 18:55:47"
},
{
"id": 14,
"card_number": "6037701174739042",
"iban": "IR180160000000000859395842",
"account_number": "859395842",
"name": "اهون",
"lastname": "خداکرمی صاحب",
"bankName": "بانک کشاورزی",
"user_id": 13,
"created_at": "2020-02-23 00:06:58",
"updated_at": "2020-02-23 00:06:58"
}
],
"iban_account": [
"IR140570020380013745289101",
"IR180160000000000859395842"
],
"card_account": [
"5022291078683438",
"6037701174739042"
],
"number_account": [
"203.8000.13745289.1",
"859395842"
]
}
}
Example response (400):
{
"message": "ای پی شما در لیست آی پی های معتبر قرار ندارد."
}
Example response (401):
{
"message": "اجازه دسترسی شما معتبر نمی باشد."
}
Example response (402):
{
"message": "موجودی حساب شما کافی نیست."
}
Example response (404):
{
"message": "رابط برنامه نویس درخواستی شما موجود نمی باشد."
}
HTTP Request
GET api/v2/user/informationAccountUser
Wallet
[All information wallet user]
Example request:
const url = new URL(
"https://mycryptocommerce.com/api/v2/user/userWallet"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"CRYPTOCOMMERCE": "encode base64 api_key",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://mycryptocommerce.com/api/v2/user/userWallet',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'CRYPTOCOMMERCE' => 'encode base64 api_key',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200):
{
"data": [
{
"asset": "LTC",
"assetName": "Litecoin",
"total": 0.0979955,
"freeze": 0,
"available": 0.0979955,
"price_usd": 4.52,
"price_irr": 766186,
"price_btc": 0.0004673
},
{
"asset": "TRX",
"assetName": "TRON",
"total": 320.37776,
"freeze": 0,
"available": 320.37776,
"price_usd": 5.66,
"price_irr": 958570,
"price_btc": 0.0005831
},
{
"asset": "AGI",
"assetName": "SingularityNET",
"total": 200,
"freeze": 0,
"available": 200,
"price_usd": 3.6,
"price_irr": 610400,
"price_btc": 0.000372
},
{
"asset": "BTT",
"assetName": "BitTorrent",
"total": 6008.2944077,
"freeze": 6008.294407,
"available": 7.0e-7,
"price_usd": 0,
"price_irr": 0,
"price_btc": 0
},
{
"asset": "BNB",
"assetName": "BNB",
"total": 3.2644058,
"freeze": 0,
"available": 3.2644058,
"price_usd": 56.44,
"price_irr": 9560073,
"price_btc": 0.0058309
}
]
}
Example response (400):
{
"message": "ای پی شما در لیست آی پی های معتبر قرار ندارد."
}
Example response (401):
{
"message": "اجازه دسترسی شما معتبر نمی باشد."
}
Example response (402):
{
"message": "موجودی حساب شما کافی نیست."
}
Example response (404):
{
"message": "رابط برنامه نویس درخواستی شما موجود نمی باشد."
}
HTTP Request
GET api/v2/user/userWallet
Withdraw
APIs for Withdraw action
History
[ٌWithdraw history]
Example request:
const url = new URL(
"https://mycryptocommerce.com/api/v2/withdraw/history"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"CRYPTOCOMMERCE": "encode base64 api_key",
};
fetch(url, {
method: "GET",
headers: headers,
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->get(
'https://mycryptocommerce.com/api/v2/withdraw/history',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'CRYPTOCOMMERCE' => 'encode base64 api_key',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200):
{
"data": {
"withdraw_complete_irr": [],
"withdraw_complete_currency": [
{
"id": 7,
"applyTime": "1581954496000",
"amount": "18.5",
"address": "TKUhEBQpsfoKScBDwadDuv62JAm9ZVYmCn",
"addressTag": null,
"txId": "3cc612de36ee0bfb18c6ba8b56a068359e762b6c8fe90074fcba3f2da5859167",
"asset": "TRX",
"withdraw_id": "7f8eefd6144f468b93c3c350b06b7702",
"successTime": "1581955049000",
"status": "2",
"status_binance": "6",
"transactionFee": "1.5",
"destinationName": null,
"sourceNumber": null,
"inquiryDate": null,
"refCode": null,
"inquiryTime": null,
"destinationNumber": null,
"user_id": 13,
"created_at": "2020-02-17 22:25:08",
"updated_at": "2020-02-17 22:25:08",
"created_at_shamsi": "1398-11-28 22:25:08"
},
{
"id": 4,
"applyTime": "1581953188000",
"amount": "18.5",
"address": "TKUhEBQpsfoKScBDwadDuv62JAm9ZVYmCn",
"addressTag": null,
"txId": "f5d7e534686eac834f9148f7607852533c35d7c501a7b3fb7966f20e2f708772",
"asset": "TRX",
"withdraw_id": "713f9b2d2dd14eeba63c524e3816e888",
"successTime": "1581953792000",
"status": "2",
"status_binance": "6",
"transactionFee": "1.5",
"destinationName": null,
"sourceNumber": null,
"inquiryDate": null,
"refCode": null,
"inquiryTime": null,
"destinationNumber": null,
"user_id": 13,
"created_at": "2020-02-17 22:25:04",
"updated_at": "2020-02-17 22:25:04",
"created_at_shamsi": "1398-11-28 22:25:04"
},
{
"id": 3,
"applyTime": "1581948012000",
"amount": "18.5",
"address": "TKUhEBQpsfoKScBDwadDuv62JAm9ZVYmCn",
"addressTag": null,
"txId": "b76032abe43df10e8c3f0f62719d64a7338430b429a07f0626cc4bcf29e8c233",
"asset": "TRX",
"withdraw_id": "de7d36f6fa1d4b32ba8ca536654a4255",
"successTime": "1581948739000",
"status": "2",
"status_binance": "6",
"transactionFee": "1.5",
"destinationName": null,
"sourceNumber": null,
"inquiryDate": null,
"refCode": null,
"inquiryTime": null,
"destinationNumber": null,
"user_id": 13,
"created_at": "2020-02-17 22:25:03",
"updated_at": "2020-02-17 22:25:03",
"created_at_shamsi": "1398-11-28 22:25:03"
}
],
"withdraw_in_progress_irr": [],
"withdraw_in_progress_currency": []
}
}
Example response (400):
{
"message": "ای پی شما در لیست آی پی های معتبر قرار ندارد."
}
Example response (401):
{
"message": "اجازه دسترسی شما معتبر نمی باشد."
}
Example response (402):
{
"message": "موجودی حساب شما کافی نیست."
}
Example response (404):
{
"message": "رابط برنامه نویس درخواستی شما موجود نمی باشد."
}
HTTP Request
GET api/v2/withdraw/history
Create
[Withdraw create]
Example request:
const url = new URL(
"https://mycryptocommerce.com/api/v2/withdraw/create"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"CRYPTOCOMMERCE": "encode base64 api_key",
};
let body = {
"amount": 0.2,
"asset": "BNB",
"address": "bnb1323545dfdf5gfdghgh66jh",
"addressTag": "100256336",
"transactionFee": "0.001"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://mycryptocommerce.com/api/v2/withdraw/create',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'CRYPTOCOMMERCE' => 'encode base64 api_key',
],
'json' => [
'amount' => 0.2,
'asset' => 'BNB',
'address' => 'bnb1323545dfdf5gfdghgh66jh',
'addressTag' => '100256336',
'transactionFee' => '0.001',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200):
{
"data": "درخواست برداشت با موفقیت ثبت کردید."
}
Example response (400):
{
"message": "متاسفانه عملیات لغو انجام نشد."
}
Example response (400):
{
"message": "ای پی شما در لیست آی پی های معتبر قرار ندارد."
}
Example response (401):
{
"message": "اجازه دسترسی شما معتبر نمی باشد."
}
Example response (402):
{
"message": "موجودی حساب شما کافی نیست."
}
Example response (404):
{
"message": "رابط برنامه نویس درخواستی شما موجود نمی باشد."
}
HTTP Request
POST api/v2/withdraw/create
Body Parameters
Parameter | Type | Status | Description |
---|---|---|---|
amount |
float | required | . |
asset |
string | required | . |
address |
string | required | . |
addressTag |
string | required | For coins with MemoId. |
transactionFee |
string | required | . |
Transitional
[Withdraw Transitional]
Example request:
const url = new URL(
"https://mycryptocommerce.com/api/v2/withdraw/transitional"
);
let headers = {
"Content-Type": "application/json",
"Accept": "application/json",
"CRYPTOCOMMERCE": "encode base64 api_key",
};
let body = {
"amount": 0.2,
"asset": "BNB",
"source_account": "158694478696",
"destination_account": "14523658796"
}
fetch(url, {
method: "POST",
headers: headers,
body: body
})
.then(response => response.json())
.then(json => console.log(json));
$client = new \GuzzleHttp\Client();
$response = $client->post(
'https://mycryptocommerce.com/api/v2/withdraw/transitional',
[
'headers' => [
'Content-Type' => 'application/json',
'Accept' => 'application/json',
'CRYPTOCOMMERCE' => 'encode base64 api_key',
],
'json' => [
'amount' => 0.2,
'asset' => 'BNB',
'source_account' => '158694478696',
'destination_account' => '14523658796',
],
]
);
$body = $response->getBody();
print_r(json_decode((string) $body));
Example response (200):
{
"data": "عملیات انتقال با موفقیت انجام گردید و رسید آن برای ایمیل شما ارسال گردید."
}
Example response (400):
{
"message": "موجودی شما به اندازه کافی برای این انتقال نمی باشد."
}
Example response (400):
{
"message": "موجودی شما فاقد این رمز ارز می باشد."
}
Example response (400):
{
"message": "شماره حساب مبدا وارد شده موجود نمی باشد."
}
Example response (400):
{
"message": "شماره حساب مقصد وارد شده موجود نمی باشد."
}
Example response (400):
{
"message": "مقدار انتقال را معتبر نیست."
}
Example response (400):
{
"message": "حساب مقصد و مبدا الزامی است."
}
Example response (400):
{
"message": "ای پی شما در لیست آی پی های معتبر قرار ندارد."
}
Example response (401):
{
"message": "اجازه دسترسی شما معتبر نمی باشد."
}
Example response (402):
{
"message": "موجودی حساب شما کافی نیست."
}
Example response (404):
{
"message": "رابط برنامه نویس درخواستی شما موجود نمی باشد."
}
HTTP Request
POST api/v2/withdraw/transitional
Body Parameters
Parameter | Type | Status | Description |
---|---|---|---|
amount |
float | required | . |
asset |
string | required | . |
source_account |
string | required | . |
destination_account |
string | required | . |