Skip to main content
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>",
      "route": "JAM",
      "gasless": true,
      "volumeUsd": 123,
      "gasFeeUsd": 123,
      "partnerFeeNative": "<string>",
      "partnerFeeBps": "<string>"
    }
  ],
  "metadata": {
    "timestamp": "<string>",
    "tokens": {},
    "results": 123
  },
  "nextAvailableTimestamp": "<string>"
}

Headers

source-auth
string | null

Authenticated source key

Query Parameters

wallet_address
string | null

Wallet address for which to fetch trade history

source
string | null

Source of the trades

start
integer
required

Start date for trades (UNIX timestamp in nanoseconds)

end
integer
required

End date for trades (UNIX timestamp in nanoseconds)

size
integer
default:500

Number of entries returned per chain

Response

Successful Response

results
TradeDetailsResponse · object[]
required
metadata
HistoryMetadata · object
required
nextAvailableTimestamp
string | null