Get active orders:
GET /orders
Request parameters:
Parameter | Type | Description |
---|---|---|
pair_id | integer | Pair ID |
per_page |
integer
min: 10,
max: 100
|
Orders count
By default, is 50
|
page | integer | Page number |
Example response:
[
{
"id": 71986208,
"type": "limit",
"side": "sell",
"price": "0.01295000",
"status": "active",
"full_size": "8000.00000000",
"left_size": "8000.00000000",
"full_amount": "103.60000000",
"left_amount": "103.60000000",
"pair": {
"id": 129,
"base": {
"id": 37,
"name": "S",
"description": "Utility token by Sharpay\r\nSharpay is a new share and multi-share button for websites with blockchain-based rewards of content promotion for users."
},
"quote": {
"id": 2,
"name": "USD",
"description": "Dollar"
},
"exchange_url": "https:\/\/simex.global\/en\/exchange\/s\/usd"
}
},
{
"id": 71986588,
"type": "limit",
"side": "sell",
"price": "0.06975940",
"status": "active",
"full_size": "6526.22447893",
"left_size": "6526.22447893",
"full_amount": "455.26550391",
"left_amount": "455.26550391",
"pair": {
"id": 121,
"base": {
"id": 35,
"name": "MLC",
"description": "The MallCoin token (MLC) has an ERC-20 standard. As part of the project, it is positioned as a means of paying for paid platform services. In addition, users of MLC tokens will be able to make purchases directly to FLOGmall."
},
"quote": {
"id": 2,
"name": "USD",
"description": "Dollar"
},
"exchange_url": "https:\/\/simex.global\/en\/exchange\/mlc\/usd"
}
},
{
"id": 71987395,
"type": "limit",
"side": "sell",
"price": "0.06975938",
"status": "active",
"full_size": "4573.00000000",
"left_size": "4573.00000000",
"full_amount": "319.00964474",
"left_amount": "319.00964474",
"pair": {
"id": 121,
"base": {
"id": 35,
"name": "MLC",
"description": "The MallCoin token (MLC) has an ERC-20 standard. As part of the project, it is positioned as a means of paying for paid platform services. In addition, users of MLC tokens will be able to make purchases directly to FLOGmall."
},
"quote": {
"id": 2,
"name": "USD",
"description": "Dollar"
},
"exchange_url": "https:\/\/simex.global\/en\/exchange\/mlc\/usd"
}
}
]
GET /orders/{id}
Example response:
{
"id": 74211695,
"type": "limit",
"side": "buy",
"price": "0.00001100",
"status": "completed",
"full_size": "780000.00000000",
"left_size": "0.00000000",
"full_amount": "8.58000000",
"left_amount": "0.00000000",
"pair": {
"id": 129,
"base": {
"id": 37,
"name": "S",
"description": "Utility token by Sharpay\r\nSharpay is a new share and multi-share button for websites with blockchain-based rewards of content promotion for users."
},
"quote": {
"id": 2,
"name": "USD",
"description": "Dollar"
},
"exchange_url": "https:\/\/simex.global\/en\/exchange\/s\/usd"
}
}
POST /orders
Request parameters:
Parameter | Type | Description |
---|---|---|
pair_id * | integer | Pair ID |
side * | string |
Order type
buy, sell
|
size * | numeric | Order value |
price * | numeric | Order price |
Example response:
{
"id": 74211695,
"type": "limit",
"side": "buy",
"price": "0.00001100",
"status": "completed",
"full_size": "780000.00000000",
"left_size": "0.00000000",
"full_amount": "8.58000000",
"left_amount": "0.00000000",
"pair": {
"id": 129,
"base": {
"id": 37,
"name": "S",
"description": "Utility token by Sharpay\r\nSharpay is a new share and multi-share button for websites with blockchain-based rewards of content promotion for users."
},
"quote": {
"id": 2,
"name": "USD",
"description": "Dollar"
},
"exchange_url": "https:\/\/simex.global\/en\/exchange\/s\/usd"
}
}
DELETE /orders/{id}
Example response:
{
"id": 74211695,
"type": "limit",
"side": "buy",
"price": "0.00001100",
"status": "completed",
"full_size": "780000.00000000",
"left_size": "0.00000000",
"full_amount": "8.58000000",
"left_amount": "0.00000000",
"pair": {
"id": 129,
"base": {
"id": 37,
"name": "S",
"description": "Utility token by Sharpay\r\nSharpay is a new share and multi-share button for websites with blockchain-based rewards of content promotion for users."
},
"quote": {
"id": 2,
"name": "USD",
"description": "Dollar"
},
"exchange_url": "https:\/\/simex.global\/en\/exchange\/s\/usd"
}
}
back
next