Skip to main content
GET
List trades

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

X-Request-Signature
string
header
required

ES256 signature over the canonical request, paired with the bearer JWT nonce.

Headers

X-App-Mode
string

Selects the environment on api.openfx.com. Omit this header or send SANDBOX to use Sandbox. Send LIVE for Live requests. Use an API key for the selected environment. See Environments.

Example:

"SANDBOX"

X-Request-Id
string

Your own correlation id for this request, returned on the response exactly as you sent it.

Optional. Where you send none the response omits it, and the X-Trace-Id response header is the handle to correlate on instead.

Example:

"9f2c1b7e-4d3a-4f81-9c2e-6b0a5d7e1f34"

Query Parameters

limit
integer
default:25

Page size. Default 25, max 100.

See Pagination for the cursors, the order, and the edge cases.

Required range: 1 <= x <= 100
startingAfter
string

Opaque cursor: return the items after it, which is the older page. Mutually exclusive with endingBefore.

endingBefore
string

Opaque cursor: return the items before it, which is the newer page. Mutually exclusive with startingAfter.

Response

success

A paginated collection of trade resources.

data
object[]
required

The requested resource, collection, or aggregate.

pagination
object
required

Cursor navigation and the effective page size for this response.