Identify the Dataset for Export
Begin by pinpointing the dataset or query result you wish to export. For instance, given the recent buzz around Friend.Tech, you might want to export the results from this query: https://dune.com/queries/2945343.Export via CSV
- Navigate to the query interface.
- Simply click the “Export to CSV” button.
Export via API
Ensure you have an API key. If not, generate one:- Navigate to: Settings → API.
- Click on “Create new API key”.
- Remember to copy the entire API key before confirming.
First, create a .env file with the API key you just created.
Access the ‘get latest result’ endpoint directly from the Dune UI. When viewing a query, click the API icon in the top-right corner and copy the endpoint URL.