Trades
curl --request GET \
--url https://api.bebop.xyz/history/v2/trades{
"results": [
{
"chain_id": 123,
"txHash": "<string>",
"status": "<string>",
"type": "<string>",
"taker": "<string>",
"receiver": "<string>",
"sellTokens": {},
"buyTokens": {},
"timestamp": "<string>",
"gasless": true,
"volumeUsd": 123,
"gasFeeUsd": 123,
"partnerFeeNative": "<string>",
"partnerFeeBps": "<string>"
}
],
"metadata": {
"timestamp": "<string>",
"tokens": {},
"results": 123
},
"nextAvailableTimestamp": "<string>"
}API Reference
Trades
Retrieve trade history for a wallet address or partner source within a given time range. Returns trade details with token metadata and pricing.
GET
/
v2
/
trades
Trades
curl --request GET \
--url https://api.bebop.xyz/history/v2/trades{
"results": [
{
"chain_id": 123,
"txHash": "<string>",
"status": "<string>",
"type": "<string>",
"taker": "<string>",
"receiver": "<string>",
"sellTokens": {},
"buyTokens": {},
"timestamp": "<string>",
"gasless": true,
"volumeUsd": 123,
"gasFeeUsd": 123,
"partnerFeeNative": "<string>",
"partnerFeeBps": "<string>"
}
],
"metadata": {
"timestamp": "<string>",
"tokens": {},
"results": 123
},
"nextAvailableTimestamp": "<string>"
}Headers
Authenticated source key
Query Parameters
Wallet address for which to fetch trade history
Source of the trades
Start date for trades (UNIX timestamp in nanoseconds)
End date for trades (UNIX timestamp in nanoseconds)
Number of entries returned per chain
Was this page helpful?
⌘I