Trade Transactions

Learn how to fetch data on CoinAPI for trade transactions.

The trades endpoint

We use the trades endpoint to get data related to the several executed trade transactions on different exchanges. This data is also known as the matched orders or active data.

The taker/aggressor side of a transaction

A taker or aggressor of a transaction is a trader who initiates a trade transaction with an at-market ask/bid price. This removes liquidityLiquidity is the efficiency with which we can turn an asset into ready money without affecting the asset's market price. from the marketplace. A taker can be a buyer or seller. The following table defines the different taker values supported on CoinAPI:

Taker Side Values

taker_side

Description

BUY

In this case, the exchange reported and confirmed that the transaction aggressor was the buyer.

SELL

In this case, the exchange reported and confirmed that the transaction aggressor was the seller.

BUY_ESTIMATED

In this case, the exchange couldn't report who the transaction aggressor was, but it was estimated to most likely be the buyer.

SELL_ESTIMATED

In this case, the exchange couldn't report who the transaction aggressor was, but it was estimated to most likely be the seller.

UNKNOWN

In this case, neither the exchange was able to report about the transaction aggressor nor was CoinAPI able to estimate who the transaction aggressor was.

Response

...