Sample Response: https://daxsta.com/api/?apifunction=movers&apimode=30d&apiorder=desc&apilimit=50&apiexclude=true&apikey=your_key
The Daxsta API has 6 main controls for data retrieval:
Control | Description |
---|---|
apifunction | Function: Specifies the desired dataset to be retrieved. |
apimode | Mode: Determines the data mode for the function. |
apiorder | Order: Defines the sort order for the dataset (most often either ascending or descending). |
apilimit | Limit: Sets the limit for the number of results in the dataset. |
apiexclude | Exclude: Option to exclude stable coins and wrapped assets from the dataset. |
apikey | Key: User-provided API key for accessing advanced functions. Contact support@daxsta.com |
Response
The API returns a JSON object with the following properties:
JSON Property | Description |
---|---|
daxsta_says | Human-readable API message, useful for debugging. |
updated | Timestamp indicating the last update of the data. |
data | The main API data, containing the requested information |
1. API Function
apifunction=[function]
To retrieve useful API data, you must first specify a function from the options below:
Function | Description | Modes |
---|---|---|
market | Market list | Start limit. Ex. apimode=0 would start on the 1st item in the list. |
movers | Large price movements | 24h, 7d, 14d, 30d |
ranks* | Top ranking assets | market_cap, total_volume, ath_change, market_cap |
volume* | Volume vs. supply metrics | market_cap, volume, circulating_supply, total_supply, price_change |
supply* | Circulating supply metrics | percent, total_supply |
range* | Volatility range metrics | market_cap, total_volume_daily_range |
global | Global market statistics. | None. |
flipindex* | The Flippening Index. | None. |
alts* | Altseason index and status | None. See additional properties table. |
articles | Articles and insights | Coming soon… |
alts Additional JSON Property | Description |
---|---|
avgGain | Average Alt Season Index Gain in % |
btcPerf | BTC 30D Performance in % |
altVerdict | Is it altseason? |
altPerf | Number of assets outperforming BTC |
lcMoves | Large Cap Moves vs. BTC |
2. API Mode
apimode=[option]
The API mode serves as a filter to refine the data within a particular function. When no mode is specified, the default mode for the function will be used. Consult the Functions section to see the available modes for each function.
3. Order
apiorder=[asc,desc]
The order parameter allows you to sort the data within the dataset either in ascending or descending order. Please note that the sort order may be the reverse of what you expect, depending on the type of data being retrieved.
4. Limit
apilimit=[num]
The limit parameter allows you to specify the amount of data you want to retrieve in the API dataset. By default, a limited number of results will be returned. To retrieve a larger amount of data, an API key is required.
5. Exclude
apiexclude=[true]
The exclude feature enables you to remove stable coins and wrapped assets from the dataset. This can be achieved by adding the apiexclude tag to the API call.
6. Key
apikey=[api_key]
The API key is a user-supplied identifier that is required to access advanced API functions and increased rate limits. Without an API key, certain functions may be limited in their capabilities.