GET api/v2/exchanges

General information about endpoints

InformationDescription

Description

Lists exchanges with optional filters.

Route

GET api/v2/exchanges

Permissions

Private

Request Parameters:

Parameter

Type

Required

Description

page

integer

No

Pagination page number

per_page

integer

No

Number of items per page

input_asset

string

Optional

Identifier of the input asset

output_asset

string

Optional

Identifier of the output asset

state

string

Optional

Filter by status

from

date

Optional

Filter by start date

to

date

Optional

Filter by end date

sort

string

Optional

Sort order (asc or desc)

sort_by

string

Optional

Sort by specified field

Response:

{
"total_count" : 25,
"per_page" : 2,
"total_pages" : 13,
"page" : 1,
"prev_page" : ,
"next_page" : 2,
"items" : [
{
"amount" : 0.00072279,
"created" : 20240219T23:36:25.421Z,
"currency" : btceur,
"executed" : 1.0,
"input_currency_id" : btc,
"output_amount" : 34.0,
"output_currency_id" : eur,
"state" : done,
"uuid" : 230567216545007490
},
{
"amount" : 10.0,
"created" : 20240219T23:33:13.281Z,
"currency" : eurbtc,
"executed" : 1.0,
"input_currency_id" : eur,
"output_amount" : 0.000208,
"output_currency_id" : btc,
"state" : done,
"uuid" : 230567216545007428
}
]
}