selfhost.directory

The index of self-hostable projects — ranked, categorized and served with live updates.
Own your data and stop giving it to big tech.

GitHub
UniFi-API-Browser logo

Self-host UniFi-API-Browser

v3.1.0

Web-based browser for Ubiquiti UniFi Controller API data

ReleaseOpen SourceMIT
Updated3 weeks ago
LanguagePHP
Setup difficultyModerate
Stars
1 268
Port
8001 (HTTP interface when hosting the tool in a Docker container)
Install with Docker
Login form shown when user authentication is enabledController selection dropdown menuSite selection dropdown menuCollections dropdown for choosing which data set to fetchSite settings collection rendered as JSONSite settings collection in the interactive PHP output formatAbout modal with PHP, cURL and controller version detailsCustom sub-menu added to the Collections dropdown

What is UniFi-API-Browser?

UniFi API browser is a PHP, JavaScript and Bootstrap web application for browsing the data collections a UniFi controller exposes through its API, aimed at network admins troubleshooting a site and at developers building against that API. It handles several controllers at once, covering both the legacy username/password style API and the newer key-based access, with dropdowns for switching controller and site. Results can be rendered as JSON, highlighted JSON, a PHP array, an interactive view, or a highlighted PHP array, copied to the clipboard, and each request reports its timing so you can benchmark the controller. Custom entries can be added to the Collections dropdown for legacy controllers, and an About modal reports PHP, cURL and controller versions. You install it by cloning or unzipping it into a web server root that runs PHP 8.1 or newer with php-curl, then copying the config template to config/config.php; an optional users.php adds its own login, which the security notice strongly recommends. A community-maintained Docker image published by @scyto is described in the repository wiki, though the project states it does not support container-based installs, and not every controller endpoint is covered.

UniFi-API-Browser alternatives

Should you self-host UniFi-API-Browser?

UniFi-API-Browser scores 57/100 on selfhost.directory (how scoring works) and ranks #11 of 34 in Network Management. It has 1 268 GitHub stars, +5 in the last 30 days.

It shipped 2 stable releases in the past year. The latest, v3.1.0, came out on 19 October 2026. New versions land roughly every 8 months.

Setup is moderate: expect some configuration beyond a single command. It is MIT-licensed and written mostly in PHP.

Its closest alternative on selfhost.directory is 3x-ui (85/100, 49 626 stars). It scores higher overall, so compare the two before you pick. See UniFi-API-Browser vs 3x-ui side by side.

Features

  • About modal with version info
  • Access restriction via own user accounts
  • API call timing details
  • API data collection browsing
  • Copy results to clipboard
  • Custom Collections menu entriesHidden when an official API controller is selected
  • Debug mode for cURL
  • Dual authentication modes (password and API key)
  • Multiple controllers with type switching
  • Multiple Output Formats
  • Multi-site switching
  • Theme selection

UniFi-API-Browser README

UniFi API browser

This tool allows you to browse data exposed through the UniFi Controller API, developed using PHP, JavaScript, and the Bootstrap CSS framework. It comes bundled with two API clients:

  • The classic PHP API client (UniFi-API-client) for username/password authentication against the classic UniFi Controller API
  • The official UniFi Network Application API client (unifi-network-application-api-client) for API key authentication against the official UniFi Network Application API

How to install UniFi-API-Browser

Install UniFi-API-Browser with Docker

If you want to host Unifi-API-Browser in a docker container you will need choose a base image that includes (or allows you to add):

  • php
  • php-session
  • php-curl
  • php-tokenizer
  • git And you will need to expose port 8001. Consider hosting your edited config.php and users.php files on a bind mount to the host. Alternatively you can use these pre-created container from dockerhub https://hub.docker.com/r/scyto/unifibrowser this docker hub tag support most linux architectures. This is quickest and easiest way to setup a connection to a single controller, single site, all configuration is handled via environment variables.

Community-maintained by @scyto; the project itself notes it doesn't provide support related to Docker-based installs.

How to configure UniFi-API-Browser

  • userUsername for access to the UniFi Controller (classic controllers)
  • passwordPassword for access to the UniFi Controller (classic controllers)
  • urlFull URL to the UniFi Controller or UniFi Network Application
  • nameName for this controller, used in the dropdown menu
  • typeclassicController type: 'classic' (username/password) or 'official' (API key)

    values: classic, official

UniFi-API-Browser releases & version history

@ Every self-hosted release, weekly

One Monday email with the week's stable releases across the directory.

More in Network Management

Rate this project

Click to rate — no account needed.

0 comments

Posting as guest
Loading comments…