This tutorial will guide you on how to set up a Webhook to receive price alert push notifications from the AiCoin APP and introduce the advantages of using Webhook for receiving pushes.
1. How to Set Up Webhook URL to Receive AiCoin Price Alerts
1. Access the Price Alert Settings Page
In the AiCoin APP, select and open the market page for the trading pair you want to set an alert for (e.g., BTC/USDT), then click on "Alert" to enter the "Price" alert creation page.
2. Set Alert Conditions
Choose the alert type (e.g., "Price Reached"), enter the alert value, and select the alert frequency (e.g., "Once per minute").
3. Enable Webhook Notification Method
In the "Notification Method" options, check the "Webhook" option. Once checked, a Webhook URL input box will appear below.
4. Enter Webhook URL
Fill in your Webhook URL in the input box. Please note:
● The URL must start with http or https
● The system will automatically verify if the URL format is correct
● The system will perform a simple test to check if the URL is reachable
Note: If the URL format is incorrect, the system will prompt "URL format is incorrect"; if the URL is unreachable, the system will prompt "URL is unreachable".
5. Complete the Setup
Click the "Create Alert" button to complete the setup. Click "Records" to view or modify the alert. When the price reaches the conditions you set, AiCoin will send a POST request to the Webhook URL you provided.
2. Webhook Push Data Format
When the alert is triggered, AiCoin will send JSON data in the following format to your Webhook URL:
{
"source": "AiCoin", // Data source
"eventType": "price_alert", // Event type: price alert
"exchange": "Binance", // Exchange
"symbol": "BTC/USDT", // Trading pair
"triggerCondition": { // Trigger condition
"type": "Up to", // Type: price increase
"threshold": "90000" // Threshold price
},
"currentPrice": "91000", // Latest price at the time of trigger
"remark": "xxx", // User remark
"timestamp": "2025-07-04T17:16:31Z" // Trigger time (in ISO8601 standard format, Z indicates UTC time)
}
Note: It is necessary to understand in advance whether the receiver has any format requirements for the push. If there are format restrictions, it may not receive our alerts. Custom push formats are not currently supported.
3. Advantages of Receiving Push via Webhook
● Real-time: Webhook provides near real-time notifications, ensuring you receive price change information immediately.
● Flexibility: Alert information can be integrated into any system that supports Webhook.
● Multi-platform support: Alert information can be pushed to multiple platforms and devices.
● Global settings: The Webhook URL is a global setting; once set, it can be used for other price alerts.
免责声明:本文章仅代表作者个人观点,不代表本平台的立场和观点。本文章仅供信息分享,不构成对任何人的任何投资建议。用户与作者之间的任何争议,与本平台无关。如网页中刊载的文章或图片涉及侵权,请提供相关的权利证明和身份证明发送邮件到support@aicoin.com,本平台相关工作人员将会进行核查。