Get orders:

GET /trades

Request parameters:

Parameter Type Description
pair_id * integer Pair ID
from_date datetime
ISO 8601
From date
By default is a day ago
to_date datetime
ISO 8601
To date
By default is the current time
per_page integer
min: 10, max: 100
Trades count
By default is 100
page integer Page number

Example response:

[
    {
        "id": 1,
        "side": "sell",
        "price": "219500.00000000",
        "size": "0.00100000",
        "amount": "219.50000000",
        "created_at": "2017-09-25T19:21:44+00:00"
    },
    {
        "id": 2,
        "side": "sell",
        "price": "219890.00000000",
        "size": "0.00200000",
        "amount": "439.78000000",
        "created_at": "2017-09-25T19:21:56+00:00"
    },
    {
        "id": 3,
        "side": "buy",
        "price": "218650.00000000",
        "size": "0.00500000",
        "amount": "1093.25000000",
        "created_at": "2017-09-25T19:26:36+00:00"
    }
]

back