API Reference

Get OPT order history

Weight: 5

Request Parameters

PARAMETER

TYPE

Req'd

DESCRIPTION

startTime

LONG

Y

Start timestamp

endTime

LONG

Y

End timestamp

orderId

STRING

OPT Order ID

source

STRING

Automatic/Manual

pages

INTEGER

Enter integers 1 or 2, default to 1

limit

INTEGER

Limit of record
Default: 500, Max: 1000

timestamp

LONG

Y

Response content

PARAMETER

TYPE

Example values

DESCRIPTION

orderId

STRING

SWAP509692083805077504

OPT Order ID

buyAmount

STRING (decimal)

99999

Buy Amount

buyAsset

STRING

USD

Buy Asset

sellAmount

STRING (decimal)

100000

Sell Amount

sellAsset

STRING

USDT

Sell Asset

price

STRING (decimal)

1.11111111

Price

source

STRING

Automatic

Automatic order
Manual order

status

STRING

Succeeded

"Processing"
"Succeeded"
"Failed"

updateTime

STRING

2025-04-10 12:52:42

Last Updated Time

Language
Credentials
Header
Click Try It! to start a request and see the response here!