Data Uploads
Upload CSV
Upload a CSV file to create a table with automatic schema inference. The size limit per upload is 500MB. Storage limits: 100MB (free), 1GB (analyst), 15GB (plus).
POST
Documentation Index
Fetch the complete documentation index at: https://docs.dune.com/llms.txt
Use this file to discover all available pages before exploring further.
Minimum required API key scope:
Read/WriteFor working with uploads, keep in mind that:
- File has to be < 500 MB
- Column names in the table can’t start with a special character or digits.
- Consumes credits based on the size of data uploaded.
- Free, Analyst, Plus: 3 credits per GB written, minimum charge is 1 credit
- If you upload to an existing table name, it will delete the old data and overwite it with your new data. Appends are only supported for the
/create,/insertendpoints. - To delete an upload table, you must go to
user settings (dune.com) -> data -> delete.
Upload via google sheet
To automate the upload of a Google Sheet’s contents to Dune via API, use the following Google Apps Script:- Open your Google Sheet
- Navigate to Extensions → Apps Script
- Replace the script with the code above
- Save and run uploadToDune
- (Optional) For easier execution, you can assign this script to a button in your Google Sheet:
- Click “Insert” in the Google Sheets menu
- Select “Drawing”
- Create a button shape and add text like “Upload to Dune”
- Click “Save and Close”
- Right-click the button and select “Assign script”
- Enter “uploadToDune” as the function name
- Clicking the button will now upload your active sheet’s data to Dune!
Headers
API Key for the service
Query Parameters
Alternative to using the X-Dune-Api-Key header
Body
*/*
payload