---
title: "Subscribe to price/balance webhooks"
method: POST
path: "/api/events/subscribe"
tags: ["account"]
---

# Subscribe to price/balance webhooks

`POST /api/events/subscribe`

## Request

- Base URL: `https://api.anygas.xyz/svc`
- URL: `https://api.anygas.xyz/svc/api/events/subscribe`
- Auth: none declared

HMAC-signed callback when a price or an address balance crosses a threshold. Body: {event:'price'|'balance', url, secret?, ...filter}.

## Request body

- object

## Response `200`

OK

---

[API](https://skmtc.dev/anygas/apis/robyn-anygas-api.md) · [All operations](https://skmtc.dev/anygas/apis/robyn-anygas-api/llms.txt) · [OpenAPI document](https://skmtc.dev/anygas/apis/robyn-anygas-api/revisions/9b7498be8304?raw)
