GET
/
1
/
wallet
/
trades
Get Wallet Trades
curl --request GET \
  --url https://explorer-api.mobula.io/api/1/wallet/trades
{
  "data": [
    {
      "chain_id": "<string>",
      "swap_type": "<string>",
      "raw_amount0": "<string>",
      "raw_amount1": "<string>",
      "amount0": 123,
      "amount1": 123,
      "ratio": 123,
      "price_usd_token0": 123,
      "price_usd_token1": 123,
      "date": "<string>",
      "amount_usd": 123,
      "pool_address": "<string>",
      "token0_address": "<string>",
      "token1_address": "<string>",
      "transaction_sender_address": "<string>",
      "transaction_hash": "<string>",
      "base": "<string>",
      "quote": "<string>",
      "side": "<string>",
      "amount_quote": 123,
      "amount_base": 123
    }
  ]
}

Query Details

  • You must provide either the wallet parameter or the wallets parameter.
ParameterRequiredDescription
walletCond.Single wallet address to query trades for.
walletsCond.Comma-separated list of wallet addresses to query trades for.
fromCond.Start timestamp for trade filtering (Unix ms or ISO 8601).
toCond.End timestamp for trade filtering (Unix ms or ISO 8601).
limitCond.Number of results per page (default varies).
offsetCond.Offset for pagination.
pageCond.Page number for pagination.
orderCond.Sort order: asc or desc (default desc).

Usage Examples

  • Query trades for a single wallet with limit and order:
curl -X GET "https://explorer-api.mobula.io/api/1/wallet/trades?wallet=0x1234abcd5678efgh&limit=10&order=desc"
  • Query Trades for Multiple Wallets with Limit and Descending Order
curl -X GET "explorer-api.mobula.io/api/1/wallet/trades?wallets=0xaF88370abD82EC6943cdB3D4ec7b764B92c35B43&limit=10&order=desc"

Query Parameters

limit
string
default:100
offset
string
default:0
page
string
default:1
order
string
wallet
string
wallets
string
from
string
to
string

Response

200 - application/json

Wallet Trades response

The response is of type object.