Skip to main content
Glama

get_query_results_csv

Retrieve saved blockchain query results as CSV data for analysis. Export Dune Analytics query outputs with customizable columns, filters, sorting, and pagination options.

Instructions

Get the latest results of a saved query in CSV format.

Args: query_id: The unique identifier of the query. allow_partial_results: Allow truncated results if data exceeds limit. columns: Comma-separated list of column names to return. sort_by: SQL ORDER BY expression (e.g., "volume DESC"). filters: SQL WHERE clause expression for filtering rows. limit: Maximum number of rows to return. offset: Row offset for pagination.

Returns: Query results as CSV string.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
query_idYes
allow_partial_resultsNo
columnsNo
sort_byNo
filtersNo
limitNo
offsetNo

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mwamedacen/dune-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server