v1

latestOpenAPI 3.0.12026-07-22367385.5 KB

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

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

Response

OK

query_idinteger

The Unique ID of the created query

Example response

{
  "query_id": 1
}