GET
/
v1
/
execution
/
{execution_id}
/
results
/
csv

curl -X GET "https://api.dune.com/api/v1/execution/{{execution_id}}/results/csv" -H x-dune-api-key:{{api_key}}

"totalNumberOfTransactions,totalNumberOfUsers,totalVolumeUSD,totalFeesETH,averageDailyNumberOfTransactions7dMA,averageDailyNumberOfUsers7dMA,averageDailyVolumeUSD7dMA,averageDailyFeesETH7dMA,averageTradesPerUser,averageVolumePerUserUSD,averageFeesPerUserETH,numberOfUsers24h,numberOfTrades24h,volumeUSD24h,unibotPriceWETH,supplyEligibleForRevshare,unibotMarketcapEligibleForRevshareETH,ethPriceUSD,totalTaxV1ETH,totalTaxETH,totalTaxV1AndV2ETH,totalTax24hETH,teamRevenueETH,revShareRevenueETH,revShareRevenueETHPer100UNIBOT,revShareRevenue24hETH,revShareRevenue7dETH,revShareRevenue30dETH,revShareRevenue30dSimpleMovingAverageETH,taxPoolBalanceUNIBOT,botFees24hETH,botFeesHolderRevenue24hETH,botFeesHolderRevenue7dETH,botFeesHolderRevenue30dETH,botFeesHolderRevenue30dSimpleMovingAverageETH,totalCombinedRevenueETH,combinedRevenue24hETH,combinedHolderRevenue24hETH,combinedHolderRevenue7dETH,combinedRevenue7dSimpleMovingAverageETH,combinedRevenue7dSimpleMovingAverageUSD,combinedHolderRevenue30dSimpleMovingAverageETH,totalBridgeVolumeETH,numberOfBridgeTransactions,numberOfBridgeUsers,friendtechLifetimeVolumeUSD,friendtechLifetimeNumberOfUsers,friendtechLifetimeNumberOfSubjectsTraded,friendtechLifetimeNumberOfTrades,dailyTaxAPR,weeklyTaxAPR,annualizedTaxAPR,annualizedTaxAPY,dailyFeesAPR,weeklyFeesAPR,annualizedFeesAPR,annualizedFeeAPY,dailyCombinedAPR,weeklyCombinedAPR,annualizedCombinedAPR,annualizedCombinedAPY\n977464,27445,5.628197594267187e+08,2483.9491687393247,20644,1871,2.655373706991315e+06,3.7990190106581574,35,20507.187444952404,0.09050643719217798,1965,29588,3.3106567039466314e+06,0.03512178665763559,922448.3481287505,32398.034085666335,2528.5,923.9583646419244,8009.175461562929,8933.133826204854,22.316600820680165,2726.8246784087555,3758.39002161166,0.375839002161166,11.158300410340082,52.80329332517176,185.41288929831435,6.1804296432771455,73.86268392645144,1.3825460776709473,0.5530184310683789,9.687471859444832,55.93654567180427,1.8645515223934757,11417.08299494418,23.699146898351113,11.711318841408461,62.49076518461659,18.546466614136513,46894.740833844175,8.044981165670622,2275.549440528079,2273,859,1.0525734023228614e+06,209,2225,5835,0.01907655762980852,0.13353590340865962,6.962943534880109,7.210370182142256,0.0057551378502265285,0.0402859649515857,2.100625315332683,2.1227820238041817,0.024831695480035047,0.17382186836024532,9.063568850212793,9.485774017018223"

You must pass the execution_id obtained from making an execute query POST request.

Result returns the status, metadata, and query results (in CSV) from a query execution.

  • Read more on Filtering, Sorting, and Sampling to learn more about flexibly grabbing query results.
  • Read more on Pagination to get the most out of the API and handle large results.
  • Results data from an execution are stored with an expiration date of 90 days. This is visible on the API response on the “expires_at” field in the execution status and results json body (not on the CSV endpoint).
  • Dune internally has a maximum query result size limit (which currently is 8GB, but subject to increase in the future). If your query yields more than 8GB of data, the result will be truncated in storage. In such cases, pulling the result data (using pagination) but without specifying allow_partial_results set to true will trigger an error message: “error”: “Partial Result, please request with ‘allows_partial_results=true’”. If you wish to retrieve partial results, you can pass the parameter allow_partial_results=true. But please make sure you indeed want to fetch the truncated result.

curl -X GET "https://api.dune.com/api/v1/execution/{{execution_id}}/results/csv" -H x-dune-api-key:{{api_key}}

Headers

X-DUNE-API-KEY
string
required

API Key for accessing this service

Path Parameters

execution_id
string
required

unique identifier of the execution

Query Parameters

ignore_max_datapoints_per_request
boolean

There is a default 250,000 datapoints limit to make sure you don't accidentally spend all your credits in one call. To ignore the max limit, you can add ignore_max_datapoints_per_request=true

allow_partial_results
boolean

Sometimes request results can be too large to return. By default allow_partial_results is set to false and a failed state is returned.

Response

200
text/csv
OK

The response is of type string.