---
title: "Get Wireguard Subnets"
method: GET
path: "/api/wireguard/subnets"
tags: ["System"]
---

# Get Wireguard Subnets

`GET /api/wireguard/subnets`

Per-subnet WireGuard address usage: capacity, used/free counts and the first free IPs.

## Response `200`

Successful Response

- WireGuardSubnetUsage[]
  - `subnet` string, required
  - `interface_tags` string[], required
  - `capacity` integer, required
  - `used` integer, required
  - `free` integer, required
  - `free_ips` string[], required

## Other responses

- `401` — Unauthorized Error

---

[API](https://skmtc.dev/socialser/apis/pasarguardapi.md) · [All operations](https://skmtc.dev/socialser/apis/pasarguardapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/socialser/pasarguardapi/revisions/4b082bbcb6c3/schema)
