v1

latestOpenAPI 3.1.02026-07-24320172.9 KB

Retrieve all Trades

get/api/trade/v2.0/trades

Path parameters

versionstring required

The current version of BaaSiC API

Query parameters

pageSizeinteger

The quantity of responses per page

pageNumberinteger

Which response page should be returned

idstring

The document Id persisted in the database, returned in this endpoint.

taxIdstring

Unique tax identification. Is different for each country

beginDatestring date

Begin date to get a range of transactions. BeginDate must be in one of the following formats: YYYY-MM-dd'T'HH:mm:ss or YYYY-MM-dd HH:mm:sszzz

endDatestring date

End date to get a range transactions. EndDate must be in the one of the following formats: YYYY-MM-dd'T'HH:mm:ss or YYYY-MM-dd HH:mm:sszzz

side'Buy' | 'Sell'

The direction you want to convert the currency when the quote is generated

priceNetnumber double

The amount bought or sold depending of the direction decided in the quote creation

quoteIdstring

Unique quote identifier provided on the quote creation. If provided will only return one result

baseCurrencystring

The currency to operate with, provided by its acronym

baseCurrencySizenumber double

The comparative value used to measure the target quoteCurrency. If this property is filled, the quoteCurrencySize must be set to zero, according with If you are selling or buying.

quoteCurrencystring

The currency to compare with the base currency, provide by its acronym

quoteCurrencySizenumber double

The comparative value used to measure the target baseCurrency. If this property is filled, the baseCurrencySize must be set to zero, according with If you are selling or buying

accountIdBasestring

Account identification corresponding with the base currency used in the request Quote endpoint.

accountIdQuotestring

Account identification corresponding with the quote currency used in the request Quote endpoint.

Headers

Authorizationstring required

The personal authentication token obtained by each user from the token authentication endpoint

Response

200

object required