For the complete documentation index, see llms.txt. Markdown versions of the documentation pages are available from that index.

Introducing Build with AI: Connect your agents to reliable onchain data with more than 50+ tools cover all tokens to wallets on Solana via MCP, CLI, and Skills. Learn How

program analytics

gethttps://pro-api.solscan.io/v2.0/program/analytics

Retrieve comprehensive on-chain analytics for any Solana program. This endpoint provides detailed program-level statistics, including the number of transactions, successful transactions, total interaction volume, and the count of instruction calls.

Query parameters

address

string

required

A program address on the Solana blockchain.

range

number

Time range in days for the data/statistics to be returned.

Responses

200

OK

Response Body (application/json)

success

boolean

Request status

num_trans

number

Total transactions in range

num_trans_success

number

Total success transactions in range

interaction_volume

number

Total interaction volume in range

last_24h_active_users

number

Number of active users in the last 24 hours

active_users_change_24

number

24-hour active users change compared to the previous day (in percent)

data

object

400

Bad Request

Response Body (application/json)

401

Authentication failed

Response Body (application/json)

429

Too Many Requests

Response Body (application/json)

500

Internal Server Error

Response Body (application/json)

Authentication

Response

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

Response examples