Simple, effective spam protection using blockchain micro-payments
Set up webhook, email, or SMS endpoints with custom bond amounts
Senders pay a tiny USDC bond (e.g., $0.005) to send messages
Flag spam to slash the bond, or let it refund automatically
Integrate with just a few lines of code using our x402 protocol
curl -X POST https://relay.app/api/relay/send \
  -H "content-type: application/json" \
  -d '{"destinationId":"<ID>","body":{"msg":"hello"}}' -i
# -> Receives 402 with X-402-* headers
# Pay the bond, then retry:
curl -X POST https://relay.app/api/relay/send \
  -H "content-type: application/json" \
  -H "X-402-Receipt: 0x<txHash>" \
  -H "X-402-Nonce: <nonce-from-402>" \
  -d '{"destinationId":"<ID>","body":{"msg":"hello"}}'Support for webhooks, email, and SMS with unified spam protection
HTTP POST to any URL with HMAC signature verification
Send formatted emails with message content and metadata
SMS notifications via Twilio or stub provider for testing
Traditional spam protection methods are either too restrictive or easily bypassed
Spammers pay real money for each message, making abuse economically unviable
Legitimate senders get their money back if not flagged as spam
Seamless user experience without annoying verification challenges
Set custom time windows for spam flagging (1-168 hours)
Immutable payment records and automated contract execution
Simple HTTP API with x402 payment protocol support