Moonbase Docs

Get product trades

Get a list the latest trades for a product

GET
/products/{product_id}/trades
NOVA-KEY<token>

In: header

NOVA-SECRET<token>

In: header

Path Parameters

product_idstring

Query Parameters

start_time?string

(optional) start timestamp in nanoseconds for filtering data

Formatuint64
end_time?string

(optional) end timestamp in nanoseconds for filtering data

Formatuint64
page?string

Page number, default to 1 if not provided. Note: Page number starts at 1

Formatint64
limit?string

Number of records per page, default to 100

Formatint64

Response Body

application/json

application/json

curl -X GET "https://api.moonbase.vn/products/string/trades"
{
  "trades": [
    {
      "id": "string",
      "maker_side": "BUY",
      "price": "string",
      "size": "string",
      "quote_size": "string",
      "created_at": "string"
    }
  ]
}
{
  "code": 0,
  "message": "string",
  "details": [
    {
      "@type": "string",
      "property1": null,
      "property2": null
    }
  ]
}