• RAW DATA
  • MONITORING
  • HUMAN
  • REPORTING

How to automate onchain research with your agent

Connect your agent to Dune to pull live blockchain data through SQL queries. Once connected, your agent handles the data retrieval and analysis.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How can I use AI to automate my onchain research?

You give your agent a Dune query ID, and it executes the SQL to fetch the raw data rows. This lets you run recurring ecosystem checks or monitor protocol health without manual exports. You get direct access to the query results through your agent.

Research outcomes

What your agent produces

The data your agent pulls from Dune.

RAW DATA

Direct query results

Your agent pulls the exact rows from your Dune SQL queries. You get the clean, structured data needed for immediate analysis.

MONITORING

Automated ecosystem checks

Your agent can run the same queries repeatedly to track changes in TVL, volume, or user counts over time.

HUMAN

Expert interpretation

Your agent handles the data fetching, but you decide which trends actually matter for your investment or dev strategy.

REPORTING

Instant data summaries

Instead of looking at tables, you ask your agent to summarize the query results into a readable format.

The workflow

What your agent does when a query is requested.

Your agent follows a specific loop to move from a SQL query to usable data.

  1. Trigger the query

    Your agent sends the specific query ID to Dune to start the execution process.

    execute_query
  2. Track progress

    Your agent checks if the query is still running or if the data is ready to be read.

    get_execution_status
  3. Fetch the data

    Once the status is complete, your agent pulls the actual rows from the database.

    get_execution_results
  4. Analyze results

    Your agent uses the retrieved rows to answer your specific research questions.

    get_execution_results

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute Dune Analytics tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to kick off your research.

Starting points

Swap the query IDs and protocol names with the ones you actually use in Dune.

Dune Analytics Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_eJSVmM35oPb3EQRWNnqipzpD87HbivFnslURw8ia/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat, Dune Analytics capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "dune-analytics-web3-sql-analytics-api-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_eJSVmM35oPb3EQRWNnqipzpD87HbivFnslURw8ia/mcp"
    }
  }
}
Copy into chat04
  • 01

    Run Dune query 123456 and tell me the total volume for the last 24 hours.

  • 02

    Check the status of my latest query and let me know when the data is ready.

  • 03

    Pull the results from query 789101 and summarize the top 5 holders.

  • 04

    Execute query 555666 and compare the current TVL to the value from yesterday.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Dune Analytics once, then ask.

One connection gives your agent access to your Dune queries. Your credentials stay encrypted and secure.

Connect Dune Analytics to your agent

FAQ

How this task behaves

  • 01

    Can your agent create new Dune queries?

    No. Your agent can only execute existing queries that you have already created in Dune.

  • 02

    Does your agent change my Dune settings?

    No. Your agent only reads data and checks execution status; it cannot modify your Dune account or queries.

  • 03

    How does your agent know when a query is finished?

    Your agent uses a status check to monitor the execution before attempting to pull the results.

  • 04

    Can I use this to automate my entire dashboard?

    Your agent can run individual queries from your dashboard, but it doesn't see the visual dashboard layout itself.

  • 05

    What happens if a query fails?

    Your agent will see the failed status and can report the error back to you.

  • More questions about Dune Analytics? See everything the Dune Analytics Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from Dune Analytics to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    Dune Analytics plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect Dune Analytics to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.