Get orders:

GET /trades

Request parameters:

Parameter Type Description
pair_id integer Pair ID

Example response:

[
    {
        "id": 1,
        "side": "sell",
        "price": "219500.00000000",
        "full_size": "0.00100000",
        "fee_size": "0.00000200",
        "clean_size": "0.00099800",
        "full_amount": "219.50000000",
        "fee_amount": "0.43900000",
        "clean_amount": "219.06100000",
        "created_at": "2017-09-25 19:21:44",
        "pair": {
            "id": 2,
            "base": {
                "id": 4,
                "name": "BTC",
                "description": "Bitcoin"
            },
            "quote": {
                "id": 1,
                "name": "RUB",
                "description": "Ruble"
            },
            "exchange_url": "https:\/\/simex.global\/en\/exchange\/btc\/rub"
        }
    },
    {
        "id": 2,
        "side": "sell",
        "price": "219890.00000000",
        "full_size": "0.00200000",
        "fee_size": "0.00000400",
        "clean_size": "0.00199600",
        "full_amount": "439.78000000",
        "fee_amount": "0.87956000",
        "clean_amount": "438.90044000",
        "created_at": "2017-09-25 19:21:56",
        "pair": {
            "id": 2,
            "base": {
                "id": 4,
                "name": "BTC",
                "description": "Bitcoin"
            },
            "quote": {
                "id": 1,
                "name": "RUB",
                "description": "Ruble"
            },
            "exchange_url": "https:\/\/simex.global\/en\/exchange\/btc\/rub"
        }
    },
    {
        "id": 3,
        "side": "buy",
        "price": "218650.00000000",
        "full_size": "0.00500000",
        "fee_size": "0.00001000",
        "clean_size": "0.00499000",
        "full_amount": "1093.25000000",
        "fee_amount": "2.18650000",
        "clean_amount": "1091.06350000",
        "created_at": "2017-09-25 19:26:36",
        "pair": {
            "id": 2,
            "base": {
                "id": 4,
                "name": "BTC",
                "description": "Bitcoin"
            },
            "quote": {
                "id": 1,
                "name": "RUB",
                "description": "Ruble"
            },
            "exchange_url": "https:\/\/simex.global\/en\/exchange\/btc\/rub"
        }
    }
]

back