curl --request GET \
--url https://api-testnet.mayybee.com/api/markets/{marketId}/trades[
{
"id": "trade_1704067200_xyz789",
"marketId": "jd7ay8vzqtcsyj48zyapp6aa9h7yfq2d",
"tokenId": "25930605474857043641926317989588861972412542680030529942514995269236952683597",
"price": 52,
"size": "10000000000000000000",
"buyer": "0xBuyer...",
"seller": "0xSeller...",
"timestamp": 1704067200000,
"txHash": "0xabc..."
}
]Retrieve the most recent trades for a market. Trades are stored in Redis and limited to the last N trades.
curl --request GET \
--url https://api-testnet.mayybee.com/api/markets/{marketId}/trades[
{
"id": "trade_1704067200_xyz789",
"marketId": "jd7ay8vzqtcsyj48zyapp6aa9h7yfq2d",
"tokenId": "25930605474857043641926317989588861972412542680030529942514995269236952683597",
"price": 52,
"size": "10000000000000000000",
"buyer": "0xBuyer...",
"seller": "0xSeller...",
"timestamp": 1704067200000,
"txHash": "0xabc..."
}
]Market identifier
Maximum number of trades to return (default: 50)
1 <= x <= 100Array of recent trades
Unique trade identifier in format trade_{timestamp}_{random}.
"trade_1704067200_xyz789"
Market identifier where this trade occurred.
ERC1155 token ID that was traded (YES or NO token).
Execution price in cents (1-99). The price at which the trade was matched.
Trade size in wei (18 decimals). Amount of tokens exchanged.
Wallet address of the buyer (the one who placed the BUY order).
Wallet address of the seller (the one who placed the SELL order).
Unix timestamp (milliseconds) when the trade was executed.
Blockchain transaction hash if trade was settled on-chain. May be null for pending trades.