HTTP Webhooks allow you to receive Volume Alerts as soon as they happen. Instead of polling our REST API constantly, you can receive the alerts directly on your server as they are generated. There are a few requirements to work with HTTP Webhooks on Xypher.
{
"MarketName": "DNTBUSD", // str() exchange symbol
"exchange": "Binance", // str() titled exchange name
"MainMarket": "BUSD", // str() quote market
"CoinName": "DNT", // str() base market
"NewVol": 10939865.8, // float() volume at activity close
"OldVol": 9851419.22, // float() volume at activity start
"VolDiff": 11, // int() difference in volume
"Amount": 1088446.58, // float() amount traded in quote market
"AmountFiat": 1088446.58, // float() amount traded in USD
"NewBid": 0.0403, // float() bid price at activity start
"NewAsk": 0.0408, // float() ask price at activity close
"OldUnix": 1666599533, // int() unix timestamp in seconds at activity start
"NewUnix": 1666600095, // int() unix timestamp in seconds at activity close
"OldBid": 0.036, // float() bid price at activity start
"OldAsk": 0.0362, // float() ask price at activity start
"trend": "bear" // str() bear for selling activity, bull for buying, neut for neutral
}
You can get a sample POST request from our delivery endpoints page
((new_bid - old_bid) / old_bid) * 100
This data is not pushed on alerts. You would need to keep your own records or query our REST API for this data