# Health Groups {% hint style="info" %} **Note**: a health group is a perp and spot product whose health is calculated together (e.g. BTC and BTC-PERP). {% endhint %} ## Rate limits * 1200 requests/min or 20 requests/sec per IP address. (**weight = 2**) {% hint style="info" %} See more details in [API Rate limits](https://docs.nado.xyz/developer-resources/api/rate-limits) {% endhint %} ## Request {% tabs %} {% tab title="Websocket" %} **Connect** `WEBSOCKET [GATEWAY_WEBSOCKET_ENDPOINT]` **Message** ```json { "type": "health_groups" } ``` {% endtab %} {% tab title="REST (GET)" %} **GET** `[GATEWAY_REST_ENDPOINT]/query?type=health_groups` {% endtab %} {% tab title="REST (POST)" %} `POST [GATEWAY_REST_ENDPOINT]/query` **Message** ```json { "type": "health_groups" } ``` {% endtab %} {% endtabs %} ## Response ```json { "status": "success", "data": { "health_groups": [ [ 1, 2 ] ] }, "request_type": "query_health_groups" } ``` {% hint style="info" %} * `health_groups`: list of all available health groups. **Note**: `health_groups[i]` is the spot / perp product pair of health group `i` where `health_groups[i][0]` is the spot `product_id` and `health_groups[i][1]` is the perp `product_id`. Additionally, it is possible for a health group to only have either a spot or perp product, in which case, the product that doesn’t exist is set to `0`. {% endhint %}