Description
The pfSense REST API package is an unofficial, open-source REST and GraphQL API for pfSense CE and pfSense Plus firewalls. It is designed to be light-weight and fast, and it lets you manage the firewall through more than 200 REST endpoints, so scripts and tools can read and change its settings. The package adds an interactive Swagger documentation page to your pfSense instance after installation, under System, REST API, Documentation, and the project's guide also links a simplified version of the Swagger docs. The guide covers installation and configuration, authentication and authorization, query filters and sorting, GraphQL, and how to secure access to the API. It also covers advanced topics for extending the package with custom models, endpoints, validators and authentication. The guide says its content applies to REST API v2 and later, and that the legacy v1 package is documented on a separate branch. Source code, issues and related projects such as an exporter and an Ansible collection are linked from the site.…
Highlights
- REST and GraphQL API for pfSense firewalls
- More than 200 REST endpoints
- Interactive Swagger documentation on the firewall
- Authentication, filters and sorting in the guide
- Works with pfSense CE and pfSense Plus
Ratings & Reviews
No ratings yet
Be the first to rate PfSense-pkg-RESTAPI.
People also visit

vespo92/OPNSenseMCP
Manage and interact with the OPNsense open source firewall in natural language
Cv4pve Admin
Web management platform for Proxmox VE clusters: like vCenter but for Proxmox
OPNsensePIAWireguard
This script automates the process of getting Wireguard setup on OPNsense
PfSense-pkg-RESTAPI FAQ
What is the pfSense REST API package?
An unofficial, open-source package that adds REST and GraphQL access to pfSense firewalls.
Which pfSense versions does it support?
The site says it works with pfSense CE and pfSense Plus.
Where do I find the endpoint documentation?
After installing the package, open System, REST API, Documentation on your pfSense instance. A simplified Swagger version is also on the site.
Does the documentation cover the old version?
No. The guide applies to REST API v2 and later. The legacy v1 package is documented on the legacy branch.
Where is the source code?
The site links to the pfSense-pkg-RESTAPI repository on GitHub, where you can also open issues.
What are the best PfSense-pkg-RESTAPI alternatives?
Popular alternatives to PfSense-pkg-RESTAPI include Hass Pfsense, Hass Opnsense and Cv4pve Admin. See all PfSense-pkg-RESTAPI alternatives






