Receiving notifications via Webhooks
Drakdoo offers support for receiving alert notifications via Webhooks. Webhooks allow you to receive a POST request to a URL of your choice every time an alert is triggered.
Disclaimer: As per our terms of service, we waive responsibility for the accuracy and timeliness of the data. You remain fully responsible at any time for taking required precautions ensuring that you are not affected by invalid and untimely data.
You can setup a custom message that is posted to your URL. If left empty, you will receive a default payload, structured as follows:
{ "title": "Divergence", "message": "BTC 1H RSI regular bearish divergence: $40385 at Bitstamp", "period": "1h", "price": "33514.02", "market": { "exchange": "bitstamp", "item": "btc", "currency": "usd", "contract": "spot" }, "timestamp": { "sent": 1652082930, "trade": 1652082927 } }
You can also choose to have a specific message sent by inputting a custom webhook message. This message is POST'ed as an "application/json" message if the message is JSON compliant, otherwise "text/plain" is used. The system automatically expands the following placeholders:
Placeholder | Description | Example(s) |
---|---|---|
{{ contract }} | The type of market contract. | spot, perp |
{{ currency }} | The quote currency. | usd |
{{ exchange }} | The exchange. | bitstamp |
{{ item }} | The item/asset (base currency). | btc |
{{ period }} | The trading period/interval. | 1m, 15m, 1h, 1d, 1w, 1mo |
{{ price }} | The price at the time the alert triggered. | 33514.02 |
{{ time_sent }} | The time the alert was sent. | 2022-05-09T07:42:55Z |
{{ time_trade }} | The trading time at which the alert was triggered. | 2022-05-09T07:42:52Z |