POST
/
v1
/
table
/
upload
/
csv

Consider using the /create and /insert endpoints if you want more flexibility, performance, and the ability to append.

You can also upload CSV through the Dune UI by pressing the “create” dropdown.

For working with uploads, keep in mind that:

  • File has to be < 200 MB
  • Column names in the table can’t start with a special character or digits.
  • Private uploads require a Premium subscription.
  • If you upload to an existing table name, it will delete the old data and overwite it with your new data. There is no append feature at the moment.
  • To delete an upload table, you must go to user settings (dune.com) -> data -> delete.

If you have larger datasets you want to upload, please contact us here

Headers

X-Dune-Api-Key
string
required

API Key for the service

Query Parameters

api_key
string

Alternative to using the X-Dune-Api-Key header

Body

*/*
data
string

The data to be uploaded in CSV format.

description
string

Description of the upload.

is_private
boolean

Indicates if the upload is private.

table_name
string

The name of the table to store the data.

Response

200 - application/json
success
boolean

Indicator if the request was successful

table_name
string

The name of the table that was created