DOCUMENTATION

Webhooks

Send the Hyperodds alerts you choose to Zapier, Make, n8n, Pipedream or your own server, as signed JSON.

Add a webhook

On the Alerts page, sign in and paste an HTTPS URL on the Webhook card. Hyperodds posts a signed test message to it and keeps the URL only when your endpoint answers with a success status (2xx). Then choose Webhook for any alert. The card shows your signing secret even before you add a URL, so a workflow that checks signatures can have it first.

Alerts only go to public internet addresses over HTTPS, on port 443 or a port from 1024 up. A URL on a private network, at a loopback address or with a local-only name is refused, and redirects are not followed.

Removing the URL deletes its signing secret too, so a URL you add later gets a new one.

SET UP ALERTS

What arrives

Each alert is one POST with a JSON body. This is an edge alert:

{
  "id": "0d2c6c1e-5b0e-4a51-9a1f-2f5c3c8a9b10",
  "type": "alert.edge",
  "created_at": "2026-11-05T10:30:00.000Z",
  "test": false,
  "alert": { "id": "e2daef8f-39e0-41ba-a020-ac2f23944889", "kind": "edge" },
  "market": {
    "outcome": 11844,
    "title": "HYPE touches 95 by Dec 1 00:00 UTC",
    "url": "https://usehyperodds.com/m/11844"
  },
  "title": "Edge +4.2 pts",
  "text": "HYPE touches 95 by Dec 1 00:00 UTC (Outcome): +4.2 pts No · 59.1¢, fair 63.4¢ (options). After all fees, at $100.",
  "note": "Edge after all fees, on a $100 order.",
  "facts": [
    { "label": "Buy", "value": "No at 59.1¢" },
    { "label": "Fair line", "value": "63.4¢ from options" },
    { "label": "Deployer", "value": "Outcome" }
  ],
  "data": {
    "edge_pts": 4.2,
    "side": "No",
    "buy_price": 0.591,
    "fair_price": 0.634,
    "fair_method": "options",
    "deployer": "Outcome",
    "order_usd": 100
  }
}

Every request carries these headers:

Content-Type: application/json
Hyperodds-Event: alert.edge
Hyperodds-Delivery: 0d2c6c1e-5b0e-4a51-9a1f-2f5c3c8a9b10
Hyperodds-Signature: t=1793874600,v1=5257a869e7ec…

The signature covers the body only. The Hyperodds-Event and Hyperodds-Delivery headers repeat its type and id for routing, so trust the values in the body.

A test message has the type test, with test set to true. It is an example edge alert with every field a real one has, so a tool can learn the structure from it. The schema is published as JSON Schema; new fields may be added, and existing ones keep their meaning.

Fields

FieldWhat it holds
idThe delivery id, the same on every retry of one delivery. Also sent as the Hyperodds-Delivery header.
typealert.new_market, alert.edge, alert.settling, alert.rule_change, alert.volume_spike, or test. Also sent as the Hyperodds-Event header.
created_atWhen the alert fired, in UTC.
alertThe rule that fired: its id and kind. On a test message, an example edge alert with a null id.
marketThe market's outcome id, its title and its page on usehyperodds.com. On a test message, an example market that links to the Alerts page.
title, text, noteThe alert as a notification shows it. note is an empty string on an alert without one.
factsThe details as label and value pairs, ready to show.
dataThe numbers and names, for filters and formulas. new_market: deployer, starts_at, settles_at, settles_by, outcomes. edge: edge_pts, side, buy_price, fair_price, fair_method, deployer, order_usd. settling: starts_at, settles_at, settles_by, deployer, mid_price, markets. rule_change: changes. volume_spike: volume_1h_contracts, ratio, deployer. Prices are decimals from 0 to 1, rounded as the text shows them. fair_method is options, realized-vol, blend or consensus, each described in the schema.

Check the signature

The Hyperodds-Signature header holds a timestamp t and a signature v1. The signature is an HMAC-SHA256, a hash keyed with your signing secret, of the timestamp, a full stop and the raw request body. To check it, compute the same HMAC with the secret exactly as the Alerts page shows it and compare the hex result with v1. Refuse the request when they differ, or when t is more than five minutes from now.

If your tool hands you the parsed body, JSON.stringify of it in JavaScript gives back the exact bytes, because Hyperodds sends compact JSON.

To change the secret, choose Rotate on the Alerts page. For the next 24 hours each request carries two v1 signatures, one from the new secret and one from the old, so accept a request when any v1 matches and move your endpoint to the new secret within the day. Both checks below accept either.

import { createHmac, timingSafeEqual } from "node:crypto";

// rawBody: the request body exactly as it arrived, as a string. header: Hyperodds-Signature, if any.
// After a rotation the header carries a v1 for each secret: any one may match.
export function verifyHyperodds(rawBody, header, secret) {
  if (typeof header !== "string") return false;
  const parts = header.split(",").map((p) => p.trim().split("="));
  const t = parts.find(([k]) => k === "t")?.[1] ?? "";
  if (!/^\d+$/.test(t) || Math.abs(Date.now() / 1000 - Number(t)) > 300) return false;
  const expected = Buffer.from(createHmac("sha256", secret).update(`${t}.${rawBody}`).digest("hex"));
  return parts.some(([k, v = ""]) => {
    const given = Buffer.from(v);
    return k === "v1" && given.length === expected.length && timingSafeEqual(given, expected);
  });
}
import hashlib, hmac, time
from typing import Optional

def verify_hyperodds(raw_body: bytes, header: Optional[str], secret: str) -> bool:
    if not isinstance(header, str):
        return False
    parts = [p.strip().split("=", 1) for p in header.split(",")]
    parts = [p for p in parts if len(p) == 2]
    t = next((v for k, v in parts if k == "t"), "")
    if not t.isdigit() or abs(time.time() - int(t)) > 300:
        return False
    expected = hmac.new(secret.encode(), f"{t}.".encode() + raw_body, hashlib.sha256).hexdigest()
    # After a rotation the header carries a v1 for each secret: any one may match.
    return any(k == "v1" and hmac.compare_digest(expected, v) for k, v in parts)

Retries and repeats

Hyperodds waits up to 10 seconds for an answer, and any 2xx counts as delivered. After a timeout, a dropped connection, a 408, 429 or 5xx answer, or Make's 400 for a full queue, it tries again after about 10 seconds, 1 minute and 5 minutes, signing each try afresh with the same delivery id. A Retry-After header can stretch a wait. Keep the delivery ids you have handled and drop a repeat.

Other answers are not retried, a 401 from your own signature check included: fix the secret, then choose Send test. A 410 (Gone) turns the webhook off at once and drops the alerts waiting for a retry, and ten failed alerts in a row turn it off once they span more than a day. The Alerts page lists alerts still being sent and those that didn't arrive, and says why; paste the URL again to turn the webhook back on. Each alert sends at most 30 times an hour, and at most 20 wait for one endpoint at a time.

Guides by tool

OPEN ALERTS

Open a market.
Review the costs.

Compare live prices, settlement rules and the cost of your order.