OPNsense

OPNsense is an open source FreeBSD-based firewall and routing platform providing stateful packet filtering, VPN (IPsec, OpenVPN, WireGuard), intrusion detection (Suricata), traffic shaping, captive portal, and high availability for home, enterprise, and managed service provider deployments. The platform features a web UI, plugin ecosystem, and a comprehensive Business Edition. OPNsense exposes a REST API for managing every core module and plugin, using HTTP basic authentication with an API key and secret.

OPNsense publishes 1 API contract, indexed on the APIs.io network as 4 APIs, including Core API, Diagnostics API, Firewall API, and 1 more. Tagged areas include Firewall, Networking, Security, VPN, and Routing.

The OPNsense catalog on APIs.io includes 1 Spectral governance ruleset.

OPNsense’s developer surface includes engineering blog, authentication, documentation, and 9 more developer resources.

Pull OPNsense's APIs, OpenAPI, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
26.3/100 thin ▬ flat Agent 27/100 agent aware Front door AI 1/6 silent Heartbeat 100/100 alive Full breakdown ↓
scored 2026-11-28 · rubric v0.30.0 · Show this score on your site →
OPNsense website screenshot
1 published contract
FirewallNetworkingSecurityVPNRoutingOpen Source

What this lets a business do 2

Business capabilities this provider's published APIs can perform, derived from its own contracts. Browse all capabilities →

Information Technology Management
BC-600
Core
POST /core/service/search GET /core/firmware/status GET /core/system/status
Cybersecurity Management
BC-620
Firewall
GET /firewall/alias/get POST /firewall/alias/reconfigure

What people ask OPNsense 3

The questions people put to an LLM, and the jobs they hand an agent, that OPNsense's APIs answer — each one linked to the operation that does it. Generated by API Evangelist

OPNsense Core API Search OPNsense services “Which services are running on my firewall?” Check the firmware status “Is my firewall firmware up to date?” Get overall system status “What is the overall system status of the firewall?”
OPNsense Firewall API List firewall aliases “What aliases are configured on my firewall?” Apply firewall alias changes “How do I reload the firewall aliases after I edit them?”
OPNsense Diagnostics API List network interface names “Which network interfaces are available on my firewall?”

Kin Score

