Retrieve Coin Trades

Retrieve a paginated list of coin swap transactions from the decentralized exchange (DEX). Each record contains detailed information about the swap.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
📘

Supported on Sui Mainnet.

🚧

The Indexing API on Sui is currently exclusively available to Pro Members. Non-Pro members can also enjoy a trial period with an allocation of 30 free calls. If you're interested, please register directly through here. Please note that the API Key can also be used for your RPC endpoint.

Parameter

  • coinType, string- the cointype for the coin to get the information from SuiVision coin page.
  • sender, string, - Address of the trade sender.
  • type, string, - trade type or action descriptor (e.g., "buy,sell").
  • cursor, string - next page cursor.
  • limit, integer - the maximum number of results to return per page. Defaults to 20, maximum is 50.
  • ascendingOrder, boolean - query result ordering, default to false (descending order), newest record first.

Response

  • data, array - A list of swap transaction records.

    • type, string - Type of swap transaction, either buy,sell, add,remove.
    • txDigest, string - The transaction hash (digest) on the blockchain.
    • timestamp, integer - Unix timestamp in milliseconds when the transaction occurred.
    • sender, string - Wallet address of the user who initiated the swap.
    • dex, string - Name of the DEX where the swap took place (e.g., "momentum").
    • poolId, string - Identifier of the liquidity pool used for the swap.
    • coinChanges, array object - List of token transfer changes involved in the swap.
      • amount, string - Raw integer amount of the token (on-chain format, no decimals applied).
      • coinType, string - Full type string of the token (Sui coin type format).
      • balance, string - Human-readable balance after applying decimals (e.g., "0.295757").
      • logo, string - URL to the token's logo image.
      • symbol, string - Token symbol (e.g., "SUI", "WAL").
      • decimals, integer - Number of decimals used by the token.
    • price, string - The effective price of the trade (quote/base), calculated from token amounts.
    • usdValue, string - Total USD value of the trade, calculated using token price feeds.
  • nextPageCursor, string - Cursor used for paginating to the next page of results.

Query Params
string
required
Defaults to 0xdeeb7a4662eec9f2f3def03fb937a663dddaa2e215b8078a284d026b7946c270::deep::DEEP
string
Defaults to 0xf2225be303bc50fa42c918a0323bc4a8c8118a5f315c6c7f7180228bb203860e
string
Defaults to buy

add,remove,buy,sell

string
integer
Defaults to 20
string
Defaults to false

query result ordering, default to false (descending order), newest record first.

Response

Language
Credentials
Header
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json