What is Dune Analytics?
Dune Analytics is a powerful blockchain data platform that allows you to query, visualize, and share on-chain data. It's the go-to tool for crypto researchers and analysts.
API Capabilities
- SQL queries on decoded blockchain data
- Create and share dashboards
- Historical data access
- Real-time updates
- Community-created queries library
API Integration
// Query Dune API
const response = await fetch('https://api.dune.com/api/v1/query/1234/execute', {
method: 'POST',
headers: {
'X-Dune-API-Key': YOUR_API_KEY
}
});
// Get query results
const results = await response.json();