curl "http://127.0.0.1:22999/api/banlist/{PORT}?full=true"
{
    "ips": [
        "10.20.30.40",
        "50.60.70.80|example.com"
    ]
}

API endpoint: GET /api/banlist/{PORT}

full
boolean

full=true parameter is optional and can be used to provide additional details about each entry in the ban-list