Webhook रेसिपी
अलर्ट बताते हैं कि मार्केट क्या कर रहा है। Webhooks और API से आप उस पर काम करते हैं, अपने tools और अपने अकाउंट से। हम कभी आपके लिए ट्रेड नहीं करते, कभी फ़ंड नहीं रखते और कभी ट्रेड वाली API keys नहीं मांगते।
क्विकस्टार्ट
- अलर्ट पेज पर एक Custom JSON webhook जोड़ें। यह Pro Trader और ऊपर में शामिल है।
- Signing secret कॉपी करें। यह सिर्फ़ एक बार दिखता है।
- हर request पर Signature जांचें में दिए किसी सैंपल से signature जांचें।
- Send test दबाएं और जांचें कि आपके endpoint को यह मिला।
- किसी नियम को इस destination पर लगाएं। Default अलर्ट चालू रहने तक वह भी इस पर जाता है।
8 सेकंड के भीतर किसी भी 2xx से जवाब दें। फ़ेल हुई sends उसी id के साथ फिर भेजी जाती हैं, इसलिए उसी पर dedupe करें। नीचे का हर snippet एक असली signed delivery पर चलाया गया था। इन इवेंट से आप जो कुछ भी automate करते हैं उसकी ज़िम्मेदारी आपकी है।
Headers
हर डिलीवरी आपके https पते पर इन headers के साथ एक POST है:
| Header | मान |
|---|---|
| X-ArbitrageX-Event | इवेंट की id, body में id जैसी ही। Retry में यह वही रहती है, इसलिए उसी पर dedupe करें। |
| X-ArbitrageX-Timestamp | Unix seconds जब यह कोशिश sign की गई। हर retry फिर से sign होती है, नए timestamp और signature के साथ। |
| X-ArbitrageX-Signature | sha256= और timestamp, एक dot और raw body का lowercase hex HMAC-SHA256। |
| Content-Type | application/json |
| User-Agent | ArbitrageX-Webhooks/1.0 |
Signature जांचें
हर request में X-ArbitrageX-Timestamp और X-ArbitrageX-Signature होते हैं, जो sha256= के साथ timestamp.rawBody का hex HMAC-SHA256 है, पूरे signing secret से keyed, whsec_ समेत। इसे parse करने से पहले raw bytes पर जांचें, क्योंकि parse करके दोबारा encode किया JSON मेल नहीं खाएगा, और constant time में तुलना करें। Replay रोकने के लिए अभी से 5 मिनट से ज़्यादा दूर के timestamps ठुकरा दें। नीचे का हर सैंपल यह सब करता है।
import { createHmac, timingSafeEqual } from "node:crypto";
export function verify(rawBody, headers, secret) {
const ts = headers["x-arbitragex-timestamp"];
if (!(Math.abs(Date.now() / 1000 - Number(ts)) <= 300)) return false;
const expected =
"sha256=" + createHmac("sha256", secret).update(`${ts}.${rawBody}`).digest("hex");
const given = Buffer.from(String(headers["x-arbitragex-signature"]));
const wanted = Buffer.from(expected);
return given.length === wanted.length && timingSafeEqual(given, wanted);
}Test vector
लाइव होने से पहले अपने कोड को इस सैंपल से जांचें: नीचे दिए timestamp और raw body को इस secret से sign करने पर नीचे वाला signature आना चाहिए। यह secret सिर्फ़ इस पेज के लिए है। Timestamp पुराना है, इसलिए आपकी 5 मिनट वाली जांच इसे ठुकरा देगी: HMAC वाले step को अलग से टेस्ट करें।
whsec_docsExampleOnly0000000000000000000000000000
1793707200
{"id":"evt_0f2a4c6e8b0d2f4a6c8e0b2d","type":"alert.test","test":true,"sentAt":"2026-11-03T12:00:00.000Z","rule":null,"window":null,"opportunity":{"id":"TEST|TestBuy:spot|TestSell:spot","coin":"TEST","strategy":"spot","buy":{"venue":"TEST BUY","kind":"spot","symbol":"TESTUSDT","price":1,"sizeUsd":1000,"ageMs":0,"fundingBps8h":null,"nextFundingMs":null,"takerBps":25,"needs":"","withdrawUsd":null,"transferMin":null,"depth":null,"url":"https://arbitragex.io/docs#webhooks"},"sell":{"venue":"TEST SELL","kind":"spot","symbol":"TESTUSDT","price":1.01,"sizeUsd":1000,"ageMs":0,"fundingBps8h":null,"nextFundingMs":null,"takerBps":25,"needs":"","withdrawUsd":null,"transferMin":null,"depth":null,"url":"https://arbitragex.io/docs#webhooks"},"grossBps":100,"netBps":50,"netUsd":{"100":0.5,"1000":5,"10000":null,"100000":null,"1000000":null},"maxSizeUsd":1000,"exitBps":null,"transfer":"not_needed","network":null,"status":"verified","reasons":["TEST event, not market data"],"firstSeenMs":1793707200000,"updatedMs":1793707200000,"spark":[]},"routeId":"TEST|TestBuy:spot|TestSell:spot","links":[],"apiVersion":"2026-11-04","appUrl":"https://arbitragex.io/app/alerts","atSize":{"sizeUsd":1000,"netUsd":5,"netBps":50,"myTakerBps":null,"coins":null,"avgBuyPrice":null,"avgSellPrice":null,"parts":null,"lockedBps":null,"forecastBps":null,"forecast":null,"marginSell":false,"borrow":null,"hold":null,"capitalUsd":1000}}sha256=d062e683f11aa8bca4086d8d45ebe4ba6bcfc4e6457604f12c733083be7eeea8
आम फ़ील्ड
हर इवेंट में अपने फ़ील्ड के अलावा ये फ़ील्ड होते हैं। इनके नाम और क्रम कभी नहीं बदलते, और नए फ़ील्ड सिर्फ़ बाकी सबके बाद जुड़ते हैं।
id: इवेंट की id, retries में वही रहती है।type: नीचे दिए types में से एक।test:trueसिर्फ़ Send test से।sentAt: यह कोशिश कब भेजी गई, UTC में ISO 8601 समय के रूप में।rule: जो नियम मेल खाया,idऔरnameके रूप में, डिफ़ॉल्ट अलर्ट के लिए iddefaultके साथ। जहां कोई नियम इसे नहीं भेजता वहां null।routeId: अवसर की id जैसी API इस्तेमाल करता है, या जहां कोई अवसर नहीं वहां null।links: अलर्ट जिन ट्रेड पेजों की ओर इशारा करता है, हर एकside,venueऔरurlके साथ।apiVersion: इस payload का version, अभी2026-11-04।appUrl: ऐप में अलर्ट का पेज।atSize: सिर्फ़opportunity.alert,listing.alertऔरalert.testपर, उस साइज़ पर नेट जिस पर नियम ने इसे जांचा,sizeUsd,netUsdऔरnetBpsके रूप में।
इवेंट
हर type जो custom webhook को मिल सकता है, उसके लिए ज़रूरी प्लान और असली डिलीवरी वाले कोड से ही बनी एक सैंपल body के साथ। Custom webhook Pro Trader और ऊपर के साथ आता है, और कुछ types के लिए ऊंचा प्लान चाहिए। आंकड़े काल्पनिक हैं।
- opportunity.alert
- opportunity.closed
- listing.alert
- position.alert
- notice.alert
- prediction.alert
- prediction.signal
- premium.alert
- liquidation.alert
- liquidation.cluster
- positioning.alert
- wallet.alert
- watch.alert
- polymarket.alert
- consensus.alert
- alert.test
opportunity.alertPro Trader और ऊपर
opportunity.alert: कोई अवसर किसी नियम या Default अलर्ट से मेल खाया। Default अलर्ट के लिए rule.id default है।
{
"id": "evt_3f9a1c7e2b8d4f6a0c5e9b1d",
"type": "opportunity.alert",
"test": false,
"sentAt": "2026-11-03T12:00:00.000Z",
"rule": {
"id": "6f1c2b9e-4d3a-4e8b-9a7f-2c5d8e1b0a34",
"name": "BTC over 0.15%"
},
"window": {
"sizeUsd": 1000,
"openMs": 95000,
"avgWindowMs": 240000,
"avgPeakNetBps": 22.1,
"windowSamples": 7
},
"opportunity": {
"id": "BTC|Binance:spot|OKX:spot",
"coin": "BTC",
"strategy": "spot",
"buy": {
"venue": "Binance",
"kind": "spot",
"symbol": "BTCUSDT",
"price": 64000.5,
"sizeUsd": 5000,
"ageMs": 120,
"fundingBps8h": null,
"nextFundingMs": null,
"takerBps": 10,
"needs": "Needs USDT on Binance to buy",
"withdrawUsd": 1.5,
"transferMin": null,
"depth": null,
"url": "https://www.binance.com/en/trade/BTC_USDT"
},
"sell": {
"venue": "OKX",
"kind": "spot",
"symbol": "BTC-USDT",
"price": 64210.25,
"sizeUsd": 5000,
"ageMs": 80,
"fundingBps8h": null,
"nextFundingMs": null,
"takerBps": 8,
"needs": "Needs BTC already on OKX: a spot sale cannot go short",
"withdrawUsd": null,
"transferMin": null,
"depth": null,
"url": "https://www.okx.com/trade-spot/btc-usdt"
},
"grossBps": 32.7,
"netBps": 18.4,
"netUsd": {
"100": 0.18,
"1000": 1.84,
"10000": 12.5,
"100000": null,
"1000000": null
},
"maxSizeUsd": 12345.6,
"exitBps": null,
"transfer": "open",
"network": "BTC",
"status": "verified",
"reasons": [],
"firstSeenMs": 1793707110000,
"updatedMs": 1793707110000,
"spark": [
17.9,
18.4
],
"avgWindowMs": 240000,
"medianWindowMs": 240000,
"windowSamples": 7
},
"routeId": "BTC|Binance:spot|OKX:spot",
"links": [
{
"side": "buy",
"venue": "Binance",
"url": "https://www.binance.com/en/trade/BTC_USDT"
},
{
"side": "sell",
"venue": "OKX",
"url": "https://www.okx.com/trade-spot/btc-usdt"
}
],
"apiVersion": "2026-11-04",
"appUrl": "https://arbitragex.io/app?t=arb&route=BTC%7CBinance%3Aspot%7COKX%3Aspot",
"atSize": {
"sizeUsd": 1000,
"netUsd": 1.84,
"netBps": 18.4,
"myTakerBps": null,
"coins": null,
"avgBuyPrice": null,
"avgSellPrice": null,
"parts": null,
"lockedBps": null,
"forecastBps": null,
"forecast": null,
"marginSell": false,
"borrow": null,
"hold": null,
"capitalUsd": 1000
}
}opportunity.closedPro Trader और ऊपर
opportunity.closed: जिस अवसर पर आपको अलर्ट मिला था वह बंद हो गया, अगर नियम में यह मांगा गया हो।
{
"id": "evt_8c2e4a6f1b3d5c7e9a0b2d4f",
"type": "opportunity.closed",
"test": false,
"sentAt": "2026-11-03T12:00:00.000Z",
"rule": {
"id": "6f1c2b9e-4d3a-4e8b-9a7f-2c5d8e1b0a34",
"name": "BTC over 0.15%"
},
"closed": {
"alertId": "evt_3f9a1c7e2b8d4f6a0c5e9b1d",
"alertedAt": 1793706600000,
"closedAt": 1793707170000
},
"opportunity": {
"id": "BTC|Binance:spot|OKX:spot",
"coin": "BTC",
"strategy": "spot",
"buy": {
"venue": "Binance",
"kind": "spot",
"symbol": "BTCUSDT",
"price": 64000.5,
"sizeUsd": 5000,
"ageMs": 120,
"fundingBps8h": null,
"nextFundingMs": null,
"takerBps": 10,
"needs": "Needs USDT on Binance to buy",
"withdrawUsd": 1.5,
"transferMin": null,
"depth": null,
"url": "https://www.binance.com/en/trade/BTC_USDT"
},
"sell": {
"venue": "OKX",
"kind": "spot",
"symbol": "BTC-USDT",
"price": 64210.25,
"sizeUsd": 5000,
"ageMs": 80,
"fundingBps8h": null,
"nextFundingMs": null,
"takerBps": 8,
"needs": "Needs BTC already on OKX: a spot sale cannot go short",
"withdrawUsd": null,
"transferMin": null,
"depth": null,
"url": "https://www.okx.com/trade-spot/btc-usdt"
},
"grossBps": 32.7,
"netBps": 18.4,
"netUsd": {
"100": 0.18,
"1000": 1.84,
"10000": 12.5,
"100000": null,
"1000000": null
},
"maxSizeUsd": 12345.6,
"exitBps": null,
"transfer": "open",
"network": "BTC",
"status": "verified",
"reasons": [],
"firstSeenMs": 1793707110000,
"updatedMs": 1793707110000,
"spark": [
17.9,
18.4
],
"avgWindowMs": 240000,
"medianWindowMs": 240000,
"windowSamples": 7
},
"routeId": "BTC|Binance:spot|OKX:spot",
"links": [
{
"side": "buy",
"venue": "Binance",
"url": "https://www.binance.com/en/trade/BTC_USDT"
},
{
"side": "sell",
"venue": "OKX",
"url": "https://www.okx.com/trade-spot/btc-usdt"
}
],
"apiVersion": "2026-11-04",
"appUrl": "https://arbitragex.io/app?t=arb&route=BTC%7CBinance%3Aspot%7COKX%3Aspot"
}listing.alertPro Trader और ऊपर
listing.alert: कोई मार्केट अभी लिस्ट हुआ, हर लिस्टिंग पर एक इवेंट।
{
"id": "evt_1a3c5e7b9d2f4a6c8e0b1d3f",
"type": "listing.alert",
"test": false,
"sentAt": "2026-11-03T12:00:00.000Z",
"rule": {
"id": "6f1c2b9e-4d3a-4e8b-9a7f-2c5d8e1b0a34",
"name": "BTC over 0.15%"
},
"listing": {
"venue": "Bybit",
"kind": "spot",
"symbol": "NEWUSDT",
"listedMs": 1793707140000,
"coin": "NEW"
},
"window": {
"sizeUsd": 1000,
"openMs": 4000,
"avgWindowMs": null,
"avgPeakNetBps": null,
"windowSamples": 0
},
"opportunity": {
"id": "NEW|Bybit:spot|Gate:spot",
"coin": "NEW",
"strategy": "spot",
"buy": {
"venue": "Bybit",
"kind": "spot",
"symbol": "NEWUSDT",
"price": 0.4812,
"sizeUsd": 5000,
"ageMs": 120,
"fundingBps8h": null,
"nextFundingMs": null,
"takerBps": 10,
"needs": "Needs USDT on Binance to buy",
"withdrawUsd": 1.5,
"transferMin": null,
"depth": null,
"url": "https://www.bybit.com/en/trade/spot/NEW/USDT"
},
"sell": {
"venue": "Gate",
"kind": "spot",
"symbol": "NEW_USDT",
"price": 0.4975,
"sizeUsd": 5000,
"ageMs": 80,
"fundingBps8h": null,
"nextFundingMs": null,
"takerBps": 8,
"needs": "Needs BTC already on OKX: a spot sale cannot go short",
"withdrawUsd": null,
"transferMin": null,
"depth": null,
"url": "https://www.gate.com/trade/NEW_USDT"
},
"grossBps": 338.7,
"netBps": 287.2,
"netUsd": {
"100": 2.87,
"1000": 24.1,
"10000": null,
"100000": null,
"1000000": null
},
"maxSizeUsd": 3410,
"exitBps": null,
"transfer": "open",
"network": "BEP20",
"status": "verified",
"reasons": [],
"firstSeenMs": 1793707110000,
"updatedMs": 1793707110000,
"spark": [
17.9,
18.4
],
"avgWindowMs": null,
"medianWindowMs": null,
"windowSamples": 0
},
"routeId": "NEW|Bybit:spot|Gate:spot",
"links": [
{
"side": "buy",
"venue": "Bybit",
"url": "https://www.bybit.com/en/trade/spot/NEW/USDT"
},
{
"side": "sell",
"venue": "Gate",
"url": "https://www.gate.com/trade/NEW_USDT"
}
],
"apiVersion": "2026-11-04",
"appUrl": "https://arbitragex.io/app?t=arb&route=NEW%7CBybit%3Aspot%7CGate%3Aspot",
"atSize": {
"sizeUsd": 1000,
"netUsd": 24.1,
"netBps": 241,
"myTakerBps": null,
"coins": null,
"avgBuyPrice": null,
"avgSellPrice": null,
"parts": null,
"lockedBps": null,
"forecastBps": null,
"forecast": null,
"marginSell": false,
"borrow": null,
"hold": null,
"capitalUsd": 1000
}
}position.alertPro Trader और ऊपर
position.alert: ट्रैक किए जा रहे किसी ट्रेड पर कुछ हुआ।
{
"id": "evt_5b7d9f1a3c5e7b9d2f4a6c8e",
"type": "position.alert",
"test": false,
"sentAt": "2026-11-03T12:00:00.000Z",
"rule": null,
"position": {
"id": "pos_4e2a9c",
"coin": "ETH",
"strategy": "spot",
"buyVenue": "Kraken",
"sellVenue": "Bybit",
"sizeUsd": 2500,
"entrySpreadBps": 41.2,
"targetBps": 10,
"spreadBps": 9.5,
"estPnlUsd": 7.93,
"estFundingUsd": 0,
"estimated": true,
"routeId": "ETH|Kraken:spot|Bybit:spot",
"buyUrl": "https://pro.kraken.com/app/trade/eth-usdt",
"sellUrl": "https://www.bybit.com/en/trade/spot/ETH/USDT"
},
"alert": {
"kind": "target",
"title": "ETH spread reached your target",
"detail": "Spread 0.10%, at or under your 0.10% target."
},
"routeId": "ETH|Kraken:spot|Bybit:spot",
"links": [
{
"side": "buy",
"venue": "Kraken",
"url": "https://pro.kraken.com/app/trade/eth-usdt"
},
{
"side": "sell",
"venue": "Bybit",
"url": "https://www.bybit.com/en/trade/spot/ETH/USDT"
}
],
"apiVersion": "2026-11-04",
"appUrl": "https://arbitragex.io/app/watchlist?tab=tracking"
}notice.alertPro Trader और ऊपर
notice.alert: किसी एक्सचेंज ने डीलिस्टिंग, जमा या निकासी पर रोक, मेंटेनेंस या लिस्टिंग की घोषणा की, डिफ़ॉल्ट अलर्ट पर। tracked बताता है कि यह आपके ट्रैक किए जा रहे किसी ट्रेड पर है।
{
"id": "evt_9d1f3a5c7e9b2d4f6a8c0e1b",
"type": "notice.alert",
"test": false,
"sentAt": "2026-11-03T12:00:00.000Z",
"rule": {
"id": "default",
"name": "Default alert"
},
"notice": {
"seq": 4812,
"venue": "Binance",
"kind": "delisting",
"market": "spot",
"coins": [
"XYZ"
],
"title": "Binance Will Delist XYZ on 2026-11-10",
"url": "https://www.binance.com/en/support/announcement",
"publishedMs": 1793703600000,
"seenMs": 1793703660000
},
"tracked": true,
"keywords": [
"delist"
],
"alert": {
"title": "Binance: delisting XYZ",
"detail": "On a tracked trade's leg."
},
"routeId": null,
"links": [],
"apiVersion": "2026-11-04",
"appUrl": "https://arbitragex.io/app/alerts?tab=fired"
}prediction.alertPro Trader और ऊपर
prediction.alert: प्रेडिक्शन मार्केट का कोई अवसर आपके नियम से मेल खाया।
{
"id": "evt_2c4e6a8b0d1f3a5c7e9b1d3f",
"type": "prediction.alert",
"test": false,
"sentAt": "2026-11-03T12:00:00.000Z",
"rule": {
"id": "6f1c2b9e-4d3a-4e8b-9a7f-2c5d8e1b0a34",
"name": "Fed markets"
},
"prediction": {
"id": "cross:5d0c6b1e8f2a4c7d9e3b1a0f6c2d8e4b",
"kind": "cross",
"title": "Fed cuts rates in December?",
"category": "economy",
"legs": [
{
"venue": "Polymarket",
"marketId": "0x8a3f",
"outcome": "Yes",
"side": "yes",
"avgPrice": 0.412,
"size": 500,
"url": "https://polymarket.com/event/fed-decision-in-december",
"rule": 0,
"readMs": null,
"deadlineMs": 1799755200000
},
{
"venue": "Kalshi",
"marketId": "KXFEDDECISION-26DEC-C25",
"outcome": "Cut",
"side": "no",
"avgPrice": 0.569,
"size": 500,
"url": "https://kalshi.com/markets/kxfeddecision",
"rule": 1,
"readMs": 1793707196000,
"deadlineMs": 1797768000000
}
],
"costPerSet": 0.981,
"payoutPerSet": 1,
"netBps": 193.7,
"netUsd": {
"100": 1.94,
"1000": null,
"10000": null,
"100000": null,
"1000000": null
},
"maxSizeUsd": 490.5,
"resolvesMs": 1797163200000,
"latestResolvesMs": 1799755200000,
"days": 40,
"yearlyBps": 1767.5,
"status": "caution",
"rules": [
{
"venue": "Polymarket",
"text": "Resolves Yes if the target range is lowered at the December meeting.",
"source": "federalreserve.gov"
},
{
"venue": "Kalshi",
"text": "Resolves to Cut if the upper bound is lowered at the December meeting.",
"source": "federalreserve.gov"
}
],
"reasons": [
"Two exchanges, each settling by its own rules: read both before trading.",
"Paired by title and resolution date, not by the exchanges."
],
"matrix": null,
"curve": {
"sets": 500,
"legs": [
{
"fee": 0,
"minQty": 1,
"asks": [
[
0.41,
300
],
[
0.415,
200
]
]
},
{
"fee": 0.07,
"minQty": 1,
"asks": [
[
0.565,
500
]
]
}
]
},
"firstSeenMs": 1793706600000,
"updatedMs": 1793707198000,
"checkedMs": 1793707198000
},
"alert": {
"title": "Prediction: Fed cuts rates in December? · +$9.50 (+1.94%) at $491",
"detail": "Buy YES Yes on Polymarket @ $0.4120\nBuy NO Cut on Kalshi @ $0.5690\n500 sets cost $490.50, fees in, and pay $500.00 at settlement\nPaid at resolution in 40 days, +17.68% a year"
},
"routeId": "cross:5d0c6b1e8f2a4c7d9e3b1a0f6c2d8e4b",
"links": [
{
"side": "buy",
"venue": "Polymarket",
"url": "https://polymarket.com/event/fed-decision-in-december"
},
{
"side": "buy",
"venue": "Kalshi",
"url": "https://kalshi.com/markets/kxfeddecision"
}
],
"apiVersion": "2026-11-04",
"appUrl": "https://arbitragex.io/app?m=prediction&route=cross%3A5d0c6b1e8f2a4c7d9e3b1a0f6c2d8e4b",
"atSize": null,
"access": []
}prediction.signalPro Trader और ऊपर
prediction.signal: कोई प्रेडिक्शन मार्केट वैसे बदला जैसा आपका नियम देखता है, जैसे उसके odds।
{
"id": "evt_6e8a0c2d4f6b8d0e2a4c6e8a",
"type": "prediction.signal",
"test": false,
"sentAt": "2026-11-03T12:00:00.000Z",
"rule": {
"id": "6f1c2b9e-4d3a-4e8b-9a7f-2c5d8e1b0a34",
"name": "Fed markets"
},
"signal": {
"seq": 918204,
"kind": "odds_move",
"venue": "Kalshi",
"marketId": "KXFEDDECISION-26DEC-C25",
"title": "Fed decision in December",
"outcome": "Cut",
"url": "https://kalshi.com/markets/kxfeddecision",
"prob": 0.47,
"fromProb": 0.39,
"windowMs": 1800000,
"side": null,
"size": null,
"usd": null,
"atMs": 1793707195000
},
"alert": {
"title": "Odds moved: Fed decision in December: Cut",
"detail": "Kalshi · YES 39% → 47% within 30m"
},
"routeId": null,
"links": [],
"apiVersion": "2026-11-04",
"appUrl": "https://arbitragex.io/app/odds"
}liquidation.alertPro Trader और ऊपर
liquidation.alert: कोई लिक्विडेशन आपके नियम से मेल खाया, जैसे किसी साइज़ से बड़ा।
{
"id": "evt_4f6b8d0a2c4e6f8b0d2a4c6e",
"type": "liquidation.alert",
"test": false,
"sentAt": "2026-11-03T12:00:00.000Z",
"rule": {
"id": "6f1c2b9e-4d3a-4e8b-9a7f-2c5d8e1b0a34",
"name": "BTC liquidations over $1M"
},
"liquidation": {
"seq": 1793707200000000,
"venue": "Binance",
"coin": "BTC",
"contract": "BTCUSDT",
"market": "perp",
"side": "long",
"price": 63950.1,
"size": 23.456,
"valueUsd": 1500036.5,
"exchangeMs": 1793707199600,
"receivedMs": 1793707200000,
"url": "https://arbitragex.io/app/liquidations?coin=BTC"
},
"alert": {
"title": "BTC long liquidated: $1,500,037 on Binance",
"detail": "23.46 BTC at $63,950.10 · BTCUSDT · Nov 3, 11:59 UTC"
},
"routeId": null,
"links": [],
"apiVersion": "2026-11-04",
"appUrl": "https://arbitragex.io/app/liquidations?coin=BTC"
}liquidation.clusterProp Syndicate और ऊपर
liquidation.cluster: कीमत ऐसी पोज़िशन के cluster के पास पहुंच रही है जो लिक्विडेट हो सकती हैं, pre-squeeze radar से।
{
"id": "evt_8a0c2e4b6d8f0a2c4e6b8d0f",
"type": "liquidation.cluster",
"test": false,
"sentAt": "2026-11-03T12:00:00.000Z",
"rule": {
"id": "6f1c2b9e-4d3a-4e8b-9a7f-2c5d8e1b0a34",
"name": "BTC radar"
},
"cluster": {
"seq": 1793707200000000,
"coin": "BTC",
"side": "long",
"nearPx": 64600,
"farPx": 64100,
"usd": 40250000,
"positions": 37,
"markPx": 65780,
"markMs": 1793707200000,
"distance": 0.0179,
"atr": 0.012,
"reach": 1.49,
"oiUsd": 3100000000,
"oiShare": 0.013,
"readFromMs": 1793706660000,
"readToMs": 1793707198000,
"atMs": 1793707200000,
"url": "https://arbitragex.io/app/liquidations?coin=BTC"
},
"alert": {
"title": "BTC: $40,250,000 of longs liquidate 1.8% below price",
"detail": "37 positions between $64,600.00 and $64,100.00, mark $65,780.00.\n1.3% of Hyperliquid open interest, 1.5x a typical hour's move away.\nRead Nov 3, 11:51 to Nov 3, 11:59 UTC."
},
"routeId": null,
"links": [],
"apiVersion": "2026-11-04",
"appUrl": "https://arbitragex.io/app/liquidations?coin=BTC"
}positioning.alertProp Syndicate और ऊपर
positioning.alert: किसी कॉइन पर टॉप ट्रेडरों की पोज़िशनिंग वैसे बदली जैसा आपका नियम देखता है, जैसे उनका झुकाव पलटना।
{
"id": "evt_1c3e5a7d9f1b3d5f7a9c1e3b",
"type": "positioning.alert",
"test": false,
"sentAt": "2026-11-03T12:00:00.000Z",
"rule": {
"id": "6f1c2b9e-4d3a-4e8b-9a7f-2c5d8e1b0a34",
"name": "ETH lean"
},
"positioning": {
"kind": "flip",
"coin": "ETH",
"url": "https://arbitragex.io/app/wallets/positioning?coin=ETH",
"atMs": 1793707170000,
"longShareUsd": 0.38,
"traders": 212,
"lean": "short",
"prevSinceMs": 1793613600000,
"movePts": null,
"address": null,
"size": null,
"markPx": null,
"liquidationPx": null,
"distance": null,
"valueUsd": null,
"group": null,
"side": null,
"eachUsd": null,
"wallets": null,
"totalUsd": null,
"avgEntryPx": null,
"reachedMs": null
},
"alert": {
"title": "Top traders flipped short on ETH",
"detail": "38% long by size among 212 ranked traders · leaned the other way since Nov 2, 10:00"
},
"routeId": null,
"links": [],
"apiVersion": "2026-11-04",
"appUrl": "https://arbitragex.io/app/wallets/positioning?coin=ETH"
}wallet.alertProp Syndicate और ऊपर
wallet.alert: जिस ट्रेडर को आप फ़ॉलो करते हैं उसने कोई पोज़िशन खोली, बदली या बंद की।
{
"id": "evt_5e7a9c1f3b5d7f9a1c3e5b7d",
"type": "wallet.alert",
"test": false,
"sentAt": "2026-11-03T12:00:00.000Z",
"rule": null,
"wallet": {
"address": "0x7b4a1f0c9d2e3b5a6c8d0e1f2a3b4c5d6e7f8091",
"coin": "BTC",
"kind": "opened",
"size": 2,
"prevSize": 0,
"entryPx": 64000,
"valueUsd": 128000,
"atMs": 1793707195000,
"leverage": 5,
"liquidationPx": 51840
},
"alert": {
"title": "0x7b4a…8091 opened a BTC long",
"detail": "2 BTC at $64,000, about $128,000."
},
"routeId": null,
"links": [],
"apiVersion": "2026-11-04",
"appUrl": "https://arbitragex.io/app/wallets/0x7b4a1f0c9d2e3b5a6c8d0e1f2a3b4c5d6e7f8091"
}watch.alertProp Syndicate और ऊपर
watch.alert: आपके देखे जा रहे किसी वॉलेट ने ट्रांसफ़र पाया या भेजा, डिफ़ॉल्ट अलर्ट पर। Transaction hash पता न हो तो event.tx null होता है।
{
"id": "evt_9a1c3e5b7d9f1a3c5e7b9d1f",
"type": "watch.alert",
"test": false,
"sentAt": "2026-11-03T12:00:00.000Z",
"rule": {
"id": "default",
"name": "Default alert"
},
"wallet": {
"chain": "ethereum",
"address": "0x1111111111111111111111111111111111111111",
"label": "Treasury"
},
"event": {
"tx": "0xabababababababababababababababababababababababababababababababab",
"kind": "token",
"token": "USDC",
"amount": 1000000,
"direction": "out",
"counterparty": "0x2222222222222222222222222222222222222222",
"usd": 1000000,
"atMs": 1793707185000
},
"alert": {
"title": "Treasury sent 1,000,000 USDC",
"detail": "To 0x2222…2222."
},
"routeId": null,
"links": [],
"apiVersion": "2026-11-04",
"appUrl": "https://arbitragex.io/app/alerts?tab=fired"
}polymarket.alertProp Syndicate और ऊपर
polymarket.alert: जिस Polymarket ट्रेडर को आप फ़ॉलो करते हैं उसने ट्रेड किया।
{
"id": "evt_3b5d7f9a1c3e5b7d9f1a3c5e",
"type": "polymarket.alert",
"test": false,
"sentAt": "2026-11-03T12:00:00.000Z",
"rule": null,
"trader": {
"address": "0x56687bf447db6ffa42ffe2204a05edaa20f55839",
"market": {
"title": "Fed decision in December",
"outcome": "Yes",
"eventSlug": "fed-decision-in-december",
"condition": "0x8a3f"
},
"url": "https://polymarket.com/event/fed-decision-in-december",
"kind": "opened",
"size": 25000,
"prevSize": 0,
"avgPrice": 0.41,
"valueUsd": 10250,
"atMs": 1793707140000
},
"alert": {
"title": "Polymarket trader 0x5668…5839 bought Yes on Fed decision in December",
"detail": "25,000 shares. Average price $0.41. Worth about $10k."
},
"routeId": null,
"links": [],
"apiVersion": "2026-11-04",
"appUrl": "https://arbitragex.io/app/alerts?tab=fired"
}consensus.alertProp Syndicate और ऊपर
consensus.alert: आपके फ़ॉलो किए कई वॉलेट ने थोड़े समय में किसी कॉइन पर एक ही साइड ली।
{
"id": "evt_7d9f1b3c5e7a9d1f3b5c7e9a",
"type": "consensus.alert",
"test": false,
"sentAt": "2026-11-03T12:00:00.000Z",
"rule": null,
"consensus": {
"coin": "SOL",
"side": "long",
"wallets": [
"0x1f2e3d4c5b6a79880716253443526170f8e9d0c1",
"0x2a3b4c5d6e7f8091a2b3c4d5e6f708192a3b4c5d",
"0x9c8b7a6f5e4d3c2b1a0f9e8d7c6b5a4f3e2d1c0b"
],
"windowMs": 3600000,
"atMs": 1793707180000
},
"alert": {
"title": "3 wallets you follow went long on SOL",
"detail": "Each added to SOL long within 1h of the others, as last read: 0x1f2e…d0c1, 0x2a3b…4c5d, 0x9c8b…1c0b."
},
"routeId": null,
"links": [],
"apiVersion": "2026-11-04",
"appUrl": "https://arbitragex.io/app/alerts?tab=fired"
}alert.testPro Trader और ऊपर
alert.test: Send test से, "test": true और TEST नाम के नकली कॉइन के साथ।
{
"id": "evt_0f2a4c6e8b0d2f4a6c8e0b2d",
"type": "alert.test",
"test": true,
"sentAt": "2026-11-03T12:00:00.000Z",
"rule": null,
"window": null,
"opportunity": {
"id": "TEST|TestBuy:spot|TestSell:spot",
"coin": "TEST",
"strategy": "spot",
"buy": {
"venue": "TEST BUY",
"kind": "spot",
"symbol": "TESTUSDT",
"price": 1,
"sizeUsd": 1000,
"ageMs": 0,
"fundingBps8h": null,
"nextFundingMs": null,
"takerBps": 25,
"needs": "",
"withdrawUsd": null,
"transferMin": null,
"depth": null,
"url": "https://arbitragex.io/docs#webhooks"
},
"sell": {
"venue": "TEST SELL",
"kind": "spot",
"symbol": "TESTUSDT",
"price": 1.01,
"sizeUsd": 1000,
"ageMs": 0,
"fundingBps8h": null,
"nextFundingMs": null,
"takerBps": 25,
"needs": "",
"withdrawUsd": null,
"transferMin": null,
"depth": null,
"url": "https://arbitragex.io/docs#webhooks"
},
"grossBps": 100,
"netBps": 50,
"netUsd": {
"100": 0.5,
"1000": 5,
"10000": null,
"100000": null,
"1000000": null
},
"maxSizeUsd": 1000,
"exitBps": null,
"transfer": "not_needed",
"network": null,
"status": "verified",
"reasons": [
"TEST event, not market data"
],
"firstSeenMs": 1793707200000,
"updatedMs": 1793707200000,
"spark": []
},
"routeId": "TEST|TestBuy:spot|TestSell:spot",
"links": [],
"apiVersion": "2026-11-04",
"appUrl": "https://arbitragex.io/app/alerts",
"atSize": {
"sizeUsd": 1000,
"netUsd": 5,
"netBps": 50,
"myTakerBps": null,
"coins": null,
"avgBuyPrice": null,
"avgSellPrice": null,
"parts": null,
"lockedBps": null,
"forecastBps": null,
"forecast": null,
"marginSell": false,
"borrow": null,
"hold": null,
"capitalUsd": 1000
}
}पूरे फ़ील्ड webhook docs में हैं।
डिलीवरी और retries
- 8 सेकंड के भीतर किसी भी 2xx से जवाब दें। इससे धीमा जवाब फ़ेल माना जाता है।
- Timeout, कनेक्शन error, 429 या कोई भी 5xx दोबारा भेजा जाता है, कुल 5 कोशिशों तक, हर बार के बाद 5 सेकंड, 20 सेकंड, 1 मिनट, 5 मिनट रुककर। सेकंड में दिया
Retry-Afterइंतज़ार को लंबा कर सकता है, 5 मिनट तक। - कोई और 4xx दोबारा नहीं भेजा जाता, न ही 3xx: redirects फ़ॉलो नहीं किए जाते, इसलिए हमें आखिरी URL दें।
- लगातार 8 फ़ेल होने पर destination रुक जाता है और उसके लिए इंतज़ार कर रही डिलीवरी रद्द हो जाती हैं। 429 इसमें नहीं गिना जाता, और एक सफल डिलीवरी गिनती को फिर शून्य कर देती है।
- हर कोशिश से पहले हम फिर जांचते हैं कि destination चालू है, नियम अब भी मौजूद है, आपके प्लान में यह type अब भी शामिल है और यह आपके quiet hours नहीं हैं। कोई अवसर या लिस्टिंग अलर्ट जो अवसर के शायद बंद हो जाने तक इंतज़ार में रहे, expired मानकर हटा दिया जाता है।
- हर अकाउंट पर एक मिनट में ज़्यादा से ज़्यादा 30 अलर्ट। इससे ज़्यादा होने पर अतिरिक्त अलर्ट छोड़ दिए जाते हैं और डिलीवरी लॉग में यह लिखा होता है।
- कोई डिलीवरी देर से, दो बार या क्रम से बाहर आ सकती है, इसलिए
idपर dedupe करें और ऐसे अलर्ट पर काम न करें जो आपके लिए पहले ही पुराना हो चुका हो।
Execution tools
नीचे का हर उदाहरण वह body है जो किसी tool को चाहिए, हमारे standard payload के हिसाब से लिखी गई: angle brackets में हर मान हमारा वह फ़ील्ड है जो वहां रखना है। इसे catch webhook के बाद Zapier या Make step में बनाएं, या अपने relay में, जैसे अपनी script चलाएं वाला receiver, और tool के webhook URL पर post करें। Capitals वाले मान आपके अपने हैं। सिर्फ़ opportunity.alert और listing.alert किसी tool तक पहुंचने चाहिए: test और बाकी हर type को फ़िल्टर कर दें, ताकि बंद होने वाला follow-up कोई ट्रेड न खोल सके। हम कभी ट्रेड नहीं करते: कोई tool मैसेज के साथ क्या करता है, यह आप और वह tool तय करते हैं।
हर tool समय के साथ अपने फ़ील्ड बदलता है। किसी उदाहरण पर भरोसा करने से पहले उसे tool के मौजूदा docs से जांच लें।
3Commas signal bot
3Commas signal bot के custom webhook के लिए, bot की message settings से उसके secret और bot UUID के साथ। Signal bot एक ही एक्सचेंज पर ट्रेड करता है, इसलिए नियम के एक्सचेंज फ़िल्टर से नियम को उन अवसरों तक सीमित करें जो वहां खरीदते हैं।
{
"secret": "YOUR_3COMMAS_SECRET",
"bot_uuid": "YOUR_BOT_UUID",
"max_lag": "300",
"timestamp": "<sentAt>",
"trigger_price": "<opportunity.buy.price>",
"tv_exchange": "<opportunity.buy.venue in capitals, e.g. BINANCE>",
"tv_instrument": "<opportunity.coin>USDT",
"action": "enter_long"
}Hummingbot
Hummingbot webhook की जगह अपने interfaces से commands लेता है, इसलिए यह आपकी एक छोटी script strategy को जाता है, या उसके MQTT interface के bridge को। अपने connector का अपना नाम इस्तेमाल करें।
{
"connector": "<opportunity.buy.venue in lower case, e.g. binance>",
"trading_pair": "<opportunity.coin>-USDT",
"side": "BUY",
"price": <opportunity.buy.price>,
"amount_usd": <atSize.sizeUsd>,
"hedge_connector": "<opportunity.sell.venue in lower case>",
"hedge_price": <opportunity.sell.price>,
"net_bps": <atSize.netBps>,
"event_id": "<id>"
}Cornix signal
Cornix के signal layout में सादा टेक्स्ट, उस webhook पते के लिए जो Cornix किसी TradingView bot को देता है। अपना stop खुद सेट करें, और layout को Cornix की मौजूदा guide से जांच लें।
#<opportunity.coin>/USDT Exchanges: <opportunity.buy.venue> Signal Type: Regular (Long) Entry Targets: 1) <opportunity.buy.price> Take-Profit Targets: 1) <opportunity.sell.price> Stop Targets: 1) YOUR_STOP_PRICE
TradingView-style JSON
TradingView अलर्ट जो फ़ील्ड नाम भेजता है, उन tools के लिए जो TradingView अलर्ट पाने के लिए बने हैं।
{
"ticker": "<opportunity.coin>USDT",
"exchange": "<opportunity.buy.venue in capitals>",
"action": "buy",
"price": <opportunity.buy.price>,
"time": "<sentAt>",
"message": "<opportunity.coin> <opportunity.buy.venue> to <opportunity.sell.venue>, net <atSize.netBps> bps at $<atSize.sizeUsd>"
}Flat JSON
हर आंकड़ा top level पर, spreadsheet, n8n या database के लिए।
{
"id": "<id>",
"coin": "<opportunity.coin>",
"size_usd": <atSize.sizeUsd>,
"net_usd": <atSize.netUsd>,
"net_bps": <atSize.netBps>,
"max_size_usd": <opportunity.maxSizeUsd>,
"buy_exchange": "<opportunity.buy.venue>",
"buy_price": <opportunity.buy.price>,
"buy_url": "<opportunity.buy.url>",
"sell_exchange": "<opportunity.sell.venue>",
"sell_price": <opportunity.sell.price>,
"sell_url": "<opportunity.sell.url>"
}दूसरे चैनल
नीचे का हर चैनल अलर्ट पेज पर सेट होता है, उसमें Send test बटन है, और उसमें बाकी हर चैनल जैसा ही अलर्ट टेक्स्ट आता है, अकाउंट की भाषा में। नियम, repeat limits, quiet hours, rate limit और auto-pause सब पर एक जैसे काम करते हैं।
- Slack (Starter Quant और ऊपर): Slack में किसी चैनल पर Incoming Webhooks ऐप जोड़ें और उससे मिला
hooks.slack.comURL पेस्ट करें। - ntfy (Starter Quant और ऊपर): फ़ोन और डेस्कटॉप पर मुफ़्त सूचनाएं।
https://ntfy.sh/your-topicजैसा topic URL पेस्ट करें, या अपने server वाला, और ntfy ऐप में उसी topic को subscribe करें। Public topic का नाम जानने वाला कोई भी उसे पढ़ सकता है, इसलिए लंबा random नाम चुनें, या protected topic के लिए access token जोड़ें। हर अलर्ट में दोनों एक्सचेंज के बटन होते हैं। - ईमेल digest (Starter Quant और ऊपर): आपके अकाउंट के पते पर एक मेल जिसमें पिछली बार के बाद के सारे अलर्ट हों, हर घंटे की शुरुआत में या हर दिन 08:00 UTC पर। कुछ नया न हो तो कुछ नहीं भेजा जाता।
WhatsApp पर किसी सर्विस के लिए आपको मैसेज भेजने का कोई मुफ़्त तरीका नहीं है, इसलिए यह नहीं दिया जाता। बाकी किसी भी चीज़ के लिए, custom webhook https पर सादा JSON है।
Slack पर पोस्ट करें
एक Cloudflare Worker, जिसके लिए कोई server नहीं चलाना पड़ता। ARBITRAGEX_SECRET और SLACK_WEBHOOK_URL को secrets के रूप में सेट करें, फिर Worker का URL अपने destination के रूप में इस्तेमाल करें। यही कोड Web Crypto वाली किसी भी जगह चलता है।
async function verify(rawBody, headers, secret) {
const ts = headers.get("x-arbitragex-timestamp");
if (!(Math.abs(Date.now() / 1000 - Number(ts)) <= 300)) return false;
const encoder = new TextEncoder();
const key = await crypto.subtle.importKey(
"raw", encoder.encode(secret), { name: "HMAC", hash: "SHA-256" }, false, ["verify"],
);
const given = (headers.get("x-arbitragex-signature") ?? "").replace("sha256=", "");
if (!/^[0-9a-f]{64}$/.test(given)) return false;
const bytes = Uint8Array.from(given.match(/../g), (pair) => parseInt(pair, 16));
return crypto.subtle.verify("HMAC", key, bytes, encoder.encode(`${ts}.${rawBody}`));
}
export default {
async fetch(request, env) {
const rawBody = await request.text();
if (!(await verify(rawBody, request.headers, env.ARBITRAGEX_SECRET))) {
return new Response("bad signature", { status: 401 });
}
const event = JSON.parse(rawBody);
if (event.type === "opportunity.alert" || event.type === "listing.alert") {
const { coin, buy, sell } = event.opportunity;
// The net at your size and taker fee, as the alert and the app state it.
const { sizeUsd, netBps } = event.atSize;
const net = netBps === null ? "not filled" : `${netBps.toFixed(1)} bps`;
await fetch(env.SLACK_WEBHOOK_URL, {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({
text: `${coin}: ${buy.venue} to ${sell.venue}, net ${net} at $${sizeUsd}`,
}),
});
}
return new Response(null, { status: 204 });
},
};एक spreadsheet रखें
हर अलर्ट पर एक CSV में एक लाइन जोड़ता है जिसे आप किसी भी spreadsheet में खोल सकते हैं, सिर्फ़ Python की standard library से। इसे https के पीछे रखें: हम सिर्फ़ public https पतों पर भेजते हैं।
import csv
import json
from http.server import BaseHTTPRequestHandler, HTTPServer
import hashlib
import hmac
import time
def verify(raw_body: bytes, headers: dict, secret: str) -> bool:
ts = headers.get("x-arbitragex-timestamp", "")
try:
if abs(time.time() - int(ts)) > 300:
return False
except ValueError:
return False
signed = ts.encode() + b"." + raw_body
expected = "sha256=" + hmac.new(secret.encode(), signed, hashlib.sha256).hexdigest()
return hmac.compare_digest(expected.encode(), headers.get("x-arbitragex-signature", "").encode())
SECRET = "your signing secret"
seen = set()
class Receiver(BaseHTTPRequestHandler):
def do_POST(self):
raw_body = self.rfile.read(int(self.headers["Content-Length"]))
headers = {key.lower(): value for key, value in self.headers.items()}
if not verify(raw_body, headers, SECRET):
self.send_response(401)
self.end_headers()
return
self.send_response(204)
self.end_headers()
event = json.loads(raw_body)
if event["test"] or event["id"] in seen or "opportunity" not in event:
return
seen.add(event["id"])
row = event["opportunity"]
# The net at your size and taker fee, as the alert states it.
at = event.get("atSize") or {}
with open("alerts.csv", "a", newline="") as file:
csv.writer(file).writerow(
[event["sentAt"], event["type"], row["coin"], row["buy"]["venue"], row["sell"]["venue"], at.get("sizeUsd"), at.get("netUsd"), at.get("netBps")]
)
if __name__ == "__main__":
HTTPServer(("127.0.0.1", 8000), Receiver).serve_forever()अपनी script चलाएं
बिना dependencies वाला एक receiver, जो तुरंत जवाब देता है और हर अलर्ट आपके एक function को सौंप देता है। वह function क्या करता है, यह लिखना और उसकी ज़िम्मेदारी लेना आपका काम है। अलर्ट मार्केट डेटा से बने अनुमान हैं, और आप जो भी शुरू करें उसके पहुंचने से पहले अवसर बंद हो सकता है।
import { createServer } from "node:http";
import { createHmac, timingSafeEqual } from "node:crypto";
function verify(rawBody, headers, secret) {
const ts = headers["x-arbitragex-timestamp"];
if (!(Math.abs(Date.now() / 1000 - Number(ts)) <= 300)) return false;
const expected =
"sha256=" + createHmac("sha256", secret).update(`${ts}.${rawBody}`).digest("hex");
const given = Buffer.from(String(headers["x-arbitragex-signature"]));
const wanted = Buffer.from(expected);
return given.length === wanted.length && timingSafeEqual(given, wanted);
}
const seen = new Set();
function onAlert(event) {
// Your code goes here. You decide what happens next, and we never see it.
// atSize is the net at your size and taker fee, as the alert states it.
console.log(event.type, event.opportunity.coin, event.atSize?.sizeUsd, event.atSize?.netBps);
}
export const server = createServer((req, res) => {
const parts = [];
req.on("data", (part) => parts.push(part));
req.on("end", () => {
const rawBody = Buffer.concat(parts).toString("utf8");
if (!verify(rawBody, req.headers, process.env.ARBITRAGEX_SECRET)) {
return res.writeHead(401).end();
}
const event = JSON.parse(rawBody);
// Answer first: anything slower than 8 seconds counts as a failed delivery.
res.writeHead(204).end();
if (event.test || seen.has(event.id)) return;
seen.add(event.id);
if (event.type === "opportunity.alert" || event.type === "listing.alert") onAlert(event);
});
});Zapier और Make
Custom webhook एक सादा JSON POST है, इसलिए दोनों में से किसी का catch webhook URL destination के रूप में काम करता है। type और test पर एक filter step जोड़ें, फिर opportunity.coin और opportunity.netBps जैसे फ़ील्ड map करें। ये steps आपके लिए हमारा signature नहीं जांचते, इसलिए catch URL को पासवर्ड की तरह रखें और वहां ऐसा कुछ शुरू न करें जो आप किसी अजनबी को शुरू करने न दें।
Telegram
अगर आप सिर्फ़ फ़ोन पर अलर्ट चाहते हैं, तो यह सब छोड़ दें। अलर्ट पेज पर Connect Telegram दबाएं और फिर खुलने वाली चैट में Start दबाएं। अलर्ट docs देखें।