How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

OWASP ZAP Stats API

The stats API from OWASP ZAP — 13 operation(s) for stats.

OWASP ZAP Stats API is one of 49 APIs that OWASP ZAP publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Stats. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and a GitHub repository.

This API exposes 13 operations across 13 paths, and defines 1 schema. It is described by OpenAPI 3.2.0, at version 2.16.1.

Requests are made against 2 base URLs: http://zap, http://{address}:{port}.

13 operations 13 paths 1 schemas 13 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2.16.1
Base URL
http://zap
Authentication
API Key, API Key
License
Resource Areas
1

Authentication & Security 2

OWASP ZAP Stats API declares 2 security schemes for authenticating requests. An API key is passed in the header as X-ZAP-API-Key (apiKeyHeader). An API key is passed in the query as apikey (apiKeyQuery). By default, every request must be authenticated, though some operations may also be called without credentials.

Paths & Operations 13

Across 13 paths, the API surfaces 13 operations — 13 GET. Each is listed below with its method, path, parameters, and response codes.

Stats 13
GET
/JSON/stats/action/clearStats/
Stats action clear stats
statsActionClearStats 1 param → default
GET
/JSON/stats/action/setOptionInMemoryEnabled/
Stats action set option in memory enabled
statsActionSetOptionInMemoryEnabled 1 param → default
GET
/JSON/stats/action/setOptionStatsdHost/
Stats action set option statsd host
statsActionSetOptionStatsdHost 1 param → default
GET
/JSON/stats/action/setOptionStatsdPort/
Stats action set option statsd port
statsActionSetOptionStatsdPort 1 param → default
GET
/JSON/stats/action/setOptionStatsdPrefix/
Stats action set option statsd prefix
statsActionSetOptionStatsdPrefix 1 param → default
GET
/JSON/stats/view/allSitesStats/
Stats view all sites stats
statsViewAllSitesStats 1 param → default
GET
/JSON/stats/view/optionInMemoryEnabled/
Stats view option in memory enabled
statsViewOptionInMemoryEnabled → default
GET
/JSON/stats/view/optionStatsdEnabled/
Stats view option statsd enabled
statsViewOptionStatsdEnabled → default
GET
/JSON/stats/view/optionStatsdHost/
Stats view option statsd host
statsViewOptionStatsdHost → default
GET
/JSON/stats/view/optionStatsdPort/
Stats view option statsd port
statsViewOptionStatsdPort → default
GET
/JSON/stats/view/optionStatsdPrefix/
Stats view option statsd prefix
statsViewOptionStatsdPrefix → default
GET
/JSON/stats/view/siteStats/
Stats view site stats
statsViewSiteStats 2 params → default
GET
/JSON/stats/view/stats/
Stats view stats
statsViewStats 1 param → default

Schemas 1

The contract defines 1 schema that model the data the API accepts and returns. The most detailed is ErrorJson (3 properties). Each schema is shown below with its type and property counts.

ErrorJson
object
3 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

owasp-zap-stats-api-openapi.yml Raw ↑

Other APIs OWASP ZAP publishes across the network.

OWASP ZAP Acsrf API
OWASP ZAP Ajax Spider API
OWASP ZAP Alert API
OWASP ZAP Alert Filter API
OWASP ZAP Ascan API
OWASP ZAP Authentication API
OWASP ZAP Authorization API
OWASP ZAP Automation API
OWASP ZAP Autoupdate API
OWASP ZAP Break API
OWASP ZAP Client API
OWASP ZAP Client Spider API
Where this information came from

This is an independent, third-party profile of OWASP ZAP Stats API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.