X-Sim-Api-Key
), and are optimized for low latency, realtime use cases.
The Dune API primarily focuses on executing SQL queries you’ve written on Dune, managing those queries, and uploading data.
https://dune.com/queries/241/388
, “241” is the query id.
=importData("https://api.dune.com/api/v1/query/{{query_id}}/results/csv?api_key={{api_key}}")
. Then, schedule a query execution to have your results regularly updated on a set schedule.