API Reference
SupaScan API Overview
SupaScan provides comprehensive access to Solana blockchain data through multiple interfaces:
- REST API - Standard HTTP endpoints for common queries
- SQL API - Direct ClickHouse queries for advanced analytics
- Webhook API - Real-time notifications for token events
- Custom Endpoints - Specialized analytics and market data
Authentication
All API requests require authentication via API key:
API keys can be generated in the SupaScan portal under API Keys section.
Base URL
REST API Endpoints
Transaction Data
Get Transaction Details
Response:
Get Transactions by Wallet
Query Parameters:
limit(optional): Number of transactions to return (max 100)offset(optional): Number of transactions to skipfrom(optional): Start timestampto(optional): End timestamp
Token Data
Get Token Information
Response:
Get Token Transfers
Response:
SQL API (ClickHouse Direct Access)
Execute SQL Query
Response:
Common SQL Queries
Most Liquid Tokens (24h)
Most Active Wallets (7 days)
Token Creation Events
DEX Volume by Protocol
Custom Analytics Endpoints
DEX Fees by Protocol
Get Current Fees
Query Parameters:
protocol: meteora, raydium, pumpfun, jupiter, oriontimeframe: 1h, 24h, 7d, 30d
Response:
Most Liquid Tokens
Get Top Tokens by Volume
Response:
Most Active Wallets
Get Top Wallets by Activity
Query Parameters:
period: 1h, 24h, 7d, 30dmetric: transactions, volume, fees, unique_tokenslimit: Number of results (max 1000)
Response:
Token Deployer Analysis
Get Top Deployers
Response:
Webhook API
Token Creation Alerts
Create Token Alert
Response:
Webhook Payload Example
When a token matching your criteria is created, you'll receive:
Advanced Token Filters
Bundle-based Alerts
Social Signal Alerts
Social Alert Payload:
Data Types
Transaction
Token
Wallet
TokenBalance
DEXSwap
TokenCreation
WebhookAlert
TokenFilters
Error Codes
Rate Limits
API Endpoints
- REST API: 1000 requests per hour per API key
- SQL API: 100 queries per hour per API key
- Webhook API: 50 webhook creations per day per API key
- Analytics API: 500 requests per hour per API key
Query Limits
- SQL Query: Max 10MB result size
- SQL Query: Max 30 second execution time
- SQL Query: Max 1000 rows per result (use LIMIT)
- Transaction History: Max 10,000 transactions per request
- Token Transfers: Max 50,000 transfers per request
Webhook Limits
- Webhook Payload: Max 1MB per notification
- Webhook Notifications: Max 100 per hour per webhook
- Webhook Cooldown: Min 1 second between notifications
- Webhook Retention: 7 days of failed delivery attempts
Response Headers
All API responses include these headers:
Pagination
For endpoints that return lists, use these query parameters:
limit: Number of items per page (max 1000)offset: Number of items to skipcursor: Pagination cursor for large datasets
Example:
Response: