Get Token Onchain CEX Flow Data

The Get Token Onchain Swap Counts by Pair Address API allows you to easily fetch the token onchain swap counts

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

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:

  1. duration (string): The duration over which to retrieve the CEX flow data, such as '6H' for 6 hours.
  2. sort_by (string): The field by which to sort the results. Acceptable values include 'buy', 'sell', etc.
  3. sort_order (string): The order in which to sort the results. Acceptable values are 'asc' for ascending and 'desc' for descending. Default is 'asc'.
  4. page (int): The page number for paginated results. Default value is 1.
  5. 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.

Query Params
string
required
Defaults to 6H

String - specify the duration for which you want the data to remain relevant or accessible. Can be one of the following: "6H" and "24H" (more will be added in the future). Default to "24H"

string
Defaults to buy

String - Specify the field by which users want the results to be sorted. Can be one of the following: "deposit", "withdraw" and "net". Default to "deposit".

string
Defaults to asc

String - Whether to return results in ascending (asc) or descending (desc) order. Ascending order is from oldest to newest transactions, descending order is from newest to oldest. Defaults to desc.

int32
Defaults to 1

Int - Defines the page number of the results to be retrieved from a paginated dataset. Default to 1.

int32
Defaults to 10

Int - Defines the maximum number of items to be returned per page in a paginated dataset. Default to 10.

Responses

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