v1

latestOpenAPI 3.0.12026-07-22367385.5 KB

Execute raw SQL query

Execute raw SQL query without requiring a stored query ID

post/v1/sql/execute

Query parameters

api_keystring

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

Headers

X-Dune-Api-Keystring required

API Key for the service

Response

OK

execution_idstring
statestring

Example response

{
  "execution_id": "01HKZJ2683PHF9Q9PHHQ8FW4Q1",
  "state": "QUERY_STATE_PENDING"
}