---
title: "Returns ports in use by beast by looking in the hack git repository, also returns min and max value of port allowed while specifying in beast challenge config."
method: GET
path: "/api/info/ports/used"
tags: ["info"]
---

# Returns ports in use by beast by looking in the hack git repository, also returns min and max value of port allowed while specifying in beast challenge config.

`GET /api/info/ports/used`

Returns the ports in use by beast, which cannot be used in creating a new challenge..

## Headers

- `Authorization` string, required

## Response `200`

OK

- ApiPortsInUseResp
  - `port_max_value` integer
  - `port_min_value` integer
  - `ports_in_use` integer[]

---

[API](https://skmtc.net/sdslabs/apis/beast-api.md) · [All operations](https://skmtc.net/sdslabs/apis/beast-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/sdslabs/beast-api/versions/7d8933ea23d5/schema)
