Skip to main content
Technical

Webhook

A webhook is a way for an API to push data to your server when specific events occur. Instead of polling for updates, you receive them automatically.

Understanding the Concept

Webhooks flip the request model. Instead of you asking "did anything change?" repeatedly, the API tells you "something changed" the moment it happens.

For trading, webhooks are powerful for alerts. Price crosses a threshold? Webhook. New listing detected? Webhook. Large transfer spotted? Webhook. You set the conditions once, then your server receives notifications automatically.

The catch: your server needs to be publicly accessible and ready to receive requests. You also need to verify webhook signatures to ensure the requests actually came from the API, not an attacker.

Real-World Example

You configure a webhook: "Notify me when Bitcoin moves 5% in an hour." PRISM monitors prices continuously. When BTC hits your threshold, we POST to your endpoint with the alert details. Your system triggers trades or notifications automatically.

How PRISM Handles This

PRISM webhooks support price alerts, volume spikes, and new listing notifications. Configure conditions in your dashboard, provide your endpoint URL, and we'll push events in real-time. All webhooks are signed for security verification.

View API Docs