dune-analytics

Query on-chain data across 100+ blockchains via SQL endpoints.

3|1|Updated Mar 6, 2026
One-click install
npx skills add https://github.com/readtheskill/readtheskill --skill dune-analytics-readtheskill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: dune-analytics
Source: https://github.com/readtheskill/readtheskill/tree/main/public/skills/dune-analytics
Command: npx skills add https://github.com/readtheskill/readtheskill --skill dune-analytics-readtheskill

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Provide accessible, programmatic access to on-chain data by exposing SQL queries as API endpoints so analysts and agents can retrieve standardized blockchain data without building complex ingestion pipelines.

Core Features & Use Cases

  • SQL queries across 100+ blockchains enabling complex on-chain analysis and metric generation.
  • REST API and CSV/JSON outputs for integration with dashboards, ETL jobs, or agent workflows.
  • MCP server and DuneAI support natural language to SQL translation for agents and no-code users; SDKs exist for Python, TypeScript, Go, and Rust.
  • Use Case: An analytics pipeline queries token transfer aggregates, exports CSV results to a BI tool, and triggers alerts when abnormal activity is detected.

Quick Start

Use Dune Analytics to run an SQL query against a target blockchain and return the results as JSON using the provided API or SDK.

Frequently Asked Questions about dune-analytics

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run SQL queries on blockchain data using an API?

You can run on-chain SQL queries instantly by sending requests to REST API endpoints provided for 100+ blockchains. This allows you to retrieve standardized blockchain data programmatically and return results as JSON or CSV outputs.

Does this on-chain analytics API provide SDKs for Python and TypeScript?

Yes, the on-chain analytics API provides SDKs for Python, TypeScript, Go, and Rust. These SDKs allow you to programmatically retrieve and process query outputs within your analytics pipelines or agent integrations.

Can I translate natural language to SQL for blockchain analysis?

Yes, you can translate natural language to SQL for blockchain analysis using the included MCP server and DuneAI support. This enables no-code users and agents to generate on-chain queries without writing raw SQL.

What is the best way to export on-chain query results to a BI tool?

The best way to export on-chain query results to a BI tool is by using the REST API to fetch CSV or JSON outputs. You can integrate these standardized file formats directly into your dashboards or ETL jobs for further analysis.

Do I need to build complex ingestion pipelines to query 100+ blockchains?

No, you do not need to build complex ingestion pipelines to query 100+ blockchains. The service exposes accessible SQL endpoints directly, providing programmatic access to on-chain data without the overhead of managing infrastructure.