zaproxy
ZAP API Client
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has low install friction, carries a permissive Apache-2.0 license, and provides a straightforward Python interface to a mature security testing platform. Install it if you need to automate ZAP scanning in your development or testing workflow.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires a running ZAP instance accessible via the configured proxy address.
- Low friction installation with only two lightweight runtime dependencies (requests and six).
- Active maintenance with a recent release and ongoing repository activity.
License · maintenance · safety
Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions; you may use, modify, and distribute the package freely provided you include the license notice.
last release 2026-06-12 (63 days) · last repo commit 2026-08-01 · 204 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 132,067 downloads/mo, #11,566 on PyPI
Alternatives
Verify before relying
pip install zaproxy
from zaproxy import ZAPv2
zap = ZAPv2(proxies={'http': 'http://localhost', 'https': 'http://localhost'})
results = zap.spider.scan(url='http://example.com')- Whether the package requires a running ZAP instance or if it can operate standalone
- What minimum version of the ZAP application is required for API compatibility
- Whether all ZAP API endpoints are covered or if there are known gaps in the implementation
- Default host and port configuration for connecting to a ZAP instance
What it is and what it does
Zaproxy is a Python wrapper around the OWASP ZAP API, allowing developers to programmatically control ZAP's security scanning capabilities from Python code. It provides access to ZAP's spider, scanner, and other security testing modules through a straightforward client interface. The package depends on requests for HTTP communication and six for Python compatibility, and targets Python 3.9 and later.
Typically used in automated security testing workflows and custom security tooling where you want to integrate ZAP's vulnerability detection into your development process. The library translates Python method calls into ZAP API requests, making it easier to script complex security testing scenarios without manually constructing HTTP calls.
Use it for
- Integrate automated web application security scanning into CI/CD pipelines to catch vulnerabilities before deployment.
- Build custom security testing workflows that combine ZAP scanning with application-specific logic or reporting.
- Automate penetration testing of multiple endpoints or applications by scripting ZAP operations programmatically.
- Generate security scan reports and metrics by querying ZAP results through the API client.
- Orchestrate complex security testing scenarios that require coordinating multiple ZAP modules in sequence.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has low install friction, carries a permissive Apache-2.0 license, and provides a straightforward Python interface to a mature security testing platform. Install it if you need to automate ZAP scanning in your development or testing workflow.
Install
zaproxy on PyPI
Before you install
Low friction installation with only two lightweight runtime dependencies (requests and six). Active maintenance with a recent release and ongoing repository activity.
Requires a running ZAP instance accessible via the configured proxy address.
License in practice
Apache-2.0 permissive license allows commercial and private use with minimal restrictions; you may use, modify, and distribute the package freely provided you include the license notice.
Quickstart
pip install zaproxy
from zaproxy import ZAPv2
zap = ZAPv2(proxies={'http': 'http://localhost', 'https': 'http://localhost'})
results = zap.spider.scan(url='http://example.com')
Verify before relying
- Whether the package requires a running ZAP instance or if it can operate standalone
- What minimum version of the ZAP application is required for API compatibility
- Whether all ZAP API endpoints are covered or if there are known gaps in the implementation
- Default host and port configuration for connecting to a ZAP instance
Package facts
| License | Apache-2.0 permissive |
| Python support | Supports the current Python release <4.0,>=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesrequestssix |
| Maintenance | Actively maintained 63 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 132,067 / month, #11,566 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersIntended Audience :: Information TechnologyLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9Topic :: SecurityTopic :: Software Development :: Libraries :: Python Modules |
Evidence: zaproxy-0.6.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “zap api client”
- zaproxyPython client library for the OWASP ZAP security scanner API,…
- python-owasp-zap-v2.4This package is a deprecated alias that redirects users to zaproxy,…
- codewords-clientA Python client library for the Codewords API with built-in FastAPI…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also python-owasp-zap-v2.4 · cisco-ai-mcp-scanner · libsast · uv-secure · bbot · python-gvm · python-nmap · pysentry-rs · pyre-check · virustotal3