get https://api.klarda.com/api/v1/market/token/onchain/cex-flow
The Get Token Onchain Swap Counts by Pair Address API allows you to easily fetch the token onchain swap counts
Definition
This endpoint retrieves data on the flow of tokens to and from Centralized Exchanges (CEXs) over a specified duration. Users can filter and sort the data based on various criteria and manage the results through pagination.
Query Parameters
For guidance on how to leverage this method, check out the following tutorials:
- duration (string): The duration over which to retrieve the CEX flow data, such as '6H' for 6 hours.
- sort_by (string): The field by which to sort the results. Acceptable values include 'buy', 'sell', etc.
- sort_order (string): The order in which to sort the results. Acceptable values are 'asc' for ascending and 'desc' for descending. Default is 'asc'.
- page (int): The page number for paginated results. Default value is 1.
- limit (int): The maximum number of records to return per page. Default value is 10.
Response
The response will include a JSON object containing data on the flow of tokens to and from centralized exchanges. This may include details such as the token's volume, timestamps, and other relevant metrics.