Create and save a query on Dune
This API allows for anyone to create a query. The owner of the query will be under the context of the API key.
post/v1/query
Request
- Base URLhttps://api.dune.com/api
- URLhttps://api.dune.com/api/v1/query
- Authnone declared. Required headers: X-Dune-Api-Key
Query parameters
api_keystring
API Key, alternative to using the HTTP header X-Dune-Api-Key
Headers
X-Dune-Api-Keystring required
API Key for the service
Request body */*
Example request
{
"is_private": true
}Response
OK
Example response
{
"query_id": 1
}Changes
No recorded changes to this operation across all 2 revisions of this API.