For the complete documentation index, see llms.txt. Markdown versions of the documentation pages are available from that index.
solscan logo
Register NowRegister Now

defi activity analytics

get

https://public-api-dev.solscan.io/analytics/dex/activity

Retrieve daily network DEX/DeFi activity, including trade count, trader count, trading volume in USD, and the number of active DEX platforms, over a given time range.

QUERY PARAMS

range

number

Time range in days for the data to be returned, counting back from today. Will be overrided by from_date and to_date if provided.

from_date

number

Used when you want to filter data by time. Format time: YYYYMMDD. You need to pass array into http query to filter by start and end time. Example: ?from_date=20260701&to_date=20260715

to_date

number

Used when you want to filter data by time. Format time: YYYYMMDD. You need to pass array into http query to filter by start and end time. Example: ?from_date=20260701&to_date=20260715

RESPONSES

200

OK

Response Body ()

success

boolean

Request status

updated_time

number

Unix timestamp (in seconds) of when this response was generated

lag_days

number

Number of days by which the underlying data lags behind real time

block_date

string

Date of the data point, formatted as YYYY-MM-DD

block_time

number

Unix timestamp (in seconds) of block_date

trade_count

number

Number of trades executed across DEX platforms on this date

trader_count

number

Number of unique traders active across DEX platforms on this date

volume_usd

number

Total trading volume across DEX platforms on this date, denominated in USD

active_dex_count

number

Number of distinct DEX platform and source combinations active on this date

400

Bad Request

Response Body ()

429

Too Many Requests

Response Body ()

500

Internal Server Error

Response Body ()

icon

Javascript

icon

Python

icon

Shell

icon

Go

icon

C#

Authorization

Response

Click Try It! to start a request and see the response here!

Response Examples