{"uid":"cap_V-FETe1mnVd1M-MkTNrCi","slug":"dune-csv-ff15f1ea","name":"Dune CSV Export","description":"Download CSV results for an execution","url":"https://api.dune.com/api/v1/execution/:execution_id/csv?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":null,"responseSchema":null,"example":null,"exampleRequest":null,"tags":["sql","analytics","blockchain","data","query"],"displayCostAmount":"0","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"unprobed","priceSource":"unknown","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"free","summary":"Free","primary":null,"accepted":[]},"paymentMethods":[],"brandName":"Dune","brandSlug":"dune","brandBaseUrl":"https://dune.com","brandDocsUrl":"https://docs.dune.com/api-reference/agents/mpp","whatItDoes":"Download the results of a previously executed Dune SQL query as a CSV file","exampleAgentPrompt":"Can you download the CSV results for Dune execution ID abc123def456 so I can open the data in a spreadsheet?","exampleUseCases":[{"title":"Export DeFi protocol data to spreadsheet","prompt":"I just ran a Dune SQL query tracking liquidity pool activity and the execution finished — can you download the CSV results for execution ID lp9x2mq7k so I can load it into Google Sheets?"},{"title":"Fetch NFT sales data as CSV","prompt":"I need the NFT trading volume query I ran earlier exported as a CSV file — the execution ID is nft4r8wz1j — can you grab that so I can analyze it in Excel?"},{"title":"Download on-chain stablecoin flow data","prompt":"My stablecoin transfer flow query finished running on Dune with execution ID stable77abc3 — can you download those results as a CSV so I can pipe them into my data ingestion pipeline?"}],"resultDescription":"A CSV-formatted file containing the rows and columns returned by the specified query execution, including column headers and all result data from the on-chain SQL query run on Dune Analytics.","failureModes":["Execution ID not found — returns 404 if the execution_id does not exist","Execution still running — returns an error if the query has not yet completed","Expired execution — results may no longer be available if the execution is too old","Invalid execution ID format — returns 400 for malformed IDs","Rate limiting — returns 429 if too many requests are made in a short period"],"whenToPreferThis":"Use this endpoint when you need query results in CSV format for spreadsheet analysis, data pipeline ingestion, or sharing tabular blockchain data. Prefer this over the JSON Results endpoint when downstream tools expect CSV (e.g., Excel, Google Sheets, pandas read_csv). Best used after confirming execution has completed via the Execute endpoint.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:33:02.565Z","isFirstParty":false,"canonicalSlug":"dune-csv-ff15f1ea"}