Kin Score Kin Score How this is scored →
scored 2026-11-28 · rubric v0.30.0
Regulatory Posture applies to this provider. Its tags matched the Horizontal (data, software, accessibility, platform) regime, so Regulatory Posture carries 15 points of the composite. If this regime is wrong for your business, say so on your provider repo — the applicability map is public and we will correct it.
Create-or-Update Ergonomics applies to this provider. This API accepts writes, so it carries 10 points of the composite. It is scored from the published contracts themselves: whether a caller can create-or-update in one call, whether the write accepts a key the caller already holds, and whether the response says which branch ran. Without that, every write needs a search-and-branch in front of it, and the first time that check is skipped a duplicate record is created. Scored against the observed mean rather than raw — a provider at the catalog average is unchanged by this facet, not penalised by it.
The six quality facets above are damped to 75 points between them, because the conditional facet above carries the other 25. That is why each facet's contribution is shown against a damped maximum: raising a quality facet moves the composite by 75% of its nominal weight, not 100%. The full arithmetic is at apis.io/rating/.
Show this score on your site. Kin Score badge preview for OPNsense It updates itself when the score changes. Paste this where you link to your API docs:
<a href="https://apis.io/providers/opnsense/"><img src="https://apis.io/badge/opnsense/card.svg" alt="OPNsense on APIs.io — Kin Score by API Evangelist"></a>
Other styles, a README pill and a shields.io endpoint are on the badge page.
Raise your score.
Agent readiness — checks not met, largest first (exact, from this profile):
  • MCP Server +12 pts — deployment.mode + probe verdict on the mcp/ manifest, not the pointer; an unprobed slug falls back to authorship Ask about this →
  • Idempotency +9 pts — OpenAPI mutating operations declare an idempotency key — a header, a request-body property, or a named de-duplication token whose own description says so (verified); else common[].type matches /idempoten/i (documented) Ask about this →
  • A2A Agent Card +8 pts — a2a/-a2a.yml manifest, graded on conformance.grade against A2A 1.0.0 Ask about this →
  • Rate-Limit Signaling +7 pts — OpenAPI responses document X-RateLimit-* / RateLimit headers (verified), else a rate_limits artifact or RateLimits link (documented) Ask about this →
  • Registration Without a Human +6 pts — a `registration_endpoint` in the served RFC 8414 / OIDC discovery document Ask about this →
  • Typed Event Surface +6 pts — verified: an AsyncAPI document, OR webhooks/callbacks objects in the as-published OpenAPI; documented (0.29.0, roadmap#1167): only a Webhooks docs link Ask about this →
9 more unmet checks in the Agent Readiness table above.
Kin Score — facets with the most composite points still available (weight × headroom):
Each check links to what satisfies it. Publish the artifact, or tell us where it already lives, and the score moves on the next scoring run.
Not sure how this applies to your stack? Ask about any one item. Kin Lane reads every question, looks at your profile and your situation, and replies with what a fix would take — scoped to that one area, priced up front, yours whether you ship it or not. Ask a question →
Ask about:
Opnsense · a person reads this and replies by email.
or email info@apis.io
Improve this rating by publishing the missing artifacts — every area above can be raised, and the full rubric is at apis.io/rating/. Every facet and dimension name above is a link: it opens that measurement's own page — what it means, the exact checks that feed it, how the whole catalog distributes on it, and the providers at the top of it. This rating is computed from the provider profile at artifacts.apis.io/opnsense/apis.yml: open an issue on github.com/api-evangelist/opnsense to ask a question or point us at an artifact you publish. Submit an artifact on GitHub — free → Manage your own listing — the Influence plan, $499/mo →

Used by apps

2 of the reference apps in Applications, across 1 category, integrate with this provider, read from each app's own code, build or integrations page.

Standards implemented 2

Standards this provider implements or carries. De facto ones are profiled and measured by the API Commons; formal ones come from the standards directory and are linked by the provider's own tags. The evidence column says how each claim was established — not that it was made.

VPN
tagged — the provider's own APIs.json carries the standard as a tag; implementation not verified
measured — observed by APIs.io (published)

APIs 4

Individual APIs this provider publishes, each with its own machine-readable definition.

OPNsense Core REST API

REST API covering all core OPNsense modules including firewall, NAT, interfaces, VPN (IPsec, OpenVPN, WireGuard), routing, DHCP, DNS, users, and system administration. Authentic...

OPNsense Core API

Core OPNsense service controllers.

OPNsense Diagnostics API

Interface and system diagnostics.

OPNsense Firewall API

Firewall filter and aliases.

Open Collections 4

Open, tool-agnostic API collections (OpenAPI-derived and Bruno).

OPNsense REST Core API

OPEN COLLECTION

OPNsense Core REST API

OPEN COLLECTION

Spectral Rules 1

Spectral governance rulesets for linting and validating these APIs. Counts are the severity each rule declares, not results of running them.

OPNsense API Rules

58 rules · 56 error-severity 1 warn-severity 1 info-severity

SPECTRAL

OpenAPI Overlays 3

Overlays applied on top of this provider's contracts. Each card says who wrote it: a document the provider publishes, or one API Evangelist derived or generated.

OPNsense Core Api Phrasing Overlay

4 actions · phrasing · opnsense-core-api-openapi.yml

GENERATED

OPNsense Diagnostics Api Phrasing Overlay

2 actions · phrasing · opnsense-diagnostics-api-openapi.yml

GENERATED

OPNsense Firewall Api Phrasing Overlay

3 actions · phrasing · opnsense-firewall-api-openapi.yml

GENERATED

Security Posture 2

Authentication, domain security, vulnerability disclosure, and trust-center signals.

OPNsense Authentication

http · 1 scheme

SECURITY

OPNsense Domain Security

TLSv1.3 · HSTS · DNSSEC · DMARC

SECURITY

Agentic Access (API Evangelist recommendations) 1

Recommended x-agentic-access execution contracts for AI agents.

OPNsense Agentic Access

6 operations · 1 acting

6 operations · 1 acting

AGENTIC

Resources

Documentation 1

Reference material describing how the API behaves

Agent Surfaces 1

MCP servers, agent skills, and machine-readable catalogs

Build 1

SDKs, sample code, and the tooling you integrate with

Access & Security 2

Authentication, authorization, and security posture

Operate 1

Status, limits, changes, and where to get help

Company 3

The organization behind the API

Other 3

Properties that don't map to a standard resource type

Source (apis.yml)

apis.yml Raw ↑
aid: opnsense
name: OPNsense
description: OPNsense is an open source FreeBSD-based firewall and routing platform providing stateful packet filtering, VPN
  (IPsec, OpenVPN, WireGuard), intrusion detection (Suricata), traffic shaping, captive portal, and high availability for
  home, enterprise, and managed service provider deployments. The platform features a web UI, plugin ecosystem, and a comprehensive
  Business Edition. OPNsense exposes a REST API for managing every core module and plugin, using HTTP basic authentication
  with an API key and secret.
type: Index
deliveryModel:
  model: unknown
  open_source: false
  commercial: false
  callable_host: false
  label: Delivery model not determined — needs a product licence on record
  confidence: low
  source:
  - openapi
  generated: '2026-08-28'
  method: derived
accessModel:
  pricing: unknown
  onboarding: unknown
  trial: false
  try_now: false
  public: false
  label: Unknown
  confidence: low
  source:
  - authentication
  - security
  generated: '2026-11-28'
  method: derived
image: https://kinlane-images.s3.amazonaws.com/shared/apis-json/icons/opnsense.png
x-docs-platform: sphinx
x-docs-platform-confidence: medium
x-docs-platform-checked: 2026-10-04
tags:
- Firewall
- Networking
- Security
- VPN
- Routing
- Open Source
tags_raw:
- Firewall
- Networking
- Security
- VPN
- Routing
- Open Source
- Open-Source
url: https://raw.githubusercontent.com/api-evangelist/opnsense/refs/heads/main/apis.yml
created: '2026-05-11'
modified: '2026-10-06'
specificationVersion: '0.23'
apis:
- aid: opnsense:core-api
  name: OPNsense Core REST API
  description: REST API covering all core OPNsense modules including firewall, NAT, interfaces, VPN (IPsec, OpenVPN, WireGuard),
    routing, DHCP, DNS, users, and system administration. Authentication uses HTTP basic auth with an API key as username
    and API secret as password.
  humanURL: https://docs.opnsense.org/development/api.html
  baseURL: https://opnsense.local/api
  tags:
  - Firewall
  - Networking
  - VPN
  - System Administration
  properties:
  - type: Documentation
    url: https://docs.opnsense.org/development/api.html
  - type: Core API Reference
    url: https://docs.opnsense.org/development/api.html#core-api
  - type: Plugins API Reference
    url: https://docs.opnsense.org/development/api.html#plugins
  - type: Authentication
    url: https://docs.opnsense.org/development/how-tos/api.html
- aid: opnsense:opnsense-core-api
  name: OPNsense Core API
  description: Core OPNsense service controllers.
  humanURL: https://docs.opnsense.org/development/api.html
  baseURL: https://opnsense.local/api
  tags:
  - Core
  properties:
  - type: OpenAPI
    url: openapi/opnsense-core-api-openapi.yml
- aid: opnsense:opnsense-diagnostics-api
  name: OPNsense Diagnostics API
  description: Interface and system diagnostics.
  humanURL: https://docs.opnsense.org/development/api.html
  baseURL: https://opnsense.local/api
  tags:
  - Diagnostics
  properties:
  - type: OpenAPI
    url: openapi/opnsense-diagnostics-api-openapi.yml
- aid: opnsense:opnsense-firewall-api
  name: OPNsense Firewall API
  description: Firewall filter and aliases.
  humanURL: https://docs.opnsense.org/development/api.html
  baseURL: https://opnsense.local/api
  tags:
  - Firewall
  properties:
  - type: OpenAPI
    url: openapi/opnsense-firewall-api-openapi.yml
common:
- url: https://opnsense.org/blog/
  type: Blog
- type: CapabilityMap
  url: capabilities/opnsense-capability-edges.yml
  name: OPNsense Business Capability Map
- type: AgenticAccess
  url: agentic-access/opnsense-agentic-access.yml
- type: DomainSecurity
  url: security/opnsense-domain-security.yml
- type: Authentication
  url: authentication/opnsense-authentication.yml
- type: LinkedIn
  url: https://www.linkedin.com/showcase/opnsense
- type: Website
  url: https://opnsense.org
- type: Documentation
  url: https://docs.opnsense.org
- type: Download
  url: https://opnsense.org/download/
- type: Forums
  url: https://forum.opnsense.org
- type: GitHubOrganization
  url: https://github.com/opnsense
- type: Business Edition
  url: https://shop.opnsense.com
maintainers:
- FN: Kin Lane
  email: kin@apievangelist.com

OPNsense API — frequently asked questions

Does OPNsense have an API?

Yes. APIs.io lists 4 APIs from OPNsense, including OPNsense Core REST API, OPNsense Core API and OPNsense Diagnostics API, and 1 more.

Is there an OpenAPI specification for the OPNsense API?

Yes. APIs.io indexes 3 OpenAPI specifications for OPNsense, each linked for download from this page.

How do I authenticate with the OPNsense API?

OPNsense uses bearer-token authentication (http · 1 scheme). The details are profiled on APIs.io as OPNsense Authentication.

Is the OPNsense API ready for AI agents?

OPNsense has a Kin Score of 26.3 out of 100 (thin) and an Agent Readiness score of 26.6 (agent-aware), scored by API Evangelist on 2026-11-28.

Work with this as data

Every provider here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for providers

9 MCP tools reach this
  • find_providersBrowse and filter every provider in the catalog.
  • get_provider_artifactsEvery artifact this provider publishes, grouped by type.
  • get_provider_operationsEvery operation across all of their OpenAPIs — one call instead of parsing every spec.
  • get_provider_toolsEvery MCP tool they ship, with the operation each wraps.
  • get_provider_evidenceHow each part of their score was established. Free — the basis for a claim should not sit behind it.
  • get_provider_ratingPRO — composite, band, trend and facet scores.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This provider
curl "https://apis.io/api/v1/providers/opnsense"
All providers
curl "https://apis.io/api/v1/providers?limit=25"
Every operation they expose
curl "https://apis.io/api/v1/providers/opnsense/operations?limit=25"
How their score was established
curl "https://apis.io/api/v1/providers/opnsense/evidence"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.