Skip to main content
GET
List an account's trades

Authorizations

Authorization
string
header
required

Authorization: Bearer <key>. Sandbox keys start with mgw_test_ and live keys start with mgw_live_. Each key works only in its own environment, and a live key works only from the IP addresses or ranges registered for it.

Scopes

read

Path Parameters

account
string
required

One of your account codes, from GET /v1/accounts. An account code. Case-insensitive on input, and returned in uppercase.

Pattern: ^[A-Za-z0-9]{1,64}$

Query Parameters

from
string<date>

The first trade date, in West Africa Time (WAT). Defaults to 30 days before to. Can't be after to.

to
string<date>

The last trade date, in West Africa Time (WAT). Defaults to today. Can't be after today.

Response

All trades in the range.

Always the complete list.

object
string
required
Allowed value: "list"
has_more
boolean
required

Always false: every item comes in one response.

next_cursor
null
required

Always null: the list is complete.

data
object[]
required

Every one of the trades.