Create Webhook
How to recieve data into webhooks from Dune queries
You can send Dune data to a webhook by going to any query your own, and pressing the “schedule” button to the left of “Run” in the editor. You’ll the popup below, where you can paste in a webhook url and recieve data on a scheduled interval.
A good use case for this is sending data to a Slack webhook, which you can learn to do here.
You can quickly test the output with a webhook generator like this one.
Here is an example schema sent to the webhook from this Jupiter swap fees query:
You’ll need to GET query the data_uri
with your api key to get the results data. This is the same as passing the execution_id
into get execution result.
In the case the query errors out on its scheduled run, you won’t recieve anything to the webhook.
Was this page helpful?