curl.
Integrating Zero with an AI agent? Follow the MCP quickstart to connect Codex, Claude Code, or another MCP client.
1
Provision an API key
Sign in with Google to the Zero dashboard, open Developers, and select Create API key. Give the key a name that identifies its application or environment.Copy the secret when it is shown. Zero displays it once and stores only a secure hash.Keep the key in your secret manager for deployed applications. Do not commit it to source control or include it in URLs.
2
Search vulnerability intelligence
Send a
POST request to /search. This example searches vulnerability records for Log4j and returns at most five results.3
Read the result
Search responses place matching records in Use
data and paging information in _meta. The response below is shortened to show the fields you need for the next request.id when an entity has a recognized public identifier such as a CVE, CWE, or CAPEC ID. Use entity_id when you need a durable internal reference.4
Retrieve the vulnerability
Use the public CVE ID to retrieve the normalized vulnerability. The A detail response returns the matching record in
include parameters add its overview and risk projections to the response.data. Follow its provenance when you need to verify a normalized value against the records supplied by upstream sources.Continue building
Vulnerabilities
Understand the vulnerability schema and its related concepts.
Query builder
Filter fields and compose nested AND, OR, and NOT conditions.
Pagination
Continue a search with the cursor returned in
_meta.next.Authentication
Store, send, rotate, and revoke API credentials safely.