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": 10,
        "side": "buy",
        "price": "0.0001",
        "size": "10",
        "amount": "0.001",
        "created_at": "2024-08-19T21:51:53+00:00"
    },
    {
        "id": 17,
        "side": "buy",
        "price": "0.0001",
        "size": "10",
        "amount": "0.001",
        "created_at": "2024-08-24T10:42:54+00:00"
    },
    {
        "id": 14,
        "side": "buy",
        "price": "0.0001",
        "size": "10",
        "amount": "0.001",
        "created_at": "2024-08-20T12:49:37+00:00"
    }
]

back