For the complete documentation index, see llms.txt. This page is also available as Markdown.

Webhooks

Register a URL to receive signal events via HTTP POST. The server pushes events to your endpoint as they happen.


Register a Webhook

POST /api/bv7x/webhooks/register
Authorization: Bearer <token>
Content-Type: application/json

Authentication: Basic tier (500M+ $BV7X)

Request

{
  "url": "https://your-server.com/bv7x-webhook",
  "events": ["signal.new", "signal.resolved", "wager.placed"],
  "secret": "your-webhook-secret"
}
Field
Type
Required
Description

url

string

Yes

HTTPS endpoint that will receive POST requests

events

array

Yes

Event types to subscribe to

secret

string

Yes

Shared secret for HMAC signature verification

Response


Available Events

Event
Description

signal.new

New daily signal computed

signal.resolved

A prediction outcome resolved

wager.placed

Polymarket wager executed

wager.settled

Polymarket wager settled

attestation.created

On-chain attestation written

regime.changed

Market regime changed


Delivery Format

When an event fires, the server sends a POST request to your registered URL:


Signature Verification

Every delivery includes an X-BV7X-Signature header containing an HMAC-SHA256 signature of the request body, computed with your webhook secret.

Always verify the signature before processing the payload.

Node.js

Python


Retry Policy

  • Failed deliveries (non-2xx response) are retried up to 3 times with exponential backoff

  • After 3 failures, the webhook is marked inactive

  • Your endpoint should respond within 10 seconds


Managing Webhooks


Next

Last updated