GET
/
markets
/
{market_address}
/
trades
Get trades for a market
curl --request GET \
  --url https://api-testnet.gte.xyz/v1/markets/{market_address}/trades
[
  {
    "marketAddress": "<string>",
    "timestamp": 123,
    "txnHash": "<string>",
    "maker": "<string>",
    "taker": "<string>",
    "price": "<string>",
    "size": "<string>",
    "side": "buy"
  }
]

Path Parameters

market_address
string
required

EVM address

Query Parameters

limit
integer
default:100
Required range: 1 <= x <= 1000
offset
integer
default:0
Required range: x >= 0

Response

200
application/json

List of trades

marketAddress
string
required

EVM address of the market

timestamp
integer
required

Timestamp of the trade in milliseconds

txnHash
string
required

Transaction hash of the trade

maker
string
required

EVM address of the maker

taker
string
required

EVM address of the taker

price
string
required

Price of the trade in quote tokens

size
string
required

Size of the trade in base tokens

side
enum<string>
required

Side of the trade by the taker

Available options:
buy,
sell