Skip to main content
GET
Trade history

Authorizations

X-API-Key
string
header
required

API key generated at Dashboard, Settings, Developer. Format: doji_ak_...

X-API-Secret
string
header
required

API secret returned once at key creation. Format: doji_sk_...

Path Parameters

account_id
string<uuid>
required

UUID of the account. Must be owned by the authenticated user.

Query Parameters

from
string<date-time>

ISO 8601 start timestamp (inclusive).

to
string<date-time>

ISO 8601 end timestamp (inclusive).

limit
integer

Number of results to return (capped per endpoint).

Response

List of trade fills.

id
string

Trade fill ID.

symbol
string
side
enum<string>
Available options:
BUY,
SELL
quantity
number
price
number

Fill price.

timestamp
string<date-time>