Skip to main content
This endpoint is currently in beta, and may change without warning.
The resulting table will be empty, and can be inserted into with the /insert endpoint.
  • A table must currently be created as public. If the request tries to create a private table, it will fail.
  • If a table already exists with the same name, the request will fail.
  • Column names in the table can’t start with a special character or a digit.
  • To delete a table, you must go to user settings (dune.com) -> data -> delete.
  • Creating a table does not incur credits.
curl --request POST \
  --url https://api.dune.com/api/v1/table/my_user/dataset_interest_rates/create \
  --header 'X-DUNE-API-KEY: <x-dune-api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "description": "10 year daily interest rates, sourced from https://fred.stlouisfed.org/series/DGS10",
  "is_private": false,
  "schema": [{"name": "date", "type": "timestamp"}, {"name": "dgs10", "type": "double"}]
}'