For bot builders
Developer API
Get instant alerts sent to your bot when new tokens launch, pools lock, whales trade (10+ SOL) or devs sell. Every alert is signed so your bot can trust it, using the X-Signature-HMAC-SHA256 header.
1. Your keys
Keep these private. Your bot uses them to check alerts really came from us.
Each alert includes a signature made with this secret, in the X-Signature-HMAC-SHA256 header. Check it with the code below.
Check the signature (Node.js)
import crypto from "crypto";
export function verifyChainRelayWebhook(rawBody: string, signatureHeader: string, secret: string) {
const expected = "sha256=" + crypto.createHmac("sha256", secret).update(rawBody, "utf8").digest("hex");
return crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(signatureHeader));
}3. Send a test alert
We send a sample alert to your URL so you can check your bot
Send a test alert
Pick an alert type above and click Send test to see exactly what your bot receives and how it replied.