Get trades for a market
Get trades for a market
GET
/
markets
/
{market_address}
/
trades
curl --request GET \
--url https://api-testnet.gte.xyz/v1/markets/{market_address}/trades
{
"trades": [
{
"timestamp": 123,
"transactionHash": "<string>",
"maker": "<string>",
"taker": "<string>",
"price": 123,
"size": 123,
"side": "buy"
}
],
"total": 123
}
Path Parameters
Query Parameters
Required range:
1 <= x <= 1000
Required range:
x >= 0
Response
200
application/json
List of trades
Timestamp of the trade in milliseconds
Transaction hash of the trade
EVM address of the maker
EVM address of the taker
Price of the trade (parsed with decimals in quote asset)
Size of the trade (in base asset)
Side of the trade by the taker
Available options:
buy
, sell
curl --request GET \
--url https://api-testnet.gte.xyz/v1/markets/{market_address}/trades
{
"trades": [
{
"timestamp": 123,
"transactionHash": "<string>",
"maker": "<string>",
"taker": "<string>",
"price": 123,
"size": 123,
"side": "buy"
}
],
"total": 123
}